You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flashing on both win10 and win11 can generate the error. In all testing, the flash is successful and the board will reboot into the user application while the error dialog is shown.
However from an end user experience, the "unexpected error" dialog causes unnecessary confusion and worry.
Other uf2 based bootloaders I have tested that do not have this issue:
Operating System
Windows 10
INFO_UF2.TXT
TinyUF2 Bootloader 0.18.1-55-geec497e-dirty - st/cmsis_device_f3 (v2.3.6) st/stm32f3xx_hal_driver (v1.5.6-9-g75cf4fc) tinyusb (0.15.0-566-gf1e006d09)
Model: ST STM32F303 Discovery
Board-ID: STM32F303-Discovery-MB1035D
Date: Jan 31 2024
Flash Size: 0x00040000 bytes
What happened ?
Flashing on both win10 and win11 can generate the error. In all testing, the flash is successful and the board will reboot into the user application while the error dialog is shown.
However from an end user experience, the "unexpected error" dialog causes unnecessary confusion and worry.
Other uf2 based bootloaders I have tested that do not have this issue:
A quick look into the issue, it could be that the reboot is called within the
tud_msc_write10_complete_cb
callback. By comparison https://github.com/adafruit/uf2-samdx1/blob/master/src/fat.c#L251-L252 and https://github.com/adafruit/uf2-samdx1/blob/master/src/utils.c#L53 seems to suggest a reboot after a delay and from the main loop.How to reproduce ?
Reset board to bootloader
Drag & drop uf2 user file
Error dialog will popup
Debug Log
No response
Screenshots
The text was updated successfully, but these errors were encountered: