Using CYW20719Q40EVB-01 and CYW20721B1EVK-02 on MacOS

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
vsubbiah
Level 5
Level 5
10 solutions authored 10 sign-ins First comment on KBA

Hello Folks,

I am using CYW20719Q40EVB-01  and CYW20721B1EVK-02. These devices when connected to my MAC running Catalina Version 10.15.3 show up when listed using lusb. But the serial port /dev/tty* is not seen.  It doesn't seem to get recognized as a serial device on Mac. As an effect of this I am not able to program these devices on Mac.

==

Below is some debug info with lsusb.

Outut of lsusb -t

VENKATs-MacBook-Pro: ~ : lsusb -t

2020-11-24 13:45:32.622 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

2020-11-24 13:45:32.622 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

2020-11-24 13:45:32.622 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

2020-11-24 13:45:32.622 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

2020-11-24 13:45:32.625 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

2020-11-24 13:45:32.625 system_profiler[6103:21326] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be

0.Dev 000: Apple T2 Bus,

  Bus 000.Dev 001: 3.0 root hub, 5000M

/:  Bus 000.Dev 001: USB 3.1 Bus,

/:  Bus 001.Dev 001: USB 3.1 Bus,

    |__ Bus 020.Dev 006: WICED USB <-> Serial Converter, 480Mb/s

/:  Bus 128.Dev 000: Apple T2 Controller,

/:  Bus 128.Dev 000: FaceTime HD Camera (Built-in),

/:  Bus 128.Dev 000: Ambient Light Sensor,

/:  Bus 128.Dev 000: Headset,

    |__ Bus 128.Dev 002: Apple Internal Keyboard / Trackpad, 480Mb/s

/:  Bus 128.Dev 000: Touch Bar Display,

/:  Bus 128.Dev 000: Touch Bar Backlight,

    |__ Bus 128.Dev 007: Composite Device, 480Mb/s

Output of lsusb -v shows this.

        WICED USB <-> Serial Converter:

          Product ID: 0x009b

          Vendor ID: 0x04b4  (Cypress Semiconductor)

          Version: 7.00

          Speed: Up to 480 Mb/s

          Manufacturer: Cypress

          Location ID: 0x14300000 / 6

          Current Available (mA): 500

          Current Required (mA): 100

          Extra Operating Current (mA): 0

==

Not using FTDIUSBSerialDriver.kext

I found below in https://www.cypress.com/file/411346/download. I can confirm that I don't have FTDIUSBSerialDriver.kext in the location mentioned below

On OS X versions 10.11 and later, use the Apple version of the FTDI driver. Remove previous instance of the FTDI version

of the driver, if any, using the following commands in an xterm window:

sudo rm -rf /Library/Extensions/FTDIUSBSerialDriver.kext

sudo rm -rf /System/Library/Extensions/FTDIUSBSerialDriver.kext

0 Likes
1 Solution

In a case with Cypress I got this info:

Unfortunately, Apple completely changed how USB/serial converters are supported in Catalina. We were able to work with them to restore functionality for the Cypress devices during the Catalina rollout testing, Apple now supports communication with the boards as of version 10.15.5, so if you upgrade your system, it should work.

I upgraded to 10.15.7 and it is working for me now.

Thanks,
Venkat

View solution in original post

0 Likes
4 Replies
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

You can check if the pins of PUART or HCI UART on the board are correctly connected.

Then check if the driver is correctly installed.

From your debug, I think the reason you don't have FTDIUSBSerialDriver.kext in that location is because you haven't installed any yet. So I think you or the OS itself haven't (automatically) configured a correct driver for the board yet.

Best regards

0 Likes

Thanks for you comments.

1) The PUART and HCI UART pins are correct. With the same settings it works fine on Linux.

2) The comments in https://www.cypress.com/file/411346/download  explicitly ask to remove  FTDIUSBSerialDriver.kext if it is installed. I have tried with  FTDIUSBSerialDriver.kext  and I still have the same issue which is the serial port doesn't show up as a device in /dev/tty*

0 Likes
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

In MacOS, 0xe00002be often indicates kIOReturnNoResources. See below:

https://stackoverflow.com/questions/57667962/iocreateplugininterfaceforservice-failed-w-kioreturnnor...

And the below link shows a pretty good approach to get a deeper review, using IORegistryExplorer. So I recommend you follow the approach to see if it helps and use IORegistryExplorer to get more info.

https://stackoverflow.com/questions/48832072/iocreateplugininterfaceforservice-returns-mysterious-er...

Provided the error is kIOReturnNoResources, I would recommend you reboot your computer and try again. And remove any other peripheral connected to your Mac as well.

Best regards

0 Likes

In a case with Cypress I got this info:

Unfortunately, Apple completely changed how USB/serial converters are supported in Catalina. We were able to work with them to restore functionality for the Cypress devices during the Catalina rollout testing, Apple now supports communication with the boards as of version 10.15.5, so if you upgrade your system, it should work.

I upgraded to 10.15.7 and it is working for me now.

Thanks,
Venkat

0 Likes