This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to choose the package and the multi-thread
- To: kiki w <kiki_wus at yahoo dot com>
- Subject: Re: [ECOS] how to choose the package and the multi-thread
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 05 Oct 2001 19:06:00 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20011005173125.15535.qmail@web11301.mail.yahoo.com>
kiki w wrote:
>
> hi,
>
> Thanks for your reply, for my first question, I got
> the following after using arm-elf-size
>
> $ arm-elf-size hello.exe
> text data bss dec hex filename
> 26660 2320 15404 44384 ad60 hello.exe
>
> is it bytes or bits?
Bytes. And of course you can still reduce it substantially using
configuration.
> 1. build templates: choose EB40 and default package
> 2. Once I have the EB40 template selected, click on
> the "eCos HAL"package to open it up. Next, click on
> the "Atmel evaluation board (EB40)" package
> to open it. Choose startup type from the RAM to ROM.
> 3. Build the library.
>
> I was wondering whether what I did is correct.
Yes.
> Then I download an application code into the board
> (with linking to the new liarary),but I got the
> following
> error message from the gdb consile window:
>
> Loading section .rom_vectors, size 0x40 lma 0x1010000
> loading section .text, size 0x65dc lma 0x1010040
> ..............................
> .............................(omit )
You can't download something into ROM! You have to use a ROM or Flash
programmer of some sort. Or if you are using Angel, you have to program it
into ROM using its routines. This would be done the same way you programmed
RedBoot into ROM as per
http://sources.redhat.com/ecos/docs-latest/redboot/at91.html
So do it by downloading and running a RedBoot RAM image first, then loading
and programming your application ROM image.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine