legokor / TanfolyamRobot

https://legokor.hu/tanfolyam/
2 stars 1 forks source link

Separate bootloader entry from main application #11

Closed ksstms closed 1 year ago

ksstms commented 2 years ago

The robot can be soft-bricked by breaking the USB connection during firmware upload. The firmware then has to be uploaded using an SWD programmer.

Let's split the firmware into 2 parts:

If the second part is corrupted, the UART RX handler still works, so we can jump to DFU mode.

ksstms commented 2 years ago

This could be helpful: https://www.youtube.com/watch?v=OkUQ3iMmiYQ&list=PLnMKNibPkDnEb1sphpdFJ3bR9dNy7S6mO&index=1

dkiovics commented 1 year ago

New hardware bootloader mode activation with FTDI GPIO