2104 linker script

Started by sanjay varma October 25, 2004
Iam new to lpc210x. Iam working with gcc on lpc2104. I tried to port lpc2106 linker scripts on 2104. But I failed while debugging using those scripts. could any one kindly help me where I can get the linker script for lpc2104 including the start up routines.

Thank you.
Sanjay. __________________________________________________





An Engineer's Guide to the LPC2100 Series

At 09:41 AM 10/25/04 -0700, you wrote:
>Iam new to lpc210x. Iam working with gcc on lpc2104. I tried to port
>lpc2106 linker scripts on 2104. But I failed while debugging using those
>scripts. could any one kindly help me where I can get the linker script
>for lpc2104 including the start up routines.

http://www.aeolusdevelopment.com/Articles/download.html

You want the Newlib port layer (newlib-lpc) files. Includes startup source
and ld script for 2104.

Robert

" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "

Kelvin Throop, III



Sanjay:

LPC2104 is "only" a reduced memory version of 2106. Check the memory
size in the linker script.

Regards,

Ian

--- In , sanjay varma <sanjay_varma_bh@y...>
wrote:
> Iam new to lpc210x. Iam working with gcc on lpc2104. I tried to
port lpc2106 linker scripts on 2104. But I failed while debugging
using those scripts. could any one kindly help me where I can get the
linker script for lpc2104 including the start up routines.
>
> Thank you.
> Sanjay. > __________________________________________________
>





Sanjay,

to be more specific, the LPC2104 is identical to the LPC2106 except
the SRAM. While the LPC2106 offers 64k SRAM, the LPC2104 only offers
16k SRAM (and is therefore cheaper). All SFR addresses and SRAM start
address are indentical, the only difference is the end address of the
SRAM.

Cheers, Bob

--- In , "ian48harry" <ahi93@d...> wrote:
>
> Sanjay:
>
> LPC2104 is "only" a reduced memory version of 2106. Check the memory
> size in the linker script.
>
> Regards,
>
> Ian
>
> --- In , sanjay varma <sanjay_varma_bh@y...>
> wrote:
> > Iam new to lpc210x. Iam working with gcc on lpc2104. I tried to
> port lpc2106 linker scripts on 2104. But I failed while debugging
> using those scripts. could any one kindly help me where I can get the
> linker script for lpc2104 including the start up routines.
> >
> > Thank you.
> > Sanjay.
> >
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> >
> >
> >