ammaree wrote on Tuesday, January 06, 2015:
I am having a problem getting the above function to work correctly.
Some background:
I am using FreeRTOS 8.1.2 on a TI CC3200 LaunchPad
I am creating 3 different timers with intervals of 10ms, 1s, and 30s to do various things.
The application is running rock solid in various configs on a number of devices but a number of things I am finding wrong being:
A: Missing “Tmr Svc” task from the task list. See output below
[ 27.621] ±±---------±-----±–±-----±-------±--------+
[ 27.621] 0 (null) | 0/ 0 | 0 | 0 | 0.00% | 0
[ 27.621] 1 Console | 2/ 2 | 1 | 328 | 0.03% | 93
[ 27.621] 2 SLSpawn | 4/ 4 | 2 | 184 | 0.00% | 12
[ 27.621] 3 SmpLnk | 4/ 4 | 2 | 400 | 4.56% | 12430
[ 27.621] 4 Receive | 2/ 2 | 2 | 856 | 15.22% | 41482
[ 27.621] 5 Transmit | 2/ 2 | 2 | 920 | 15.14% | 41243
[ 27.621] 6 Engine | 3/ 3 | 2 | 120 | 0.00% | 6
[ 27.621] 7 Sensors | 1/ 1 | 2 | 360 | 0.01% | 41
[ 27.621] 8 IDLE | 0/ 0 | 1 | 352 | 64.68% | 176207
B: if I perform a specific set of console instructions I succeed in corrupting the xTaskNumber and pcTaskName variables for the xTaskNumber=0 and pcTaskName=(null) entries.
My questions are:
A: Why the missing details (ALL of it) for the “Tmr Svc” task, even though it is there and running perfectly ?
B: How do I pinpoint where the task table entries get corrupted?
All help appreciated.
Andre