2012-07-03 04:44 AM
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, spectre2012-07-11 07:20 AM
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, Laurent2012-07-13 01:30 AM