At 11:52 AM 6/5/04 +0000, you wrote:
>regarding the linker file(lpc2106.ld),
Which one? Where did you get it from? There are multiple variations. I
think there is at least one in the groups files section. I know there is
one with the newlib port I did and with some of the packaged GCC ARM ports
out there.
>i am unable to make it out what exactly the file is for and how it is
>designed for the need of a LPC processor.can any body give a detail
>expalnation of the file or some link where i can find some explanatiom
You could check the documentation for ld.
Basically, this file will tell ld where to place each 'segment' of code and
data generated by the compiler and assembler. For the LPC and similar
micros that means it 'tells' ld what foes in flash, what goes in RAM, and
what is placed in flash to be copied to RAM by the startup. It also tells
the startup where to place the stack and in some cases what order to place
some things in.
In some instances the special function registers are also defined in the file.
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