Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

[SOLVED/OR] SystemView causes assertion with FreeRTOS

Hi,

i'm using SystemView 2.26 and FreeRTOS 8.2.1 on an STM32F429.

As soon as I start the SystemViewer application on the host and connect to the target, my system gets stuck in a runtime assertion.
If i disable this assertion, I can use SystemViewer. What is the problem here?

I have attached a screenshot showing the stack trace during the assertion.

SystemView V2.30 includes a changed FreeRTOS interface for SystemView,
which does not cause the assertion.

We will probably add the changes for other ports, too. Currently this has to be done manually.

With the GCC CM4F port as a reference it shouldn't be a big deal.

In general it is:
Add traceISR_ENTER(); at the beginning of xPortSysTickHandler
Add traceISR_EXIT_TO_SCHEDULER(); when xPortSysTickHandler causes a context switch
Add traceISR_EXIT(); when xPortSysTickHandler returns to normal execution