2023-02-27 03:51 AM
I ran into a small footnote in AN3155 stating "System reset is called only for some STM32 BL (STM32F0/F2/F4/F7) and some STM32L4 (STM32L412xx/422xx, STM32L43xxx/44xxx, STM32L45xxx/46xxx) products."
Now I run into the problem that after flashing the firmware over UART, I need to be able to boot the new firmware since the device does not reset by itself. Over UART there is no reset command. I tried the "go" command to jump to 0x08000000 but that does not work either. STM32CubeProgrammer_CLI.exe reports that the "go" command is not supported on my device. Now I'm stuck. How do I run the newly uploaded image without having to powercycle or reset? I'm unable to do that in this product application. I do not want to use SBSFU.
Solved! Go to Solution.
2023-02-27 04:25 AM
I already fixed it. It was a syntax error in my command line command when calling STM32CubeProgrammer_CLI The correct approach is to use the go command and jump to 0x0800000 in order to reset.
in order to program, verify and reset in one command use:
STM32_Programmer_CLI.exe -c port=COM6 -w myfirmware.bin 0x08000000 -v -g 0x08000000
2023-02-27 04:25 AM
I already fixed it. It was a syntax error in my command line command when calling STM32CubeProgrammer_CLI The correct approach is to use the go command and jump to 0x0800000 in order to reset.
in order to program, verify and reset in one command use:
STM32_Programmer_CLI.exe -c port=COM6 -w myfirmware.bin 0x08000000 -v -g 0x08000000
2023-02-27 04:28 AM
@Community member Thank you for your contribution!
Regards
/Peter