Topic : Power control

Forum : ARM

Original Post
Post Information Post
January 15, 2008 - 8:51am
Guest

Hi,

When STM32F103RB enter in low power mode (Standby or Stop),and if I want to program a new software, there is a message
"Unable to read IdCode"
"Please check that the target is connected"

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

Replies
Post Information Post
+1
0
-1
January 15, 2008 - 10:13am
Raisonance Support Team

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

+1
0
-1
February 19, 2008 - 8:02am
Guest

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,

+1
0
-1
February 19, 2008 - 11:11am
Guest

We will make some tries. I believe that if we reproduce the issue, we could find a solution.