Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by sanjay822@Dec 21 2005, 07:20 AM 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 interrupt latency, but not able to handle the interrupt. i have tried it with clock and pio buttons. but, the similar program is running on nios without ecos, there i am able to handle the corresponding interrupts generated by clock and buttons.
can anyone please clarify what may be the problem, and how can i rectify it?
with regards,
sanjay
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11691)
--- quote end ---
--- Quote End --- Your program will need re-writing to run under eCos I am surprised that your program compiled and linked! The API's for registerring an ISR are different i.e. alt_irq_register is replaced by HAL_INTERRUPT_ATTACH. For more information you need to read the eCos documentation which is found in altera\kits\nios2\components\ecos\doc\html\index.html