2023-09-27 03:50 PM
How can I exit STM32G070KBT6 USART1 bootloader without cycling the power?
All I have to do to exit the USART1 bootloader on the STM32G030K8T6 or the Nucleo-G031K8 is to set the nBoot0 bit in the FLASH_OPTR register and then it immediately starts running the application code.
If I do the exact same thing with a STM32G070KBT6 it only runs the application code after I cycle the power.
I need the ability to exit the STM32G070KBT6 USART1 bootloader without cycling the power so I can upgrade firmware remotely. Is there a different way to exit the bootloader using the USART?
This issue can be reproduced using the STM32CubeProgrammer
2023-09-28 03:30 AM
Hello @EMill.1,
Have you checked STM32 microcontroller system memory boot mode, to see the difference between STM32G03 and STM32G07.
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.
2023-10-04 11:09 AM
I'm trying to exit the STM32G07 USART bootloader by setting the nBoot0 bit in the Flash Option register.
I noticed in AN2606 in Table 92 that V11.2 of the STM32G07 bootloader shows the following issue: "Option byte launch missing when using USART protocol".
Do you have more information about this issue?
Could this be the reason that setting the nBoot0 bit via the USART on the STM32G03 exits the bootloader as expected, but setting the nBoot0 bit via the USART on the STM32G07 does not exit the bootloader?
2023-10-04 11:18 AM - edited 2023-10-04 11:23 AM
Maybe your steps isnt optimal. Why you dont use run command . This provide start application ability better.
In gui on CPU panel if i rememmber or
2023-10-04 11:42 AM
The STM32G07 does not have a USART bootloader "run" command (see AN3155).
Is there more information about the issue "Option byte launch missing when using USART protocol" that is mentioned in AN2606 in Table 92 and could this be the reason the STM32G07 is not exiting the bootloader when the nBoot bit is set in the Flash Option register?
Can someone who has actually read the question I posted and has used the bootloader via the USART and read the documentation (AN2606 & AN3155) please answer the question.
2023-10-04 12:02 PM
Ok i name it run but mean GO and i dont see any word about GO command not exist in ...
2023-10-04 04:26 PM
Is there more information about the issue "Option byte launch missing when using USART protocol" that is mentioned in AN2606 in Table 92 and could this be the reason the STM32G07 is not exiting the bootloader when the nBoot0 bit is set in the Flash Option register?