cancel
Showing results for 
Search instead for 
Did you mean: 

stvp source code

dhutchison1945
Associate II
Posted on July 03, 2012 at 16:47

Hi,

I need to force a reset on the stm32L32152 after the stvp programming session.

On the st site,there is the stvp source code and api example.

I saw the list of exported functions that may be called in EPRCORExx.DLL inside of the ''PtkApi.cpp'' ,but I don't find a function to force an mcu reset.

I need to force a reset on the nrst in order to exit from the programming mode,because the vdd of the mcu is connected to a supercap ,charged during the programming session via stvp.

Do I need to force a reset on the nrst pin manually ? Can I do it using the stvp api or something ?

regards

spectre
1 REPLY 1
LaurentL
ST Employee
Posted on July 11, 2012 at 16:27

Hello,

You can't do a reset with the API code but as said in your other post, the latest STVP version (3.2.6), after verifying any memory, is doing a Reset (like before) and disconnect the ST-LINK.

It will reconnect if you do another action.

So you should not need to do a reset manually or disconnect the hardware.

Regards,

Laurent