This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re-2: RedBoot file download expect script
- From: eibach at gdsys dot de
- To: WPD at dtccom dot com
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: 23 Nov 2004 14:51:28 UT
- Subject: [ECOS] Re-2: [ECOS] 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