[SOLVED] Guidance on instrumenting FreeRTOS v10.3.1

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

  • [SOLVED] Guidance on instrumenting FreeRTOS v10.3.1

    I'm using systemview 3.54 with FreeRTOS v10.3.1

    I have applied the patch manually using all the patch files for FreeRTOS as guidance and have tripple checked the patch. I'm getting data into systemview but I must be missing something because it seems like the patch isn't enough to fully log everything that's happening in my code.

    I am wondering if I'm overlooking a #define to enable the instrumented code. As you can see in the attached image I have communications with the st-link but items such as Task Create are only there because I added the calls described in 6.1 of the manual. Same with Task Block. I manually added that in my vTaskDelay. However, when attempting to add other items from 6.1 system view keeps crashing on me. Section 6.1 states that I shouldn't need to do this.This is making me think I'm overthinking this.

  • I figured out my issues. I was calling the wrong header file from FreeRTOSConf.h. It should be #include "SEGGER_SYSVIEW_FreeRTOS.h and I was calling #include "SEGGER_SYSVIEW.h

    Also, instead of calling SEGGER_SYSVIEW_Conf() and SEGGER_SYSVIEW_Start() I'm just calling traceStart() only.