wavenumber-eng / mcxn-iot

mcxn_iot
MIT License
0 stars 0 forks source link

Segger SystemView Test Project #3

Closed ehughes closed 3 months ago

ehughes commented 3 months ago

@jerpa77

An NXP customer was requesting some help with setting up Segger SystemView. The are using the i.MXRT1176, but we can test with any Zephyr board (FRDM-MCXN947)

SystemView is a free tool that works with the j-link. It can you thread usage, etc. graphically. It can send the tracing data over RTT

https://www.segger.com/products/development-tools/systemview/

See the section SEGGER SystemView Support

https://docs.zephyrproject.org/latest/services/tracing/index.html

image

Please set up a new project in the "applications" folder. Make it a copy of the "basic_synchronization" sample reference is the zephyr documentation.

See if you can get it working.

I don't think it is needed for systemview, but you can enable zephyr "awareness" in the ozone project:

https://wiki.segger.com/Zephyr_RTOS_awareness_in_Ozone

This is the proj.conf they used.

image

Once you get this working, please make some simple setup instructions.

jerpa77 commented 3 months ago

Done, here is the link of the project

https://github.com/wavenumber-eng/mcxn-iot/tree/main/applications/synchronization