Skip to main content
Explorer
December 5, 2024
Solved

Bootloader GO command doesn't work STM32G070RB

  • December 5, 2024
  • 2 replies
  • 840 views

Hello everyone

I use an ESP32 to start a firmware update. The bootloader has been started, the esp32 writes block by block. In the end, I use the Go Commad from Bootloader Command Sets to jump into the application. My sequence.

1. set BOOT0 Pin back to low
2. esp32 sends 0x21 and 0xDE
3. receive 0x79
4. then esp32  sends 0x8000000 + 08(Checksum)
5. bootloader acknowledges it with 0x79

but the new firmware won't start. Is there a suggestion why this is the case ? 

When I press the reset button the firmware will be started, but I don't want any hardware solution

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Are you sure it hasn't started?

    Instrument code in Reset_Handler() to identify is it does get there, and then subsequently fail.

    Check SCB->VTOR, interrupts enabled, stack, watchdog, etc.

    2 replies

    Technical Moderator
    December 9, 2024

    Hello,

    If you are using I2C, check if you are in the same situation as this case.

    Graduate II
    December 9, 2024

    Are you sure it hasn't started?

    Instrument code in Reset_Handler() to identify is it does get there, and then subsequently fail.

    Check SCB->VTOR, interrupts enabled, stack, watchdog, etc.