This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot: [xyz]modem via TCP?
On Fri, Feb 09, 2001 at 06:29:10AM -0700, Gary Thomas wrote:
> >> With Redboot, can you do [xyz]modem download via TCP instead of
> >> serial port?
> >
> > I slapped together a Python program that uses "sx" to download
> > an S record file via TCP using xmodem protocol. Small files
> > (less than 2K or so) work fine, but when I get up to about 2K,
> > RedBoot crashes. I can load thelarge files fine via TFTP and
> > xmodem/serial.
> >
> > Anybody else see anything like this?
>
> I've not tried this. If you want to share [only with me if necessary]
> the Python program, I'll give it a look-see when I get a chance.
Could the X Modem stuff be getting messed up by the code in
net_io.c that interprets Telnet escape/command characters? The
data file (Motorola S-records) is all ASCII, so it would have
to be the protocol stuff itself.
--
Grant Edwards
grante@visi.com