This is the mail archive of the ecos-discuss@sourceware.org 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: Huge memory footprint for a simple "hello world"


On Wed, Jun 07, 2006 at 01:47:04PM +0200, Socrates Socrates wrote:
> Correct that's what I needed.  Now problem is the tests work; it just
> hangs (or does nothing as seen from the last ine below), I followed
> the example from the website you sent.
> 
> Here are my steps using the simulator: (The results are the same even
> when I connect to the board)
> 
> ~/work/atmel/060606$ rm -rf *
> socrates@would:~/work/atmel/060606$ ecosconfig new eb40
> socrates@would:~/work/atmel/060606$ ecosconfig tree
> socrates@would:~/work/atmel/060606$ make -s
> headers finished
> build finished
> socrates@would:~/work/atmel/060606$ make -s tests
> headers finished
> build finished
> tests finished
> socrates@would:~/work/atmel/060606$ arm-elf-gdb -nw
> install/tests/kernel/v2_0/tests/bin_sem0
> GNU gdb 5.3 (eCosCentric)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
> (gdb) target bin
> Undefined target command: "bin".  Try "help target".
> (gdb) target sim
> Connected to the simulator.
> (gdb) load
> Loading section .rom_vectors, size 0x40 vma 0x2020000
> Loading section .text, size 0x6764 vma 0x2020040
> Loading section .rodata, size 0x394 vma 0x20267a4
> Loading section .data, size 0x2b4 vma 0x2026b38
> Start address 0x2020040
> Transfer rate: 225120 bits in <1 sec.
> (gdb) continue
> Continuing.

The arm simulator does not include a simulated serial port, so you
won't see anything.

What happens on the real target which will have a serial port?

     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]