Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
729 Views

LAN91C1111 interrupt

I am migrating my old quartus and nios project to latest version 13.0. I got a problem now ,The ethernet communication is not working. I found the IRQ number become to -1 in system.h. but I assigned it to 14 in QSYS. Does anybody have same problem? 

 

 

# define LAN91C111_IRQ -1# define LAN91C111_IRQ_INTERRUPT_CONTROLLER_ID -1
0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
26 Views

I changed IRQ number in system.h as below, it works. but this is not a correct way, It will overwrite if i re-generate BSP. 

# define LAN91C111_IRQ 14 

# define LAN91C111_IRQ_INTERRUPT_CONTROLLER_ID 0
Altera_Forum
Honored Contributor I
26 Views

you should not change IRQ no from system. h go to the SOPC or Qsys assign required IRQ and generate the system, then it will reflect in your IRQ in system .h, system.h is just reflection of your hardware

Altera_Forum
Honored Contributor I
26 Views

The IRQ no is assigned to 14 in Qsys, why it's -1 in system.h.

Altera_Forum
Honored Contributor I
26 Views

After Assigning IRQ (14) , u need to generate system through QSYS, then only it will reflect in your system.h