Forum Discussion
Altera_Forum
Honored Contributor
14 years agoMicro C stops and does not resume
Hello, I have a problem using Micro C in Nios EDS. I do not have a wide experience working with Nios EDS and I am sorry if my problem is basic but I have not been able to find the solution. ...
Altera_Forum
Honored Contributor
14 years agoFirst of all, many thanks for your reply Cris72 :)
I attach a new file with several screenshots which I think they can be useful to understand my problem. Let me explain a little more.. I have put usleep() instead the OS function because TK_SLEEP was a problem for the compiler. On the other hand, the program is executed until OSStart() at least, so tasks are created but none of them is working. I tried other example with LEDs and switches and it did not work (only the first created task worked, which is very strange). However, everything works well in single threaded mode so the hardware design cannot be the problem. I have checked my design over and over again but I do not know what I am doing wrongly... I would be very grateful if you could help me. Many thanks ;)