Forum : ARM
Original Post
Post Information | Post |
---|---|
January 15, 2008 - 8:51am
|
Hi, When STM32F103RB enter in low power mode (Standby or Stop),and if I want to program a new software, there is a message This error occur on REva 3.3 board and on my own PCB. Is normal that I lost debug, but why I can't program a new software after? Thank |
Hi,
If the CPU is in low power mode then there is no JTAG, so the RLink cannot communicate with the chip for erasing the flash...
You should be able to erase it by configuring the CPU in RAM boot mode with the BOOT0 and BOOT1 pins. Then, after power-on, the micro will start executing the code in RAM, which is random and does not activate power-down mode, and you should be able to erase the flash with RLink. After that, you can set the BOOT pins back to their original state and program, debug, etc.
Best Regards,
Vincent
Hi,
But what we can do if we can not boot from RAM(it means that if we don't have the BOOT0 and BOOT1 pins).
Regards,
We will make some tries. I believe that if we reproduce the issue, we could find a solution.