A first chance exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll Uncaught exceptionat,
public ENC28J60Driver(Cpu.Pin irqPin, Cpu.Pin csPin, SPI.SPI_module spiModule) { EXCEPTION --> irq = new InterruptPort(irqPin, true, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeLevelLow I am using, case InterfaceProfile.NetduinoMini_ENC28: //GPIO_PIN_5 = 59 and GPIO_PIN_7 = 61 Start(MacAddress, name, SPI.SPI_module.SPI1, (Cpu.Pin)59, (Cpu.Pin)61); //Interrupt, /CS and Locals reports: irqPin = 59 and csPin = 61.I know that the ENC28J60 is hooked up correctly because the the driver posted by hanzibal runs just fine with this pin configuration and produces output such as this,
################################ Program.Main[06/01/2011 00:51:33] --> Received frame data of length 148 ENC28j60[06/01/2011 00:51:35] --> IRQ occurred ENC28j60[06/01/2011 00:51:35] --> IRQ_PKT: frame(s) arrived
mIP0.3 deploys and starts execution with out any errors. Any ideas about what is wrong?
Baxter