I am trying to run FreeRTOS on CM33 in this facing an issue at the end of vRestoreContextOfFirstTask while trying to jump at EXC_RETURN (0xFFFFFFBC) which is leading to an Exception.
So can anyone, please help me understand how after this function control will jump to task's definition.
I met same issue. It looks like a bug of portasm.s.
when configENABLE_MPU == 0, not all registers poped.
The EXC_RETURN has been wrong restore to PC.
Hi All, I am facing the same problem. Have you found a solution yet? what will be the value of EXC_RETURN when we use freertos non secure mode.
View all questions in Cortex-M / M-Profile forum