Yahoo Groups archive

Lpc2000

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

Thread

Re: [lpc2100] Many thanks to ariusdsp -> how to build application ?

Re: [lpc2100] Many thanks to ariusdsp -> how to build application ?

2003-12-16 by Lewin A.R.W. Edwards

Hi Kelvin,

> >The minimum startup code must:
> >
> >* contain the ARM exception vector table (which lives at 0x0000)
> >* copy initialized variables from ROM to RAM
> >* set up stack(s)
> >* zero out the heap (optional but STRONGLY RECOMMENDED)
> >* jump to main()
> 
> Also set uninitialized globals to 0.  That way you get a fairly
standard C 
> run-time environment.

You're right, what I actually should have said there is "zero out the
.bss segment". Thinkographical error. By way of defense, I'm trying to
port an Atari 2600 emulator to a virtually-undocumented PA-RISC-based
embedded system (set-top box) right now, so I think an insanity plea has
a good chance of success.

-- Lewin A.R.W. Edwards (http://www.zws.com/)
Learn how to develop high-end embedded systems on a tight budget!
http://www.amazon.com/exec/obidos/ASIN/0750676094/zws-20

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.