Skip to main content
Associate
September 8, 2024
Question

Frequent Debugging Issue with STM32CubeIDE on Cortex-M4 (NUCLEO-L4R5ZI)

  • September 8, 2024
  • 1 reply
  • 1468 views

Hello everyone,

I am a student currently working on a project using STM32CubeIDE to develop on the Cortex-M4. I've been encountering a recurring issue during development, and I’m hoping to get some advice.

Every time I compile my project, I frequently encounter the error shown in the first image below. To proceed, I have to unplug the cable completely and then plug it back in for every compilation. This repetitive process is becoming quite cumbersome and is significantly hindering my development workflow.

Debug_error.png

Debug_config.png

IDE_info.png

 

I have tried several solutions I found online, such as changing the Reset behavior and switching debuggers, but the issue persists.

To help diagnose the problem, I’ve attached debugger information and IDE details. For reference, I’m using the NUCLEO-L4R5ZI board.

Any advice or suggestions would be greatly appreciated, as even the smallest tip could be a big help.

Thank you in advance!

kindongsy

    1 reply

    STTwo-32
    Technical Moderator
    September 8, 2024

    Hello @kindongsy and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    Could you try to change the reset behavior type from connect under reset to None.

    Best Regards.

    STTwo-32 

    kindongsyAuthor
    Associate
    September 8, 2024

    Thank you for your quick reply. Unfortunately, the error still persists. :sad_but_relieved_face:

    Any further advice would be appreciated.

    Best regards,
    kindongsy