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
Read-Only
Author PRAVIN T
Posted 4-May-2007 12:47 GMT
Toolset ARM
RE: Writting to TMS470's pheripheral registers
PRAVIN T
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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.