[ECOS] Re-2: [ECOS] RedBoot file download expect script

eibach@gdsys.de eibach@gdsys.de
Tue Nov 23 14:56:00 GMT 2004


Hi,

> At this point, my board starts printing out the "C" characters, indicating
> it is ready to download a file via ymodem.  Normally, I tell minicom to
> start a ymodem transfer at this point.  I can't figure out how to do that
> with "expect".  It's probably pretty simple, but I can't figure out from
> just reading the man page.  (I hope to have the book sometime soon).  I 
> know
> I need to spawn the "sz" program, which is what minicom uses to send the
> file, but I can't figure out how to connect that program to my redboot
> spawn_id, wait for the download to complete, and reconnect to RedBoot.

why not simply use the present kermit session? a "set proto ymodem", "set file type binary" and "send xyz.bin" should do.

Regards,
Dirk

To: WPD@dtccom.com
Cc: ecos-discuss@ecos.sourceware.org


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list