Skip to main content
Visitor II
September 27, 2021
Question

Connect to target fails with "Failed to execute MI command:"

  • September 27, 2021
  • 6 replies
  • 1519 views

Error in final launch sequence:

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Das System hat versucht, einem Verzeichnis, das sich auf einem mit JOIN zugeordneten Laufwerk befindet, ein Laufwerk mit SUBST zuzuordnen.

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Das System hat versucht, einem Verzeichnis, das sich auf einem mit JOIN zugeordneten Laufwerk befindet, ein Laufwerk mit SUBST zuzuordnen.

localhost:61234: Das System hat versucht, einem Verzeichnis, das sich auf einem mit JOIN zugeordneten Laufwerk befindet, ein Laufwerk mit SUBST zuzuordnen.

    This topic has been closed for replies.

    6 replies

    ST Employee
    September 27, 2021

    Hello @FLueb​ 

    your error message is strange. It seems to show you are not using local drive.

    I've never heard about this JOIN.

    Do you have a specific setup ?

    Best regards

    Jocelyn

    FLuebAuthor
    Visitor II
    September 27, 2021

    The Workspace and all related content ist on a local drive.

    Path is quite simple:

    C:\Azure-RTOS-WS\workspace

    ST Employee
    September 27, 2021

    Hello @FLueb​ 

    OK thank you for your feedback.

    I still have no idea what is going on.

    Could you try

    1) Start from scratch with new workspace (you can just erase this one which is fine for location) and do each step again.

    2) If issue is still there, try to change in the debugger configuration (Run/Debug configuration) in tab Debugger, the debug probe from ST-Link (ST-Link GDB server) to ST_link (Open OCD).

    Also, try using another USB cable. I don't think this is the issue but just in case...

    Best regards

    Jocelyn

    FLuebAuthor
    Visitor II
    September 28, 2021

    ST_link (Open OCD) has same problem

    FLuebAuthor
    Visitor II
    September 28, 2021

    Probleme solved. Was related to usb-hub

    ST Employee
    September 28, 2021

    Hi @FLueb​ 

    Great that you solved this issue.

    That is one important information !

    Thank you for your feedback.

    Best regards

    Jocelyn