Skip to main content
lfish.1633
Associate II
November 25, 2019
Question

Why does the debugger keep disconnecting every 2-5 minutes?

  • November 25, 2019
  • 3 replies
  • 4238 views

I'm using STM32CubeIDE 1.1.0 with a STEVAL-SPIN3204 board connected via the USB port and onboard ST-Link. About 2-5 minutes after I start a debug session The Console prints "Target is not responding, retrying..." 10 times and then prints "Debugger connection lost.

Shutting down...". At that point I can restart the debugger again sucessfully. Until the debugger starts printing Target is not responding, the debugger works normally. I can single step, run, stop on breakpoints, view and modify variables etc.

This problem occurs even if I merely initiate a debug session and never touch the keyboard so it seems rather unlikely it has anything to do with the program being debugged. And FWIW I did confirm that the watchdog is disabled by the fuse settings.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
November 25, 2019

Using a DELL ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
lfish.1633
Associate II
November 25, 2019

Affirmative. Dell Precision 3430 with Intel i7-8700 3.2GHz running Windows 10 64 bit.

Tesla DeLorean
Guru
November 25, 2019

Remove the Remote Diagnostic tools, or any Intel tools probing the Mass Storage Controller stack.

There is something in the UpperFilter or LowerFilter causing issues.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Uwe Bonnes
Chief
November 25, 2019

Does any energy saving daemon put the USB connections to sleep? Look at you energy saving options.

Tesla DeLorean
Guru
November 25, 2019

Yes, typically screen savers, HD power down and the like. With DELL's it's predominantly all the crapware they install, especially the remote diagnostic assistant thing. Some reports of Intel storage/speed test, and perhaps Daemon Tools.

TOSHIBA machines, especially laptop, were problematic with custom ASICs, but they failed/exited that business as I recall.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..