cancel
Showing results for 
Search instead for 
Did you mean: 

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

FLueb
Associate II

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.

6 REPLIES 6
Jocelyn RICARD
ST Employee

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

FLueb
Associate II

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

Path is quite simple:

C:\Azure-RTOS-WS\workspace

Jocelyn RICARD
ST Employee

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

FLueb
Associate II

ST_link (Open OCD) has same problem

FLueb
Associate II

Probleme solved. Was related to usb-hub

Jocelyn RICARD
ST Employee

Hi @FLueb​ 

Great that you solved this issue.

That is one important information !

Thank you for your feedback.

Best regards

Jocelyn