Hi I had written a code for UART0 with interrupt.Im Using LPC2387 Series, I compiled this code in Keil V4.14. When i enter into debug mode by default its entering into Supervisor Mode ... So My code is not entering into ISR routine.... Is there any way to switch from Supervisor mode to User mode... Thanks in Advance
Mode_USR EQU 0x10 MSR CPSR_c, #Mode_USR
"...by default its entering into Supervisor Mode ... So My code is not entering into ISR routine"
Being in SVC mode does, itself, not stop interrupts from being recognized -- you may need to to clear the I and/or F bits in the CPSR (which cannot be done in USR mode).