This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: upload using xmodem, ymodem
- To: Christoph Csebits <Christoph dot Csebits at frequentis dot com>
- Subject: Re: [ECOS] upload using xmodem, ymodem
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Wed, 13 Jun 2001 06:07:14 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 13-Jun-2001 Christoph Csebits wrote:
> On Tue, Jun 12, 2001 at 10:41:08AM -0600, Gary Thomas wrote:
>>
>> I use this script for 'minicom' on Linux. It sends a binary file
>> to RedBoot. If you want to send .srec file, just leave out the
>> "-b" and "-r" options. In 'minicom' the script is activated via ^A-G
>
> Thank you for your script. Using it results in
> the following.
>
> RedBoot>
> ** Error: Illegal command: " "
> RedBoot>Sending upload, 674 blocks: Give your local XMODEM receive command now.
> Xmodem sectors/kbytes sent: 0/ 0kRetry 0: Got 24 for sector ACK
> Retry 0: Got 24 for sector ACK
>
> Is there a conflict using one serial line for sending
> redboot commands with reading the results and also
> trying to upload a file?
Did you run the script intact? On what platform? What version of RedBoot?
The messages from 'sx' indicate that you've dropped into GDB. Kill the 'sx'
and just type return on the console. What does it show?