cancel
Showing results for 
Search instead for 
Did you mean: 

What is the CLI command to disconnect the target?

TSrin
Associate

I want to connect multiple target for programming one by one. When one of target is connected, couldn't disconnect through CLI command to connect the next one.

2 REPLIES 2
turboscrew
Senior III

I did something like that about half a year ago, and I vaguely recall, that with CLI you don't disconnect.

I think "connect" only sets up some (shell?) variables, so the ST-link remembers which devices it was involved last. You just connect to new device (via new POD, if needed).

Thanks @turboscrew. This helped. I'm connecting the second target with new shell.