Hello, I am working with evmdm6437, in a very simple dsp/bios project. I have configured this two tasks via the DSP/BIOS statically, here is the code:
void task0(void)
{
while(1)
{
TSK_sleep(100);
LOG_printf(&trace, "task 0");
};
}
void task1()
{
while(1);
}
Task1 has lower priority than task 0. So the wished behaviour would be that task1 run for a while, until tsk0 wake up, and then preemt tsk1. But this is not working for me. It's just go to task0 from task1, and the the execution graph shows me that it sticks in the KNL_swi. What I am doing wrong? My code is very simple and there is just only this two task, but I can't get it working properly.
Thank you in advance