2021-10-29 05:33 AM
To get into bootloader mode STM32G0B0 devices use following pattern:We 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.
2021-10-29 06:36 AM
> 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.