problems Porting to LPC2106
Jonathan Larmour
jifl@eCosCentric.com
Fri Oct 10 02:09:00 GMT 2003
Ashwin Patwekar wrote:
> Hello All ,
>
> I am trying to port ecos to the arm7 tdmi processor LPC2106 from philips on
> the ashling eval board.
>
> I am having problems defining the meory layout. In the reference guide it
> says that the configuration tool can be used to generate the memory layout
> files but I find no option to do this.
It's referring to the configuration tool version 1. Version 2 of the
configuration tool doesn't yet have support for the memory layout. Until
then you have to edit the mlt*.ldi and mlt*.h files by hand.
> Can any one please help me with this
> my ram starts at 0x40000000 and size is 0x10000
> my flash starts at 0x0 and size is 0x20000
>
> I tried editing the header files but when i compile and link hello then I
> get error
> /ecos-c/PFARM/gnuarm/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bi
> n/ld
> : address 0x160 of hello section .fixed_vectors is not within region ram
> /ecos-c/PFARM/gnuarm/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bi
> n/ld
> : address 0x10040 of hello section .rom_vectors is not within region ram
>
> Am I forgetting something ?
Probably ;-). Have a look at both the .ldi and .h files for the addresses
*throughout* the files. I guess you may have only changed the "MEMORY"
bits at the top of the .ldi file.
HTH,
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
More information about the Ecos-devel
mailing list