I using FreeRTOS for differents tasks and one of them calls vTaskSuspendAll() to suspend all real time activity. After performing the operation i want to reactivate the scheduler with xTaskResumeAll(). But the tasks don´t start to work. I have generated the TickHook ISR the check the scheduler and count up a variable in this function. This works fine but the tasks don´t work again after calling the resume order…
Does anybody know this problem?
breaks out of the case statement while the scheduler is still suspended. Calls to vTaskSuspendAll() can nest, so exactly the same number of calls to xTaskResumeAll() must be made as previous calls to vTaskSuspendAll() before the scheduler is resumed. When your problem occurs inspect the value of uxSchedulerSuspended (in tasks.c) and you will probably find that it is not zero.