This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB: indication of end of transfer

Hello,
I am transferring a file using USB MSD to a device, based on the Keil USB library. Can I know, when the transfer starts, how many bytes to expect? What is the indication in software as to the "end of file"?

Parents
  • Thanks for your reply. Can you shortly advise me how I know that a MSD transfer has been completed? What USB event am I looking at? The thing is that the actual number of bytes received does not match the bytes indication in CBW (it is less...). I am transerring a binary file via a MSD and need to know when to trigger a transfer of the file from external RAM to internal flash. Thanks in advance.

Reply
  • Thanks for your reply. Can you shortly advise me how I know that a MSD transfer has been completed? What USB event am I looking at? The thing is that the actual number of bytes received does not match the bytes indication in CBW (it is less...). I am transerring a binary file via a MSD and need to know when to trigger a transfer of the file from external RAM to internal flash. Thanks in advance.

Children
No data