Forum Discussion
Altera_Forum
Honored Contributor
16 years agoalt_tick() never exits
I'm having all sorts of problems adapting an existing design to run under v9.1. I have a cut-down design that runs, and now I'm trying to add another component to the SOPC, but with bizarrely random ...
Altera_Forum
Honored Contributor
15 years agoI had the same problem, I believe it is due to the tick interrupts coming in faster than the NIOS can process them. You can prevent the interrupts from starting by copying the file alt_main.c from the bsp project into your application project and commenting out the following line.
alt_irq_init (NULL); This will prevent all interrupts from being initialized. Another solution should be to slow down the timer so the NIOS is not overloaded with interrupts.