This is the mail archive of the ecos-discuss@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: Default CME555 too big


> However, when we built the eCos library (using the CME555 template and the
> default package) and made the example programs, they came in around 1 MB,
> much too big to run from external RAM.  Is there a different package we
> should be using here to build the library?

I presume the 1MB is the size of the elf file and not the binary. Run 

powerpc-eabi-size(1) on the elf to find out the size of the binary.

> But downloading that to RAM via gdb hasn't produced anything.  Generally we
> do the following:
> 
> % powerpc-eabi-gdb hello
> 
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/ttyS0
> (gdb) continue

Err, what about the load command?

        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


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