
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" wd@denx.de To: "Rupesh S" rupeshs@myw.ltindia.com Cc: u-boot-users@lists.sourceforge.net 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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users