Rob I think you have a reasonably good understanding of this. The only problem with using supervisor mode is that this is the mode used for SWi, so if you're using SWI then running in system/user mode is prefered. The reason this is an issue is that the ARM has banked registers, with various registers banked for various modes. If you're using exceptions (SWI, interrupts,...) then you don't want them stomping on your main thread of execution. -- CHarles On Thursday 22 April 2004 07:39, you wrote: > Hi folks, > > I hope this question isn't inaapropriate for such a group, but I'm new > to the ARM. Even though I've programmed a fair array pf eight and > sixteen bit devices in the past, I don't ever remember dealing with a > device that has a supervisor mode. As far as I understand it, > supervisor mode, user mode etc are for when you are running an > operating system. Therefore, if I write "normal" run-'til-complete > type software, does that mean that I can (or maybe should) just put > the device in supervisor mode on boot up and forget about it? > > If this is an FAQ type question for ARM users and someone knows of a > useful document to explain this sort of thing I'd be most happy to go > and read it if they'd be kind enough to point me in the right direction! > > Many thanks, > > Rob. >
Message
Re: [lpc2000] ARM Newbie question
2004-04-21 by Charles Manning
Attachments
- No local attachments were found for this message.