[ECOS] loading application on redboot
Jonathan Larmour
jifl@eCosCentric.com
Fri Aug 1 04:34:00 GMT 2003
Satish Kumar wrote:
> Hi,
>
> using hyperteminal i have downloaded hello.srec at 0x40000 and this
> time when i tried "go 0x40040" redboot hangs..i see no output on the
> hyper terminal.
>
> btw, i tried another method i.e using arm-elf-gdb..after powering on my
> system, on "arm-elf-gdb -nw hello" ;i get the following output:
>
> $ arm-elf-gdb -nw hello
> 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-cygwin --target=arm-elf"...
> (gdb) target remote com1
> Remote debugging using com1
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Couldn't establish connection to remote target
> Malformed response to offset query, timeout
> (gdb) quit
>
> i m not sure if the problem is with building application or with
> the redboot_ROM monitor.
This probably means your application isn't built for the right address in
RAM. Do arm-elf-objdump -h on the (ELF) executable to see what the load
address is, and compare that against your memory map.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list