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

Writting to TMS470's pheripheral registers

Hi all,

I am testing a application in TMS470R1B1M evaluation baord with ULINK2 as debugger and Environment is uVision3.Compiler selected is RealView ARM.

As per TI TMS470 Data sheet,some of the pheripheral registers can be written only in privilege mode of ARM7 CPU.

AS per the KEIL flow.....As soon as control enters the main of my application.ARM7 CPU goes to USER mode.

How to enter to privilege mode from User mode ?

I need this jumb because I can't move further with improper initializations of SFRs...

Please help

Parents
  • I commented the code for jumping to User mode in startup code of TMS470 so that CPU is always in supervisor mode.Now I am able to update all the SFRs.
    Is there any thing harm in running the total application in "Supervisor mode",since I may want to update the SFRs during run time.

    regards
    PRAVIN T

Reply
  • I commented the code for jumping to User mode in startup code of TMS470 so that CPU is always in supervisor mode.Now I am able to update all the SFRs.
    Is there any thing harm in running the total application in "Supervisor mode",since I may want to update the SFRs during run time.

    regards
    PRAVIN T

Children
No data