Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHandling interrupt under eCos
Hi, I am evaluating eCos 2.0 on NIOS II 5.0 (on Windows 2000). For it I am using the port 'nios2ecos50.exe', obtained from download section of this forum. I wanted to measure the i...
Altera_Forum
Honored Contributor
20 years agoHi rugbybloke,
The file hal_intr.h, which contains all the protypes of interrupt handlers API, doesn't define the vector no.s for the interrupts. i have used TIMER_0_IRQ = 1 for the vector no. in cyg_interrupt_create for timer, but of no use. Can you tell the vector no.s corresponding to interrupts? If I want to test the clock interrupt, then I have to access the timer register. Then the code for timer register access can't be normally compiled under eCos? Thanks & regards, Sanjay