Infineon Aurix TC399 FreeRTOS fall to trap at start up

Hello

I’m trying to run a FreeRTOS application on the Infineon Aurix TC399 MCU.

My project is based on iLLD_TC375_ADS_FreeRTOS_Basic demo, iLLD version is 1.19.2 and i’m using Tasking 6.3r1

My code is very simple, it increments a counter in a task called every second.

Unfortunately, the code fall in trap when running the “vTaskStartScheduler()” fonction

Can someone help with this ?

Many thanks

Vincent

Looking at your callstack, it seems like scheduler successfully starts the timer task. You can confirm that by putting a breakpoint in the timer task.

One possible reason of the trap may be that the system call handler is not correctly installed. I am not familiar enough with this part to be able to tell how to install system call handler correctly. You may reach out to Infineon to learn about this.