[ECOS] eCos on LPC2106

Andrew Lunn andrew@lunn.ch
Tue Jun 19 13:07:00 GMT 2007


On Tue, Jun 19, 2007 at 02:34:37PM +0200, Alexandre wrote:
> Hi everybody !
> 
> I finally managed to have a good footprint of ecos, the size I want it
> to be actually, and I compiled both hello & twothreads code samples
> from the ecos' example directory.
> 
> But, i have a small problem when I try to upload the code to my board
> within gdb, the console gives me that:
> 
> Loading section .rom_vectors, size 0x40 lma 0x0
> DOWNLOAD FAILED: Memory access error while loading section .rom_vectors

Are you trying to load this into FLASH? I assume so, since the LPC
family is designed to run code directly from FLASH. 

gdb is not directly capable of that. You need a JTAG programmer.

    Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list