This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Switching from Supervisor mode to Usermode

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

Parents
  • "...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).

Reply
  • "...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).

Children
No data