[SOLVED] Hard Fault when tracing with SystemView

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Hard Fault when tracing with SystemView

    Hi,

    I got a problem with a STM32 TrueStudio project. When I debug it just in TrueStudio, the code is executing as it should. When I also start SystemView, I will run into a Hard Fault during execution (to sumarize the code: When I trigger a UI button event to output audio).

    I don't quote some code right now because I don't really know, what could cause this problem and where to look for the problem.
    I checked the settings in general in FreeRTOSConfig.h (e.g. increased configTOTAL_HEAP_SIZE, configMAX_TASK_NAME_LEN) but there was no obvious error in setup.


    Maybe somebody has any idea where I could find the reason for this error?

    You need more information?

    Thank!
  • I guess it must have been a stack overflow. There is a lot of code in that project I don't really know (because I didn't write it). Increasing the stack of the responsible task directly solved this problem (as far as I can tell at the moment).
    closed