Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: A couple of basic questions.

2004-10-31 by embeddedjanitor

--- In lpc2000@yahoogroups.com, Robert Wood <robert.wood@a...> wrote:
> Hi folks,
> 
> My first question is me being a little lazy really! 
> 
> Regarding startup code:
> 
> I'm writing some code for the LPC2294: does anyone know if it's 
possible to 
> use the startup code such as LPC210X_Startup.s and crt0.s that 
comes with 
> Crossworks with the 2294? 

The startup for these is pretty similar.  You should be able to use 
the same startup for most basic tasks.

> 
> Regarding modes:
> 
> I'm writing some straight forward run-til-complete non operating 
system code, 
> should I just put the processor into supervisor mode and leave it 
there? If 
> not, what is the best mode to put it in? 

It is best to use system mode for these sorts of task. You can then 
use supervisor mode for software interrupts (SWI) if you ever need 
this.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.