--- In lpc2000@yahoogroups.com, "dibosco" <robert.wood@a...> 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! ARM has something on this: http://www.arm.com/support/faqdev/1320.html I think that most of the C development toolsets will default to Supervisor mode when you run code developed with them. You will have to explicitly switch to User mode in your software if you require it. This is definitely the case with the GNU tools, otherwise none of the program examples which do things like flash LEDs wouldn't work. Leon
Message
Re: ARM Newbie question
2004-04-21 by leon_heller
Attachments
- No local attachments were found for this message.