From: Rupesh S Date: Fri, 30 May 2003 18:59:59 -0700 Subject: [U-Boot-Users] Why S-Records? References: <20030530103243.EA682C5492@atlas.denx.de> Message-ID: <005e01c32718$579e33f0$6706a8c0@SPLENDOR> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de having said that the S-Record decode algorithm is simple in terms of footprint and easeness to implement, the S-Record algorithm is highly inefficient with respect to speed of transfer of file. because decoding is done byte by byte basis. Rupesh ----- Original Message ----- From: "Wolfgang Denk" To: "Rupesh S" Cc: Sent: Friday, May 30, 2003 3:32 AM Subject: Re: [U-Boot-Users] Why S-Records? > Dear Rupesh, > > in message <000f01c326ce$12c7ac60$6706a8c0@SPLENDOR> you wrote: > > > > The discussion is about usage of S-Record files for Downloads instead of > > Binary file. > > Generally S-Record Downloads are used when the medium of communication > > is Serial Port , which has no Error Checking mechanism inbuilt in > > hardware. > > ...or which may be not 8-bit clean so binary transmission is > impossible. > > > Whereas when we consider the Network download throgh Ethernet, most > > bootloaders (u-boot as well) does a binary download. Is this because the > > Ethernet hardware has a Error Checking mechanism inbuilt ? > > This is one of the reasons. We also use binary protocols (like kermit > binary protocol with the "loadb" command) over serrial lines. > > > If yes, even using a USB hardware for download also can use Binary > > instead of S-Records?? > > Define "a USB hardware"... A mass storage device? A communications > device? A network device? > > > Please comment on my arguments? > > S-Records is a very simple protocol, which is easy to implement with > relatively small memory footprint, so it is usable even on small > micros where you could only dream of things like ethernet or USB host > functions. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de > "I've finally learned what `upward compatible' means. It means we get > to keep all our old mistakes." - Dennie van Tassel > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users