gary-e-a wrote on Monday, January 28, 2013:
I am a newbie with FreeRTOS and have encountered a problem with tasks not being switched to when the demo application is running.
The target is a Tern 186 B engine board> I am using Paradigm 7.00 as the developer IDE.
I am using the demo project WizNET_DEMO_TERN_186… I have seen task / priority issues with this demo. Since I did not have all of the hardware used in this project I commented out the serial and http task creates in main.c. I also modified 186.cfg (changed the amount of RAM from 128 to 512, the rdonly map from 0x0800 to 0x7ffff to 0x2c000 to 0x7ffff and the CODE_START from 0x0800 to 0x2c000) and freertosconfig.h (config_USE_IDLE_HOOK from 1 to 0 configCPU_CLOCK_HZ from 80000000 to 40000000). After downloading the application I set breakpoints inside the various forever loops that are in the created tasks. When I executed the code none of the breakpoints were hit. I did this because an earlier debug session with a breakpoint in the prvCheckTask function in main.c showed that no other task was running so I thought I could confirm this by breakpoints in the forever loops.
What could be causing the lack of task execution other than prvCheckTask (I even changed its priority from tskIDLE_PRIORITY + 4 to tskIDLE_PRIORITY + 2)?
Thanks