public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] which protocol do I use to send S-record files when using the loads command ?
Date: Wed, 18 Aug 2010 19:38:15 +0200	[thread overview]
Message-ID: <20100818173815.0C745157D71@gemini.denx.de> (raw)
In-Reply-To: <1282151376.23742.30.camel@thunk>

Dear Peter Barada,

In message <1282151376.23742.30.camel@thunk> you wrote:
> 
> Hmm, sounds like you don't use any flow-control on the serial port so
> when u-boot goes away to do work it signals the other end(your host
> running Terraterm/HyperTerminal) to stop transmitting until u-boot's
> serial fifo has room in it.  If Terraterm/HyperTerminal don't have the
> right flow-control setup then they'll keep tyring to stuff data into the
> fifo (which gets dropped on the floor).

Such wild speculations that are not based on personal experience or
knowledge are not really helpful.


U-Boot does not implement any kind of flow control on the serial port.

For S-Record download, there is some basic synchronization based on
the echo of the input that it sends back (assuming CONFIG_LOADS_ECHO
is set in the board configuration), but this requires a terminal
emulation that understands how to handle that.  This is why the manual
recommends "cu" and "kermit".



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
But the only way of discovering the limits  of  the  possible  is  to
venture a little way past them into the impossible.
                         - _Profiles of the Future_ (1962; rev. 1973)
                  ``Hazards of Prophecy: The Failure of Imagination''

  reply	other threads:[~2010-08-18 17:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 17:50 [U-Boot] changes to U-boot and GPL Mangelschots, Jef
2010-05-28 20:26 ` Mike Frysinger
2010-05-28 21:04 ` Wolfgang Denk
2010-08-17 23:53   ` [U-Boot] loading S-record files Mangelschots, Jef
2010-08-18 17:11   ` [U-Boot] which protocol do I use to send S-record files when using the loads command ? Mangelschots, Jef
2010-08-18 17:09     ` Peter Barada
2010-08-18 17:38       ` Wolfgang Denk [this message]
2010-08-18 17:32     ` Wolfgang Denk
     [not found]       ` <226BC4AFA29FC24789DFD00DFF3084C2524247EE08@SAFEMAIL.safetran.railad.com>
2010-08-18 19:33         ` Wolfgang Denk
     [not found] <226BC4AFA29FC24789DFD00DFF3084C2524247EECE@SAFEMAIL.safetran.railad.com>
2010-08-19 17:28 ` [U-Boot] FW: " Jef Mangelschots
2010-08-19 17:33   ` [U-Boot] " Jef Mangelschots

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100818173815.0C745157D71@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox