Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI have been working a little more and I have information which I hope it is useful to solve the problem.
I was analyzing the micro c code and I found out the reason for which my program does not execute any taks: the code is suspended in an infinite loop in the command OSStart. To be more precise, the infinite loop is in the OSTimeTick function (I attach the code). The infinite loop is emphasized in grey. OS_IDLE_PRIO is defined with the same value as OS_LOWEST_PRIO in the micro c files. Therefore, it seems as if the idle task is not created. In my case the tasks have 10 and 11 priority, the lowest priority is 20 and both tasks are created well (the returned value is zero). In the previos reply I attached a .pdf with screenshots of my design. Does anybody know what I am doing wrongly or whatever? Any help will be welcome ;) Many thanks!