This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems Porting to LPC2106


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]