Blog

Tracing Zephyr applications with SEGGER SystemView

By September 19, 2018 No Comments

New addition to Zephyr is support for tracing hooks and system-wide support for frameworks and host tools using the tracing feature. Zephyr did have a sample demonstrating SystemView, however it was not available as a global feature and was limited to the sample application. It also required the system event logger feature which was limited in many ways.

The video shows how to trace any application in Zephyr by just adding a configuration option to the application configuration file. Obviously it works only with boards that support SEGGER RTT and JLink, but should work over other interfaces, something we have not tested yet.

Using the same tracing hooks the plan is to support other tracing tools like Percepio Tracealyzer, Trace Compass and others.

View the Tracing with SEGGER SystemView and Zephyr video here.

This post originally ran on Anas Nashif’s personal blog. Read more from Anas here.