From: Peter Barada <peterb@logicpd.com>
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 13:09:36 -0400 [thread overview]
Message-ID: <1282151376.23742.30.camel@thunk> (raw)
In-Reply-To: <226BC4AFA29FC24789DFD00DFF3084C2524247EDD2@SAFEMAIL.safetran.railad.com>
On Wed, 2010-08-18 at 10:11 -0700, Mangelschots, Jef wrote:
> What file transfer protocol do I use when sending an S-record file when I issue the loads command ?
>
> I tried with both TerraTerm and Hyperterminal.
>
> In Terraterm, when I use File | Send File ...,
> In HyperTerminal, I use the menu Transfer | Send Text File ...
>
> In both these cases, it reads the first line correctly, but by the time it wants to process the following line, it ends up reading garbage. It looks like the terminal programs kept sending bytes while U-boot was processing the first S-record line (which is an S0 record).
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).
> I also tried sending a file with the protocols Xmodem, Ymodem, Kermit.
> Thy do not seem to work, or it is getting garbage (i.e. protocol specific headers, where it expects to see the actual S-record).
>
> Our U-boot is based on 2008.10.
>
>
> Any files attached to this e-mail will have been checked with virus detection software prior to transmission but you should carry out your own virus check before opening any attachment. Safetran Systems Corp does not accept liability for any damage or loss which may be caused by software viruses. The contents of this e-mail and any attachments are the property of Safetran Systems Corp and are intended for the confidential use by the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other person without written consent. If you are not the addressee, please notify us immediately at the following address: Safetran Systems Corporation, 2400 Nelson Miller Parkway, Louisville, Kentucky 40223. Safetran Systems Corp is a subsidiary of Invensys Plc. Registered office: Portland House, Bressenden Place, London, SW1E 5BF. UK Registered in England and Wales No. 1641421.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2010-08-18 17:09 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 [this message]
2010-08-18 17:38 ` Wolfgang Denk
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=1282151376.23742.30.camel@thunk \
--to=peterb@logicpd.com \
--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