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

Tracealyzer for "FreeRTOS+Trace"

This question is similar to the feature request: devzone.nordicsemi.com/.../sdk-12-x-0-future-feature-requests

I have to evaluate if we buy Tracealyzer (percepio.com/.../). However, it's only of use to us, if we can use it with: Nordic SDK + "FreeRTOS+Trace". Does that work? Especially regarding the softdevice (S132 for nrf52832)

I'm asking because I didn't have much luck with SystemView, as it looks like we'd need to add some hacks...which I don't feel comfortable with for production. Refer to: https://devzone.nordicsemi.com/b/blog/posts/profiling-the-softdevice-and-freertos-with-segger-

Or is there any other way to get either Tracealyzer or SystemView to work?

Parents
  • No, there are no hooks in the softdevice that will allow you to use the SystemViewer. So you cannot use them to analyze softdevice interrupts. But  you can ofcourse use it to analyze application interrupts. A long time ago  RK has provided some hacks to be able to instrument your whole system using SystemViewer. Maybe you can use that .

  • Thank you for your answer Slight smile

    I found the article where RK has provided instructions on getting it to work with hacks. However, I don't feel comfortable applying those hacks and then ship that product. (refer to initial question)

    What about Tracealyzer for "FreeRTOS+Trace"? Would it work without any hacks in the softdevice? I only want to analyze the behavior of FreeRTOS (blocking tasks, ressource usage, etc.). To my knowledge, Tracealyzer would be perfect for that.

    However, this requires that Tracealyzer works even if the softdevice is present.

Reply
  • Thank you for your answer Slight smile

    I found the article where RK has provided instructions on getting it to work with hacks. However, I don't feel comfortable applying those hacks and then ship that product. (refer to initial question)

    What about Tracealyzer for "FreeRTOS+Trace"? Would it work without any hacks in the softdevice? I only want to analyze the behavior of FreeRTOS (blocking tasks, ressource usage, etc.). To my knowledge, Tracealyzer would be perfect for that.

    However, this requires that Tracealyzer works even if the softdevice is present.

Children
No Data
Related