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-2: RedBoot file download expect script


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


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