From: Rogan Dawes <rogan@dawes.za.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ?
Date: Thu, 19 Aug 2010 21:46:01 +0200 [thread overview]
Message-ID: <4C6D89F9.6040603@dawes.za.net> (raw)
In-Reply-To: <AANLkTi=7zuPGN3ES_zqe6Qrwc+akB4S=JnkLNvsssj_T@mail.gmail.com>
On 2010/08/19 7:28 PM, Jef Mangelschots wrote:
> Ok, here is a summary of what I have found out so, with the help of
> Wolfgang. Many thanks.
>
> 4) I can not get this to work on our system (our U-boot is configured
> for 115200 baud). The following explanation is based on my
> observation. I might be wrong and please correct me if I am:
> U-boot can not keep up with the incoming text stream while parsing the
> S-records, i.e. I saw that it processed the first S0-record correctly,
> but when parsing the next record, it breaks off because the following
> record contains junk. As far as I can see, this seems to be because
> the Terminal program keeps sending data when U-boot is busy parsing a
> received S-record. Even after the S-record parser breaks off, the
> terminal program keeps sending the file content, which U-boot
> interprets a unknown commands. The junk record is basically what is
> left in the buffer by the time U-boot gets around to parsing the next
> record.
Have you tried configuring your serial port to operate at a lower speed?
setenv baudrate 57600
should tell u-boot to adjust the serial port settings, do the same in
your terminal software, and you should be able to continue. Press Enter
a couple of times to get your prompt back.
While it will be slower than 115200, it will likely be better than
introducing artificial delays after each character.
Rogan
next prev parent reply other threads:[~2010-08-19 19:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <226BC4AFA29FC24789DFD00DFF3084C2524247EECE@SAFEMAIL.safetran.railad.com>
2010-08-19 17:28 ` [U-Boot] FW: which protocol do I use to send S-record files when using the loads command ? Jef Mangelschots
2010-08-19 17:33 ` [U-Boot] " Jef Mangelschots
2010-08-19 19:46 ` Rogan Dawes [this message]
2010-08-19 20:06 ` [U-Boot] FW: " Wolfgang Denk
2010-08-19 20:56 ` Jef Mangelschots
2010-08-19 21:13 ` Wolfgang Denk
2010-08-19 21:15 ` Wolfgang Denk
2010-08-23 15:07 ` Detlev Zundel
2010-08-23 16:34 ` Grant Edwards
2010-08-23 21:00 ` Detlev Zundel
2010-08-23 21:10 ` Grant Edwards
2010-08-23 21:22 ` Ben Warren
2010-08-23 21:42 ` Grant Edwards
2010-08-23 21:24 ` Detlev Zundel
2010-08-23 21:50 ` Grant Edwards
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=4C6D89F9.6040603@dawes.za.net \
--to=rogan@dawes.za.net \
--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