Skip to main content
Visitor II
October 29, 2021
Question

Bootloader mode on STM32G0B0

  • October 29, 2021
  • 1 reply
  • 977 views

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.

    This topic has been closed for replies.

    1 reply

    Super User
    October 29, 2021

    > 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.