cancel
Showing results for 
Search instead for 
Did you mean: 

issue with stvp

dhutchison1945
Associate II
Posted on July 03, 2012 at 13:44

Hi,

As you can see from the schematic below,the ''C3'' capacitor is a low voltage 1.5F supercap that I use as backup battery to keep the mcu up during the stand-by mode.

My problem is that,while I flash the program memory and the option bytes of the mcu with the STVP,the supercap starts to be charged a bit.

So ,after I flash the mcu,I disconnect the connections between the st-link and the connector, but the mcu remains in an unknown state,and I have to open the R1 resistor in order to turn off the mcu.I tried to lowerdown the reset pin during this unknown state,but without success. the only way is to remove the R1 resistor.

Otherwise I can't start up the mcu..

Do you have a smarter way to help me on this issue ? (via stvp command line,to reset the mcu via the swd protocol,or other ideas) thanks.

For sure there is a way to reset or restart the mcu without open the R1 resistor. I hope :))))

regards,

spectre

0690X0000060513QAA.png
2 REPLIES 2
LaurentL
ST Employee
Posted on July 11, 2012 at 16:20

Hello,

The reset is done by STVP after each verifying.

In the latest STVP (version 3.2.6), the devices with an OBL Reset (like STM32L15x) are reset and ST-Link is disconnected.

Regards,

Laurent

dhutchison1945
Associate II
Posted on July 13, 2012 at 10:30

Thanks Laurent