- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use the CyUSBSerialTestUtility from the USB-Serial SDK to interface with a CY7C65215A. I'm using Ubuntu 22.04 and libusb-1.0.25.
||/ Name Version Architecture Description
+++-======================-=================-============-===================================================
ii libusb-1.0-0:amd64 2:1.0.25-1ubuntu2 amd64 userspace USB programming library
ii libusb-1.0-0-dev:amd64 2:1.0.25-1ubuntu2 amd64 userspace USB programming library development files
ii libusb-1.0-doc 2:1.0.25-1ubuntu2 all documentation for userspace USB programming
I followed the README instructions, built/compiled the library files , and then built/compiled the test utility.
With the CY7C65215A connected, I can use the "screen" application to read and write serial data and see the device using "lsusb."
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 005: ID 04b4:0005 Cypress Semiconductor Corp. USB-Serial (Dual Channel)
Bus 003 Device 003: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 090c:3350 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) USB DISK
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
When running the CyUSBSerialTestUtility as root, I don't see any devices when selecting "print list of devices"
---------------------------------------------------------------------------------
Device Number | VID | PID | INTERFACE NUMBER | FUNCTIONALITY
---------------------------------------------------------------------------------
CY:Kernel driver active on the interface number 0
CY:Info The total number of endpoints are 2
CY:Info The Endpoints are in 131 and out 1 and interrup 175
CY:Info The device type is 0
CY: Error in function CyGetSignature ...libusb error is 0!
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
---------------------------------------------------------------------------------
-------------------------------------------------------------------
1: Print list of devices
2: Select device...No device selected !!
3: Enter I2C/SPI Flash page address and length to write/read.
4: Verify data
5: Exit
-------------------------------------------------------------------
When I disconnect the CY7C65215A, the CyUSBSerialTestUtility shows that somthing was disconnected
Device of interest Removed/Added
CY:Kernel driver active on the interface number 0
CY:Info The total number of endpoints are 2
CY:Info The Endpoints are in 131 and out 1 and interrup 132
CY:Info The device type is 0
CY: Error in function CyGetSignature ...libusb error is 0!
CY:Error in opening the device... Libusb error is -4
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
And when I reconnected the CY7C65215A, the CyUSBSerialTestUtility showed that somthing connected.
Device of interest Removed/Added
CY:Kernel driver active on the interface number 0
CY:Info The total number of endpoints are 2
CY:Info The Endpoints are in 131 and out 1 and interrup 227
CY:Info The device type is 0
CY: Error in function CyGetSignature ...libusb error is 0!
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
CY:Kernel driver active on the interface number 0
I'm sure the hardware is OK, I'm able to use the USB configuration application on a windows machine to interface a program the device, but I'm looking to write my own Linux application.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The CyUSBSerialTestUtility only supports testing of the I2C/SPI configured as a Vendor interface. From the second image, I can see that it might be configured as UART-CDC. Please let me know if the device is configured as an I2C/SPI-Vendor. If not, it will not be detected by the Test Utility.
Regards,
Meghavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The CyUSBSerialTestUtility only supports testing of the I2C/SPI configured as a Vendor interface. From the second image, I can see that it might be configured as UART-CDC. Please let me know if the device is configured as an I2C/SPI-Vendor. If not, it will not be detected by the Test Utility.
Regards,
Meghavi