As in the title, I dynamically created three tasks, but after each task is executed, I call vTaskDelay() to enter the blocking state, but when all three tasks enter the blocking state, I get stuck in the idle task and cannot switch back. What is the problem? Woolen cloth?
The xTickCount value is as follows
It seems to be executing taskYIELD all the time
Solved! Go to Solution.
Thank you lukaszadrapa, after re-checking here, I found that it is a debugger problem. I am using the U-multlink-FX debugger. In the debug mode, FreeRtos cannot work normally (accurately, the timer seems to be dead. The same), this problem also occurred when debugging STM and PIT before, is there any good solution?
OK, this is known issue which has not been fixed yet:
https://community.nxp.com/t5/MPC5xxx/stuck-in-OSIF-TimeDelay/m-p/1348191
Unfortunately the only option now is to use another debugger.
Regards,
Lukas
Thank you for your reply : )