I am trying to code an ISR using a register class, but getting an exception,
[quote]#### Exception System.ArgumentException - 0xfd000000 (1) ####
#### Message:
#### GHIElectronics.NETMF.Hardware.LowLevel.Register::.ctor [IP: 0000] ####
#### FEZ_Panda_II_Reg_SPI.RegSPI::.ctor [IP: 005d] ####
#### FEZ_Panda_II_Reg_SPI.Program::Main [IP: 0004] ####
A first chance exception of type ‘System.ArgumentException’ occurred in GHIElectronics.NETMF.Hardware.dll
An unhandled exception of type ‘System.ArgumentException’ occurred in GHIElectronics.NETMF.Hardware.dll[/quote]
This is only happening when creating registers in the address range
public const uint VIC_BASE_ADDR = 0xFFFFF000;
public const uint VICIntSelect = VIC_BASE_ADDR + 0x00C;
public const uint VICIntEnable = VIC_BASE_ADDR + 0x010;
public const uint VICIntEnClr = VIC_BASE_ADDR + 0x014;
public const uint VICVectAddr = VIC_BASE_ADDR + 0xF00;
public const uint VICVectAddr = VIC_BASE_ADDR + 0xF00;
This fails
Register VICVectAddr = new Register(SPI_Regs.VICVectAddr);
Is there a range of registers that cant be accessed this way on the Panda II?