2012-07-03 07:47 AM
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 spectre2012-07-11 07:27 AM
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