Keil Logo Arm Logo

Discussion Forum

Writting to TMS470's pheripheral registers

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
PRAVIN T
Posted
3-May-2007 18:24 GMT
Toolset
ARM
New! 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

Read-Only
Author
PRAVIN T
Posted
4-May-2007 12:47 GMT
Toolset
ARM
New! RE: Writting to TMS470's pheripheral registers

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

Next Thread | Thread List | Previous Thread Start a Thread | Settings

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.