FreeRTOS V7.0.1 Software Timers

krumpc wrote on Tuesday, June 07, 2011:

My system looks like this:

I initialize a task with priority 10. The task only counts up a variable as indication that it lives or doesn’t. After this, I create a timer, and start this timer. Parameters: auto reload = 1, timer period = 1000. After this I start the created timer. In my FreeRTOSconfig.h File, I chose as TimerTaskPriority 11. Now I start the scheduler. Now I expect, that my timer callback function, which also counts up a variable, works every second, and my normal task doesn’t work. But nothing happens, the task doesn’t work (understandable because of the lower priority) but the timer callback function also doesn’t work. I stepped through the timer task and found out, that my timers don’t become inserted to the timer lists. (pxCurrentTimerList).