Re: problem in xmodem upload with minicom to prepare for flashing iPAQ

From: Miah Gregory <miah_at_picsel.com>
Date: Tue, 24 Jul 2001 11:18:14 +0100

In message <dexter.87d76rf665.fsf_at_morphin.marquardt-home.de>
          Colin Marquardt <colin_at_marquardt-home.de> wrote:

> "Robert E. Hartley" <rhartley_at_ics.com> writes:

> > What is that timing problem work around to get minicom to allow
> > xmodem uploads to the iPaq in order to flash it.

> Be real quick or use cu.

-snip url-

An alternative, and much (I've never had a problem with this method yet)
more reliable method when using minicom is to create a script, containing
the following:

-start script-
send "load bootldr"
expect {
        "read for xmodem download.." goto sendfile
}
print Upload failed
exit

sendfile:
!sx -vv bootldr-0000-2.14.5-bigkernel-mono
-end script-

Of course, you need to change the 'load bootldr' line for whichever partition
you're using, and the sx line to point to the correct file.

To use this script in minicom, do ctrl-a g, setup the script name, and hit
return. All being well, it will go perfectly.

-- 
Miah Gregory, Software Engineer, Picsel Technologies Ltd
Received on Tue Jul 24 2001 - 03:10:44 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT