In my project I am using FreeRTOS with SMP port which we have developed for MPC5777 Power PC micro controller.
Recently we started using Freertos MUTEXes for IPC and after this we have got issue with task preemption.
When we use preemption feature with configUSE_PREEMPTION 1 code hits this assert configASSERT( pxCurrentTCB->uxCriticalNesting == 0 ); from tasks.c and halts the execution of the code. If we run the debug session again it runs for sometime and again hits this assert and halts.
This issue is not seen if we disable the preemption feature by making configUSE_PREEMPTION to 0.
Could you please some inputs on what is causing this issue.
Thank you very much in advance!!