Skip to main content
Visitor II
December 28, 2018
Question

What is the CLI command to disconnect the target?

  • December 28, 2018
  • 1 reply
  • 972 views

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.

    This topic has been closed for replies.

    1 reply

    Visitor II
    December 28, 2018

    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).

    TSrinAuthor
    Visitor II
    January 2, 2019

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