Associate III
March 31, 2021
Question
Flash corruption after an upgrade and calling '-s' command from STM32_Programmer_CLI
- March 31, 2021
- 2 replies
- 1100 views
Hello,
CPU: ST STM32L151VC
I do the following process:
Starting from a running program I jump into DFU mode
then STM32_Programmer_CLI -c port=USB1 -d "newprogram"
then STM32_Programmer_CLI -c port=USB1 -s
program start, but if I check the two first byte of the flash with J-Flash and I can saw that 2 first bytes are corrupted. AA AA in place of 00 80
When I switch off/on the power the board doesn't restart (that is normal).
If I don't use '-s' command and simply switch off/on the board program start normally
Attached: left normal program (reloaded after -d); right corrupted program (reloaded after -s)
Thank-you for your advice
Alen
