Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

alt_irq_register

Altera_Forum
Honored Contributor II
1,022 Views

I'm using nios primarily as a USB controller for the philips 1362 device port on a de2-70 board, but I found when I flashed my design it wouldn't run without the usb-blaster plugged in. 

 

A lot of investigation later I found that this is the line which it gets stuck on. 

 

alt_irq_register(ISP1362_DC_IRQ, NULL, (void*)usb_isr); 

 

Can anyone tell me for what possible reason would that require the USB-blaster (obviosuly as well as the 1362) to be plugged in to function. It doesn't even have to be plugged into the same machine as the isp1362, it just needs to be plugged into something powered. And how could I go about fixing it. 

 

It's just an inconvenience requiring 2 USB cables coming from the PC. 

 

Thanks in advance.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
303 Views

Well I partially solved it by replacing alt_irq_register() with alt_ic_isr_register() 

 

Allows my systems startup sequence to load without blaster, but still doesn't interrupt unless blaster is connected. 

 

Any other ideas what might be an issue?
0 Kudos
Reply