Did you make sure that the USB Host Application on the PC Side is effectively pulling in data? It seems to stop after transferring 1536 bytes. What host application are you using?
- Madhu Sudhan
Thanks for your reply,Madhu Sudhan.
In fact, the project I'm developing is a removable storage device. So I don't use any USB Host Application on the PC Side. It should be Windows 7 Drivers control the data pulling in and out.It is worth mentioning that when I attached the development board to USB2.0 port, the board works fine as a USB Disk, without any changes in firmware code. It's so strange.I think there is some error in timing sequence.How do you think?
1) CyU3PDmaChannelGetStatus(handle,DMAstate,pibXferCount,uibXferCount); I understand the every prod even increments pibXferCount and every cons event increaments uibXferCount. I suppose that you are also committing the data one the prod event is received. Please share your firmware for us to get a better idea.
2) As we see that the pibXferCount is increasing, so the FX3 is receiving the data.
uibXferCount is not increasing, probably it can because the host is not reading the data.
Unless the host ask for data, the uibXferCount will not increment. Can you provide a USB protocol trace recording this communication ?