Skip to main content
Associate
December 5, 2024
Solved

Bootloader GO command doesn't work STM32G070RB

  • December 5, 2024
  • 2 replies
  • 878 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

mƎALLEm
ST Technical Moderator
December 9, 2024

Hello,

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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..