Altera Nios Ethernet Development Kit: "spurious interrupt number: 0000 001C"

Hi,

I'm trying to use the Nios Ethernet Development Kit to run a simple example program, it build fine, but when I run it it comes up with a "spurious interrupt number: 0000 001C" error. Does anyone know how to solve this problem.

I'm using the Excalibur Apex development board, Nios 3.0, and the Nios Ethernet Development Kit 2.0.

Thanx.

Reply to
Colin
Loading thread data ...

Hi Colin,

Spurious interrupts occur when Nios is interrupted before a handler has been installed. Open the generated excalibur.h (under *_sdk/inc) and look the *_irq definition which is assigned 28. This will tell you what source is causing that interrupt. Why it's being generated is the question ... if it's an interrupt driven by I/O, it could be a floating pin or any number of things. Check the Quartus compile results to make sure all the pins are defined for starters.

To help debugging, or at least allow you to use the system until you find the problem, you can disable spurious interrupt trapping by double-clicking Nios in SOPC Builder, click the software tab, disable the option, and rebuild.

HTH,

-- Pete

Reply to
Peter Sommerfeld

Hi,

This has been discussed before:

formatting link

Jesse Kempa Altera Corp. jkempa at altera dot com

Reply to
Jesse Kempa

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.