Forum Discussion
Altera_Forum
Honored Contributor
14 years agoA few ideas. I any of these can help you.
1. You selected small C library in sys lib properties. I'm not sure, but if I remember correctly the reduced library uses an implementation of printf which is not thread safe. So this could explain your problem. Use the complete C library. If you can't, because of SRAM size, remove the printf in tasks and replace them with PIO/LED signaling. 2. Please check the usleep function. In some cases this is implemented as a rough blocking for() cycle. This would prevent a higher priority task to release control and your app would get stuck. 3. Is the timer period correctly set to 1ms or whatever? Regards Cris