I use FreeRTOS V7.1.0 on a LPC2368 togther with Crossworks 3.0.
I have two tasks and an ISR. H-task has a high prio. L-task has a low prio.
H-task executes xQueueReceive and gets blocked as expected.
L-task executes endless background processing and has no blocking statements.
When the ISR is called, I use the following code and would expect H-task to resume.
taskWoken = xQueueSendToBackFromISR(xWavPlayerRequestQueue,&pWavFile,&taskWoken);
if( taskWoken != pdFALSE )
But L-task keeps executing and H-task never resumes from xQueueReceive.
With the debugger I see that H-task is marked as “executing” but the breakpoint after xQueueReceive never hits.
Shouldn’t H-task be activated after the next vNonPreemptiveTick?
Thanks in advance.