Hi sunil,
I need to switch TMS470 to privilege mode !!
Please reply ASAP
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi sunil,
I need to switch TMS470 to privilege mode !!
Please reply ASAP
Thanks
Hi Madhav,
I take it that you are using the TMS470 R1B1M MCU in your application, based on your other post. This MCU uses the ARM7TDMI processor. After reset, the CPU is in a supervisor mode, which is a privileged mode. Once you place the CPU in the user mode, you can switch back to a privileged mode only via an exception.
The easiest way to cause an exception and handle it gracefully is by using a software interrupt (SWI). There is a similar post referring the TMS570LS20216 MCU. You can find it here. The information in that post also applies to the R1B1M MCU (using the SWI instruction).
Please let me know if this information is not adequate.
Regards, Sunil