This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: executing applications
- To: Stijn Symons <stijn dot symons at acunia dot com>
- Subject: Re: [ECOS] executing applications
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 16 Aug 2001 15:22:01 +0100
- Cc: "ecos-discuss" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <3B7BE52B.F0697082@acunia.com>
Stijn Symons wrote:
>
> Hi,
>
> is there any other way to execute an application other than gdb? We've
> got the hello-world program running with gdb, but it get's lost when we
> reset the ipaq. So we've been trying to load and execute the program in
> redboot (in elf, binary and srec formats) but it won't run...
You mean if it loads via GDB it works, but if you load the exact same
executable (albeit converted to binary or srec), if doesn't? That shouldn't
happen :-|. Are you running it with the correct entry point?
> Is there a way to put the program in ROM with gdb or is there any other
> way to get a program running on redboot/ecos?
Yes, assuming the sections are all loaded consecutively, you could load it
with GDB, then quit GDB, start a terminal emulator at which point you
should have the RedBoot command line, and then program it into free flash -
it will still be at the addresses that GDB loaded it to.
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