Skip to main content
SBaro.11
Associate III
August 28, 2025
Question

Trying to use GO command with uart bootloader on STM32WLE5CC

  • August 28, 2025
  • 1 reply
  • 292 views

Hi all,

I'm working with an rak3171 build with an STM32WLE5CC, I've write a python script for flashing my firmware over uart using usart ST bootloder, everything works well, but when flash is done, I'd like to reset my bord for running the new firmware.

I've use this ST AN NOTE  and if you look at page 18, ST explain GO command, I'm trying to use but without success, my board never reset, so my question is, am I understand well, if I use GO command should I'm able to reset my board? Is there a ST example somewhere any helps will be good :)

 

EDIT: I'ma able to send GO command and FW addr, bootloader ACK me (gor 0x21 and addr, but after that nothing happen, my firmware doesn't run..

thanks

1 reply

STTwo-32
Technical Moderator
August 28, 2025


Hello @SBaro.11 

Ensure that the VTOR is correctly configured to the user application start address and the address you are sending is the correct starting address. Also, a HW reset may be needed since the Go Command is designed to jump to the user application and execute it without performing such a reset.

Best Regards.

STTwo-32

SBaro.11
SBaro.11Author
Associate III
August 28, 2025

Hi @STTwo-32 

Thanks for your answer, I've set VTOR, 

int main(void)
{
 /* USER CODE BEGIN 1 */
 __disable_irq();
 SCB->VTOR = ((uint32_t)0x08000000);
 __enable_irq();
 /* USER CODE END 1 */

....
}

Should I do something else, or should I add VTOR in SystemInit()? If I understand well, GO command doesn't jump to reset_handler ?