SEGGER RTT

Hello. I am trying to integrate segger sysview on my board. I can't see the variable I need to see and I'm getting an error like this. While compiling, it sometimes deletes the codes I wrote. What is the reason? Could you help?

Parents Reply Children
  • Hi ylmaz-

    Someone else will need to help with your other questions- or you can just try adding the functions inside each thread to see what happens ;-)

  • Hi,

    You only need to call these in one thread.

    SEGGER_SYSVIEW_Conf();
    SEGGER_SYSVIEW_Start();

    FreeRTOS must be instrumented to work with SystemView. So, when an RTOS event occurs e.g. task creation, semaphore posting etc the event information is written to RTT. In the Segger SyetemView supplied files there is a patch for FreeRTOS. The patch works with FreeRTOS 10.4.3 which is version included in FSP 3.6.0. However, the patch cannot be directly applied to the FSP FreeRTOS sources as the source and include files have a slightly different folder structure to that of the standard FreeRTOS distribution. So, you will need to take the FSP FreeRTOS sources and use them to create the standard folder structure and then exclude the originals from the build. The patch can then be applied.

    The below video (and others in the series) should be useful in understanding how to apply the patch and set up SystemView in e2studio which is Eclipse based.

    www.youtube.com/watch

    Ian.