cancel
Showing results for 
Search instead for 
Did you mean: 

Failure debugging a program using a Nucleo-64 STM32L476RG:

Graham1904
Associate III

A program, using the Nucleo-64 with STM32L073RZ, gives no problems, another program, even a blank new project, with Nucleo-64 with STM32L476RG gives

"Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

Remote communication error. Target disconnected.: Success.

Failed to execute MI command:

target remote localhost:61234"

3 REPLIES 3
TDK
Guru

Debugging issues are tightly coupled to the IDE, so posting the one you're using is helpful. Those chips may have different ST-Link versions/capabilities which require different ST-Link configuration files.

If you feel a post has answered your question, please click "Accept as Solution".
Graham1904
Associate III

My apologies. I posted this in a hurry. To much of a hurry I fear :). I am using the ST Microelectronics own STM32CubeIDE version 1.3.0 (build 5720_20200220_153). I have forced the Nucleo-84 on-board ST-Link_V2-1 into an upgrade mode and downloaded version V2J36M26 to see if that cured the issue, unfortunately it didn't.

This is what I get in the console now:

Device ID: 0x415

PC: 0x0

ST-LINK detects target voltage = 3.25 V

ST-LINK device status: UNKNOWN

ST-LINK device initialization OK

Waiting for debugger connection...

Waiting for connection on port 61234...

Accepted connection on port 61234...

Debugger connected

Try halt...

Graham1904
Associate III

This is what I get in the console now:

Device ID: 0x415

PC: 0x0

ST-LINK detects target voltage = 3.25 V

ST-LINK device status: UNKNOWN

ST-LINK device initialization OK

Waiting for debugger connection...

Waiting for connection on port 61234...

Accepted connection on port 61234...

Debugger connected

Try halt...