[ECOS] Using 2 RAM segments in eCos Application

Ross Younger ecos@impropriety.org.uk
Mon Mar 28 11:45:00 GMT 2011


* Elad Yosef <elad.yosef@gmail.com> wrote:
> My application crash and prints to screen:
> $T0025:00e70000;1d:901740a0;#1c

That looks like a gdb stubs trace. Do you have RedBoot flashed to the
board? Is it running in ROMRAM startup mode? What RAM address is it using?

It's possible that you're scribbling over the RB code that handles the
virtual vectors and GDB stubs; to fix this you'd need to relocate the
section starting at 0xA0000400 somewhere higher in that RAM segment to
not clash.

> When I using only one RAM segment is works fine.

In single-segment mode, what base address are you using? If it's
0xA0400000 that would fit with my theory.


Ross

-- 
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