Panda II Emulator Problems

I wrote a custom emulator for the Panda II. However, I keep getting an error when trying to create an output pin in my application logic:


private Hashtable OutputPorts = new Hashtable();
OutputPorts.Add(OutputPortID.MOT_BY_L, new OutputPort((Cpu.Pin)FEZ_Pin.Digital.Di20, false));

Results in an error dialog:
An unhandled exception of type ‘System.ArgumentException’ occurred in Microsoft.SPOT.Hardware.dll

And then this second error:
[b]An unhandled exception of type ‘System.InvalidOperationException’ occurred in FEZPanda_II_GHIElectronics.NETMF.FEZ.dll

Additional information: FEZ Panda II not detected![/b]

I am assuming my custom emulator doesn’t look like a Panda II to my running application. Any idea what I am missing?

Greg

skip on using the FEZ DLL for now and concentrate on the other exception. I remember someone making an emulator before IIRC.