Skip to main content
Visitor II
April 19, 2013
Question

ST-LINK/V2 Commandline - HALT does't work

  • April 19, 2013
  • 1 reply
  • 739 views
Posted on April 19, 2013 at 18:11

Hi,

for an automatic test, i need to Halt and Run a STM32.

It works without problems with the STM32 ST-LINK Utility, but not (program is  still running) when I use the CLI (st-link_cli.exe) in this way:

st-link_cli.exe -c SWD -Halt

the answer for this statement is:

 

STM32 ST-LINK CLI v1.5.1

 

STM32 ST-LINK Command Line Interface

 

 

Connected via SWD.

 

Connexion mode : Normal.

 

ST-LINK Firmware version : V2J17S4

 

Device ID:0x416

 

Device family :STM32L1xx medium density

All other statements give a message that the statment were accepted

Can anyone check this, maybe with older firmware?

What tool can I use alternativly?

Thanks in advance

Wolfgang

#st-link #halt #st-link #cli
    This topic has been closed for replies.

    1 reply

    Visitor II
    February 28, 2014
    Posted on February 28, 2014 at 15:19

    Did you ever figure it out?  I am having the same issue, and it is a bit irritating to say the least!  I would like to be able to utilize the Halt function, but the program says core is halted but it is still running.  While like you said in the windows app, it works fine.  The closest I have been able to get to this is creating a breakpoint, but that still doesn't make it do exactly what I need it to do.  So yes any leads on this would be appreciated!  Thanks!

    Steven