This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: help for no release version
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "yang yu" <yuyangyy at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 15 Feb 2005 10:09:15 +0000
- Subject: Re: [ECOS] help for no release version
- Original-original-sender: nickg@ecoscentric.com
- References: <BAY24-F1403C7825577561A949FA8D26B0@phx.gbl>
"yang yu" <yuyangyy@hotmail.com> writes:
> Hi,
>
> I have completed compiling a NET template for a board. Arm-elf-gcc
> worked well to generate an out file for arm-elf-insight. Working with
> Insight, everything went right! Then I did this, arm-elf-objcopy
> ¨CO srec a.out a.srec. Afterwards, I loaded the srec to the board
> and wished it would work by itself. But there were some unrecognized
> characters on HyperTerminal (serial console). Ping failed. (Expected
> result: show “hello world”) How to solve this problem?
>
> RedBoot> load -v -r -h 192.168.1.185 -b 0x0c100000 hello1.srec
> Using default protocol (TFTP)
> Raw file loaded 0x0c100000-0x0c1d9279, assumed entry at 0x0c100000
Your problem is that the file is in SREC format but you are loading it
in binary mode. So you are just trying to execute the ASCII text of
your program. Remove the -r option and try again.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
Besuchen Sie uns vom 22.-24.02.05 auf der Embedded World 2005, Stand 11-124
Visit us at Embedded World 2005, NÃrnberg, Germany, 22-24 Feb, Stand 11-124
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss