cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader mode on STM32G0B0

SDecl.1
Associate

To get into bootloader mode STM32G0B0 devices use following pattern:0693W00000GVuMOQA1.pngWe use the STM32G0B0 in addition to a processor (running Linux) that is connected over UART to communicate with and update the device. By default, the pattern used is the first one, so in theory the SW on the STM32 needs to get an update command from our CPU and then turn itself into bootloader mode. I was wondering how we can update if our software crashes or somehow got corrupted? It seems impossible to get in bootloader in that case without an ST-link, which is something we'd like to avoid.

1 REPLY 1
TDK
Guru

> I was wondering how we can update if our software crashes or somehow got corrupted?

If software crashes, you'll need to get into the bootloader using hardware methods. No way around that. Using a watchdog to detect crashes and reset the chip is the usual method to avoid this.

If you feel a post has answered your question, please click "Accept as Solution".