Skip to main content
Tobe
Senior III
January 19, 2025
Question

Error on debug after repeated debugging sessions "Failed to execute MI command: monitor reset core"

  • January 19, 2025
  • 2 replies
  • 843 views

Hi,

i never had to much trouble with errors while debugging. But its getting exessive.

It only happens, when i debug a session, after i had already debugged a session. It makes no difference, if i manually terminate the last session before. I already tried different reset methods, which seemed to have no effect either.

It only applies to starting the debug session with the "bug" button (which would include the rebuild).

Sometimes i have to restart the IDE to make it work again.

 

I never had such problems before, and i did not really change much with the settings.

This issue is not present, when using a Nucleo board, but there is another issue (hard fault on debug only).

 

I am using this: https://www.st.com/en/development-tools/stlink-v3mods.html

Bought from reichelt.de

2 replies

Technical Moderator
January 20, 2025

Hello @Tobe ,

Did you try to update and use the latest ST-LINK driver?

Are you using an old Windows version?  CubeIDE is only supported Windows 10 and 11. So, if you are using an old Windows version this might affect the IDE functionality.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Tobe
TobeAuthor
Senior III
January 20, 2025

I am using not the most updated drivers/IDE. But i cant remember it working that bad before, so i think there might be some setting that cause this problem. Or even some state when debugging?

Andrew Neil
Super User
January 20, 2025

@Tobe wrote:

This issue is not present, when using a Nucleo board


So what board are you using ?

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
January 20, 2025

@Andrew Neil wrote:
So what board are you using ?

Indeed.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Tobe
TobeAuthor
Senior III
January 20, 2025

Its a custom made PCB.

It works without issue on the first debug session. Where could there be the problem?