Skip to main content
SKham.2
Associate II
May 25, 2022
Question

Code compiles and runs but not the debugger from STM32CubeIDE

  • May 25, 2022
  • 1 reply
  • 1190 views

Hello,

I am working on a big project where the debugger from STM32CubeIDE stopped to work unfortunately but the code can compile and run in the other hand. The project use a touchscreen with TouchGFX and vendor code template with FreeRTOS layer.

To understand where the problem comes from, I have strongly lightened my code by keeping only 2 screens and the minimum of code possible but the debugger still does not work.

When I launch the debugger, it gets stuck on a Hard Fault in FreeRTOS that you can see in the image below.

0693W00000Nqcg1QAB.png 

I am wondering if the debugger needs to use MCU's memory to run ?

If so, maybe it is the cause of my problem as I can see the following memory usage as below:

0693W00000NqcfmQAB.pngDo you have any idea why the debugger doesn't work?

It's frustrating because my code works but the debugger does not...

Best regards,

Savanne

This topic has been closed for replies.

1 reply

SKham.2
SKham.2Author
Associate II
May 30, 2022

Here is my debugger configuration that works with small project but not on big one:

0693W00000NqppkQAB.png