- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Using the same hardware and firmware sending from FX3 to the PC,
the cyusb_linux does not receive bulk transfers (all other stuff work perfect).
while the USB-Control-Centre in Windows receives the bulk transfers perfectly.
cyusb_linux show a 0 bytes count and a blank window. It appears to retrieve the data
and empty the buffers but keep showing 0 bytes and blank window.
Does anybody experienced this / has a solution, or a hint for me to check ?
Many Thanks.
Luis C.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Luis,
Did you mention the Size of transfer in the "Size(bytes)" Text box while doing an IN transfer? Please give the IN transfer Size (512 when compared with windows application) in the Size box and let me know if it works.
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Luis,
Can you please share a screen shot?
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Hemanth,
Here they are, note exact same hardware FX3+FPGA with a test code that writes
into the slave fifo, one machine in linux (recent version of Mint)
and one in a Windows7 machine.
Linux: (on the capture you see also de debug from the FX3 showing that 2 buffers were sent to the FX3
Hit receive button on the cyusb_linux and it displays 0 bytes and RX panel stays blank, never works no matter what I do)
Windows: (it always works)
Thanks.
Luis C.
p.s. the cyusb_llinux installation suffered no code customization whatsoever, and the build/install was clean.
(form the actual SDK code I think there was just a need to change the name of the variable "error"...).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition, I confirm that I do receive bulk transfers without any problems on the same linux machine
with a piece of code I wrote (using libusb).
So indeed it seems there is something wrong with the cyusb_linux.
(and it is pretty much annoying jumping from machine to machine during the development when I
need to confirm things).
Any ideas ?
Luis C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Luis,
Did you mention the Size of transfer in the "Size(bytes)" Text box while doing an IN transfer? Please give the IN transfer Size (512 when compared with windows application) in the Size box and let me know if it works.
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Yatheesh,
Many thanks to bring to my attention that when I made the screen capture the size is blank.
It may sound silly but I did not noticed that when I hit the receive button the the size(bytes) disappears !!!
I just made a reboot to the PC the number I write there stays there and all works fine.
(I think I lost the old habit of rebooting PC now that I use linux 😉
Many Thanks.
Luis C.