- Please let us know the firmware that you have loaded into the device before performing the data transfers.
- Try loading the USBBulkLoopAuto firmware example that comes with the SDK and check if the errors appear.
- Also, let us know if you are using a Cypress development kit or is it your custom board design.
Dear Srinath S,
Thank you for your reply.
I'm using the (CYUSB3KIT-003 EZ-USB FX3 SuperSpeed Explorer Kit)[http://www.cypress.com/documentation/development-kitsboards/cyusb3kit-003-ez-usb-fx3-superspeed-explorer-kit ] that I recently bought.
I tired it on WIndows using the tool "Streamer" and it worked like charm.
If I understand correctly, USBBulk-SourceSinkLED firmware is loaded by default (from factory) as I have not done anything else than trying to use the data transfer. I assumed that if it works for windows it should work as well for Linux.
I have new light on the issue.
When compiling the code inside `Cypress/cyusb_linux_1.0.5/src` and running:
Successfully claimed interface
libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=9
Segmentation fault (core dumped)
yet if I do: `./09_cyusb_performance -e 129 -s 32 -q 8 -d 10`
It works correctly. And so does the other scripts (01 - 09 except for the mentioned ones). 06 only works with interface 0, interface 1 throws entity not found message.
Other important info:
This device has no kernel driver attached to this interface
Do you wish to attach/reattach a kernel driver ? (1=yes,0=no) : 1
Entity not found
I can't also upload a firmware to the board:
I'm using windows for the moment and everything so far is working perfectly. I'm already trying to program a FPGA through the kit board (once the cyusb3acc-005 module arrives). But I'll need to fix it because out company's code is mainly on linux.
1 of 1 people found this helpful
- To program the FX3 device, the device must be running on the boot-loader firmware. But, from your screenshots, I find that the device is running with the USBBulkSourceSinkLED firmware. To switch the FX3 device into boot-loader mode, connect the jumper J4 on the SuperSpeed Explorer Kit and reset the device. The device comes up with a VID/PID 0x04B4/0x00F3. Please look at the screenshots SS1, SS2 and SS3 in the attachment.
- The USBBulkSourceSinkLED firmware that comes with the SuperSpeed Explorer Kit is not meant for loopback applications and hence is the error that you have mentioned. Please follow the screenshots SS4 and SS5 to successfully send and receive data using the cyusb_linux. In case you wanted to perform loopback applications, please load a firmware that suits the same (Eg. USBBulkLoopAuto firmware that comes with the FX3 SDK).