Skip to main content
RKris.2
Associate
July 9, 2021
Question

Running the execution continuously makes the target not responsive

  • July 9, 2021
  • 2 replies
  • 973 views

While debugging my code, instead of step by step execution, if I run the execution continuously, after some time the TrueStudio loses connection with target.

Can some one help me in resolving this issue?

This topic has been closed for replies.

2 replies

TDK
Super User
July 9, 2021

What chip? What does your code do?

You might try STM32CubeIDE instead of TrueSTUDIO, which is NRND.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Guru
July 9, 2021

If you code goes into a low power mode, reconfigures the debug pins, or otherwise shuts down and fails, you might lose connectivity.

Instrument your code so you understand the flow and path to failure.

Have Error_Handler() and HardFault_Handler() output actionable information.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
RKris.2
RKris.2Author
Associate
July 12, 2021

Thank you Tesla DeLorean, after disabling the low-power mode entry code, I am not seeing connectivity loss with the target.