DFU: How to handle end of flash during a DFU upload ? #2730
Replies: 1 comment
-
To answer my question, one just needs to return a short frame 😅 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
tud_dfu_upload_cb
how do I indicate to TinyUSB that the end of flash/partition has been reached ? According to the specs:But how do I respond with a "short frame" ?
I have something like the following:
But this causes
dfu-util
to timeout on the host's side after getting stuck for a while:With this I can upload the firmware, but the device will not reset since it timed out.
Beta Was this translation helpful? Give feedback.
All reactions