1 of 1 people found this helpful
Flow control is custom implementation by cypress in cyusb3 driver for windows and the libcyusbserial on top of libusb for Linux.
Native Windows and Linux drivers will not support Flow control on USB-Serial.
Please disable flow control.
thank you for the important information.
I will move to use libcyusbserial in linux.
the only problem is the libcyusbserial only works for me if I change the SCB Protocol from CDC to VENDOR using the Windows Cypress USB-Serial configuration Utility.
I have two questions
1. can the libcyusbserial (CyOpen fails) can work in CDC mode on Linux somehow (it does work on Windows with cyusb3)? maybe i need the Kernel not to load the cdc_acm driver somehow?
2. if not - can I program the CY7C65215 on Linux without needing a Windows machine to change the mode from CDC to VENDOR?
Please see my comments below:
1. Cypress CyAPI.lib in windows and the libcyusbserial in linux works only when the device is configured as a vendor device.
When device is configured in CDC mode, it will not bind to cypress driver, hence the libraries cannot be used.
2. We do not have a USB-Serial configuration utility for Linux.
thank you for the reply.
i just wanted to clarify that on windows - I use the cypress 188.8.131.52 USB driver - and it does support flow control with no issues in CDC mode.
i work on both OSs simultaneously
is there a way to patch the linux cdc_acm to also support flow control? or maybe there is a propriety driver for linux as well that can support flow control over CDC mode?
I did manage to use the VENDOR mode in linux with flow control but the problem is whenever I switch my device from windows to linux I have to re-program to VENDOR using the windows USB-Serial configuration utility.
and when i switch back to windows i have to re-program again to CDC.
Hello Ori Inbar,
I am afraid there is no known way to support flow control in linux apart from using the vendor class. I have tried this as well.
Thank you for the information.