Part Number: F29H85X-SOM-EVM
Hello,
I am working with the F29H85x-SOM-EVM to test SSU functionality in combination with FreeRTOS.
I have tested different scenarios for SSU configuration, like having a FreeRTOS task in a different LINK but in the same STACK as the FreeRTOS context (similar to freertos_ssu_demo), or calling a function from a FreeRTOS task where the function is in a different STACK.
Now, I am trying to have the task in a different STACK
With this, I always run into a PR instruction security violation when switching to the task context (at the end of portRESTORE_FIRST_CONTEXT). I am guessing the SSU blocks the crossing of the STACK boundary when the scheduler tries to switch to the task context?
Is it possible to make the FreeRTOS use protected calls when entering tasks? How would I be able to make this scenario work?
Thanks!
Sophia