[U-Boot-Users] Why S-Records?
Wolfgang Denk
wd at denx.de
Fri May 30 12:32:38 CEST 2003
Dear Rupesh,
in message <000f01c326ce$12c7ac60$6706a8c0 at 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
More information about the U-Boot
mailing list