Hello,
I have a custom board that uses the PCIe Peripheral Boot Mode. I have loaded a via the PCIe port an app onto the ARM Cortex A8 and can see the app is running. However I want to enable some interrupts but I am unable to change the state of the CPSR (which by default has IRQ disabled). I am using the CPSR compiler intrinsics such as _set_CPSR(uint src ); and _enable_IRQ(): however the CPSR remains unchanged.
I believe this is because the bootcode in the ROM configures the Secure Configuration Register to not allow a user mode non-privileged source to modify these bits. I tried to enter System Mode by writing to the CPSR but this did not work either.
Is there any way to enable the IRQ? Do I need to enter a privileged mode and how?
Thanks,
Colin