cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader GO command doesn't work STM32G070RB

crisay794266
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

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
Up vote any posts that you find helpful, it shows what's working..