This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Segger SystemView support ?

Hello,

Is there any way to use Segger SystemView with SD ?

Parents
  • Yes and no, rather depends what you're trying to get out of it. You can certainly link in the segger systemview library with your source using the softdevice, you can even do it if you have an RTOS running and you can also use an instrumented version of the RTOS (see the segger docs) and capture lots of information about that. SystemView in the end just uses RTT which is a simple memory buffer constantly read by the Segger.

    However none of the calls into the softdevice will be instrumented because the SD isn't and nothing will call the SystemView hooks to provide any useful information. I suppose if you were feeling very creative you could replace the interrupt handler table with one of your own which calls the segger start/end functions and then forwards on to the usual place. That's not a job for the faint of heart however.

Reply
  • Yes and no, rather depends what you're trying to get out of it. You can certainly link in the segger systemview library with your source using the softdevice, you can even do it if you have an RTOS running and you can also use an instrumented version of the RTOS (see the segger docs) and capture lots of information about that. SystemView in the end just uses RTT which is a simple memory buffer constantly read by the Segger.

    However none of the calls into the softdevice will be instrumented because the SD isn't and nothing will call the SystemView hooks to provide any useful information. I suppose if you were feeling very creative you could replace the interrupt handler table with one of your own which calls the segger start/end functions and then forwards on to the usual place. That's not a job for the faint of heart however.

Children
Related