Trying to expand bulkloopautoloopback with multi-configuration | Cypress Semiconductor
Trying to expand bulkloopautoloopback with multi-configuration
I am trying to expand the bulk loop example so that the firmware to contain additional configurations.
I duplicated the CyFxUSBSSConfigDscr array in cyfxbulklpdscr.c to and changed the configuration number and number of configurations on the device descriptor.
The firmware compiles and on the sniffer (Lecroy) I can see both configurations, however a "stall" is returned when the host tries to configure the device (set-configuration).
I noticed that for CyU3PUsbSetDesc (which uses to set the descriptor to the device driver in the cypress), there is a comment in cyu3usb.h
This function is used to register a USB descriptor with the USB driver.
The driver is capable of remembering one descriptor each of the various
supported types as well as upto 16 different string descriptors.
Will appreciate your insight on this... Is it possible to configure the fx3 firmware to support muti-configuration?