From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Gary Thomas Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Redboot: [xyz]modem via TCP? Date: Fri, 09 Feb 2001 10:36:00 -0000 Message-id: <20010209124035.A4645@visi.com> References: <20010208163254.A3275@visi.com> X-SW-Source: 2001-02/msg00153.html 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