Hi,
I am facing a serious problem with settin IRQ interrupt in my start up code for the micro TMS570LS30336. I have made all the other initializations like clearing registers, stack allocations and device settings. Finally when the system is in supervisor mode, i try to enable IRQ in CPSR with the follwing logic.
asm (" MRS R1, CPSR ");
asm (" BIC R1, R1, #0x80 ");
asm (" MSR CPSR, R1 ");
But when i do this an NMI interrupt gets enabled or some other that my code halts. When i comment out this and run, my code works fine except that interrupts doesnt work. Could somebody please help me?
Thanks & Regards
Firoz