ST Link CLI
I am using the ST-Link CLI tool in windows.
I am able to progam a virgin unit and after a power cycle the correct software is running
However a need to make a testjig setup. The unit is powered by USB so after programming I need to reset the unit to run the newly programmed firmware. However the -RST -HARDRST does not execute the software
ST-LINK_CLI.exe -c SWD HOTPLUG freq=4000 -P app.srec
ST-LINK_CLI.exe -c SWD HOTPLUG freq=4000 -RST
ST-LINK_CLI.exe -c SWD HOTPLUG freq=4000 -RUN
This does run the software (Sortof) but I have code in my app the also do a software reset (This works in all other cases)
However if I issue my Software reset of ST-LINK_CLI.exe -c SWD HOTPLUG freq=4000 -RST the app returns to an unkown state (Similar to virgin state)
