This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Load hello example with RedBoot
- Subject: [ECOS] Load hello example with RedBoot
- From: Andre Sebastien <sebastien dot andre at sxb dot bsf dot alcatel dot fr>
- Date: Mon, 30 Jul 2001 11:08:52 +0200
- CC: ecos-discuss at sources dot redhat dot com
- Organization: ALCATEL
- References: <20010729224143.A6728@visi.com> <20010729225742.A6891@visi.com>
Hi !!!
So i execute a RAM version RedBoot for a pid board
for see the output of the board stdout (serial port A) i use MINICOM
under linux
i convert hello.elf into hello.srec with this command : arm-elf-objcopy
--target=srec hello.elf hello.srec
PS: hello.elf have a size of 80Ko and now hello.srec have a size of
200Ko
i wrote this command : load -v -m xmodem (i try with ymodem too)
with minicom i make CTRL+A S select the file hello.srec !!!
The output by minicom is :
----------------------
Sending /users/andre33/ipp_pid/code/hello.srec, 1523 blocks:
Give your local XMODEM receive command now.
modem sectors/kbytes sent: 0/ 0kRetry 0: NAK on sector
Xmodem sectors/kbytes sent: 2/ 0kRetry 0: Got 41 for sector ACK on
Retry 0: NAK on sector
Xmodem sectors/kbytes sent: 1523/190k Retry 0: No ACK on EOT
Transfer incomplete
----------------------
so there are a problem with the end of file !!! but what should i do ?
Thanks,
best regards,
Sebastien.