C8051F120 Sililabs Demo problem
I am having trouble getting the Sililabs demo up and running. It is similar to other problems I have seen posted here but I have not seen a solution yet. I have cut down the demo to a couple tasks and here is what happens:
I have the same problem. Here is the sequence:
Main() runs and calls vTaskStartScheduler()
From there all goes well and control is passed to the first task:
vErrorChecks()
which starts to execute. At this point interrupts are enabled but the clock hasn’t reached the first tick yet. Execution proceeds to calling:
vTaskDelay()
which executes down to the bottom "force reschedule" loop which calls:
taskYIELD()
At this point interrupts are disabled and control is never returned to original task and the timer ISR is not run since interrupts are disabled.
Any help would be appreciated.
Brad