cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to get status, Target is not responding

HiSt
Associate III

Hello together,

like many others here, I have the problem that after a short time, the debugger closes with the error message “Failed to get status,..”.

The board is the nucleo-F767ZI. 

It has already been mentioned in the forum that it could be due to the USB cable. But the
same cable works with an nucleo-H755ZI-Q fine.

It was also written that it could be due to the settings or by the code self.

Therefore i did a test and sets a breakpoint direct after start:

HiSt_0-1759230971752.png

When standing at the breakpoint, the debugger still terminates after a few seconds.

 

Stm32Device, pollAndNotify running...

Warning: Ignoring a '-' sent by client....

GDB session, device event: 4

GDB session, device event: 4

GDB session, device event: 2

GDB session, device event: 2

NVIC_DFSR_REG = 0x0000000B

Stm32Device, getHaltReason, code: 4

GDB session, device event: 1

GDB session, device event: 1

ST-LINK device status: Failed to get status, Target not responding, retrying... 3

Target is not responding, retrying...

ST-LINK device status: Failed to get status, Target not responding, retrying... 19

Target is not responding, retrying...

ST-LINK device status: Failed to get status, Target not responding, retrying... 19

Target is not responding, retrying...

ST-LINK device status: Failed to get status, Target not responding, retrying... 19

When I stop with the red button and try to start again, i got:

HiSt_1-1759231277201.png

Then i  could load again.

As long as the debugger is stopped on line 64 “ bl SystemInit,” no code is running and the settings have not yet been made.

What could be the cause then?

Thank you and best regards,

HiST

1 REPLY 1
HiSt
Associate III

addendum:

Using the oscilloscope, I was able to measure that at the moment the debugger exits, the NRST signal from the debug MCU on the board is shortly pulled down.

So, the problem was caused by the debug mcu (U2, STM32F103CBT6) on the nucleo board.

I have no idea what triggers it. I have updated bevor the debug mcu with ST-LinkUpgrade to the actual version.

No i tried to use a external ST-LINK / V2 debug probe and this
works without problems.

Best regards,

HiST