08_cybulk Input/output error on linux

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

cross mob
agba_3844561
Level 3
Level 3
5 likes given First like given

I'm trying to make my CYUSB3KIT to work on ubuntu. I went to Cypress/cyusb_linux_1.0.5/src and compiled the code correctly.

I'm using cyusb_linux_programmers_guide.pdf and runned the commands.

However some of the commands doesn't work. My main concern is with 08_cybulk. I get the following output:

./08_cybulk

     Successfully claimed interface
     Input/output error
     libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=9
     Input/output error
     Segmentation fault (core dumped)

I think is the firmware I had to upload to fx3. Could that be it? could somebody point me the correct firmware?

There are also 2 more scripts that doesn't work:

./04_kerneldriver

     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

./06_setalternate

     Enter interface number you wish to claim : 0
     Interface 0 claimed successfully
     Enter alternate interface you wish to set : 1
     Entity not found

* When running ./05_claiminterface with 1 as input it also fails. It seams I have issues with other interfaces (1-4). It only works with 0 as an input.

PS: I'd like to report a small mistake on said document. There's a part that says: ./download_fx3 -i ../fx3_images/cyfxbulksrcsink.img -i ram but it should be '-t' instead of '-i' in front of the ram keyword.

0 Likes
1 Solution

As per the document, 08_cybulk is used to test the Bulkloop.c on FX2LP device.

If you want to test FX3, please test with the GUI and use cyfxbulklpautoenum.img

View solution in original post

0 Likes
8 Replies