Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNios stops responding to interrupts
Using Nios(3.2), Nios32@30mhz with some user logic modules in the C4. The simplest possible ISR will works a random number of times (< 30) and then stop working. The IRQ signal from the user logic is...
Altera_Forum
Honored Contributor
22 years agoThis is because printf uses the timer irq and because your isr never clears it's irq's bit. Every time your irq returns the isr manager is going to service the next irq which is just a big switch statement, so your irq can and will lock up everything else.
If you really don't want to service your irq then you can change the priority of the timer irq and avoid this problem in most cases, but I fully recommend servicing your irqs.