Using the SystemView (Segger) reader

Posted in articles

SEGGER's SystemView environment is a real-time recording and visualization tool that visualizes the runtime behavior of embedded applications. With the new SystemView serializer, you can use impulse to read and analyze SystemView recording data from files or directly from running targets.

Target configuration

Please be aware that the reader has no back-path when using with a running target (ports). This means that you need to start the SystemView process manually with SEGGER_SYSVIEW_Start().

SEGGER_SYSVIEW_Init(1000,1000000L,0,0);
SEGGER_SYSVIEW_Start();

Configuration

You can modify the serializer behavior under Preferences->impuse->Serializer->[serializer name]:

You may modify the serializer parameters (see "Parameters" - global variables depending on the serializer type).

You may add serializer configurations. You can select one configuration when using the serializer.

The SystemView reader requires a serializer configuration to work. Get to Preferences>impuse->Serializer->SystemView, press Add and select the SystemView configuration:

The configuration requires a domain base to be set (this is ns by default) and optionally a list of user/rtos events. This list uses the same format as in SystemView (you may copy the content of the files SYSVIEW_embOS.txt or SYSVIEW_FreeRTOS.txt into this field). You may define multiple configurations for multiple targets.

View templates

After opening the viewer you will be asked to add a new view (you may create multiple views and switch between of them). A view describes all graphical presentations and can be created and modified by the user.

Chose the template "SystemView Default View" to create a ready-to-use view. You may later extend and modify the view according to your needs.