cancel
Showing results for 
Search instead for 
Did you mean: 

Code compiles and runs but not the debugger from STM32CubeIDE

SKham.2
Associate II

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

1 REPLY 1
SKham.2
Associate II

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

0693W00000NqppkQAB.png