Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHow to write jtag uart interrupt code ?
I made a Nios II embedded system, which the jtag uart module interrupt connects with the inner interrupt controller inside the Nios II. I try to write a c program to implement the interrupt, so I...
Altera_Forum
Honored Contributor
11 years agoThere is nothing special about the JTAG UART and writing an interrupt handler for it would be the same as for any other device.
It's a bit old, but this example is as good a starting point as any if you've never done that before: http://www.altera.com/support/examples/nios2/exm-developing-hal-drivers.html If you are trying to avoid cascading from your own ISR to the Altera HAL driver one, probably the easiest thing would be to clone the Altera HAL driver locally and modify it how you see fit.