This is the mail archive of the ecos-discuss@sources.redhat.com 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: help for no release version


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]