STM32 CDC USB - binary files and EOT indication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-01 9:32 PM
Hello all,
2 more questions on STM32 USB CDC
1) I see that it works fine for ASCII files, but when I transfer a binary file it does not. Any advice or parameter I missed?
2) I get the interrupts, but how can I get an indication that the transfer has finished?
Thanks
Eli
- Labels:
-
STM32L4 series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-03 1:00 AM
Badly tag with topic "STM32 MPUs", apply same topics as previous post.
Pay attention to put relevant topic in order to reach relevant people.
Thx,
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-03 1:45 AM
Pretty sure the serial stream doesn't understand the concept of files, or signalling an end of data. You'd presumably use some Host side method or protocol, to convey this. Like a Terminal app using XMODEM, or sending data as a .HEX file, where the line formats define an end record.​
Up vote any posts that you find helpful, it shows what's working..
