This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using SystemView for debugging

Hello

I am testing out a blinky FreeRTOS example that's a part of the SDK and would like to use SystemView to visualize context switching and tasks. Are there any steps to go about using SystemView for debugging?

Parents
  • There is a blogpost for this specific usecase. I recommend you to use only the part which covers profiling of the application and not the softdevice. The softdevice profiling is done using smart hacks and workarounds very specific to that older version of the softdevice.

  • Thanks for the response.

    So you're implying I should skip steps involving the softdevice?

    A couple of initial questions:

    • when it talks about creating a systemview folder in the project, is it referring to the local path or inside the Segger IDE? Because they aren't mapped.
    • Where's Src/Config? It's currently not set up like that in ble_app_hrs_freertos example project. In fact, main.c is a part of the base folder and there's no such folder as Src.
    • Global.h are located under external/segger_rtt. Is there where I should be copying the files to my project?
Reply
  • Thanks for the response.

    So you're implying I should skip steps involving the softdevice?

    A couple of initial questions:

    • when it talks about creating a systemview folder in the project, is it referring to the local path or inside the Segger IDE? Because they aren't mapped.
    • Where's Src/Config? It's currently not set up like that in ble_app_hrs_freertos example project. In fact, main.c is a part of the base folder and there's no such folder as Src.
    • Global.h are located under external/segger_rtt. Is there where I should be copying the files to my project?
Children
Related