could you please let me know the exact details of the things that are listed below:
What is the file that you are using? what is the size of it?
What is the DMA buffer size that you are using in the firmware?
How are you doing the data transfers using "Data transfer OUT" button?. Are you changing the "Transfer Bytes count" field on the Control Center?.
I am assuming that you are transferring a file of very small size compared to DMA buffer size.
Please share all these details so that we can find out the reason for your problem.
Hello Sai Krishna,
I am trying to send the file given by cypress in slave fifo application in loopback application named "Text.txt"
DMA BUFFER SIZE at usb 3.0 superspeed is 1024 bytes and my DMA manual channel size is set to 16384 bytes
I am using data file out to send this file and normally data transfer out button.
I dont change the bytes to transfer when I am sending a file.
Apart from that my new observations are
I cannot send(or see a flag) if and only if my buffer size is 1024 bytes or a multiple of it.
Looks wierd but cant understand why. Even if I transfer one byte of data I can see my flag going high but not with 1024 bytes or any multiple of it even I see a flag if I transfer 1023 or 1025 bytes also.
Thanks for your time
There is one more thing i want to know
is it necessary to have Usbfs mounted to work with libusb and Cyusb??? /proc/bus/usb/
thanks & Regards