From: bomellberg <bo.mellberg@physio-control.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] loadb problem. Hangs on START_CHAR
Date: Fri, 7 Nov 2014 05:53:22 -0700 (MST) [thread overview]
Message-ID: <1415364802594-195144.post@n7.nabble.com> (raw)
Hi.
I'm working on getting u-boot running on a custom board. I am using code
from Emcraft as a starting point. The cpu is NXP LPC4337. The board has
external SDRAM and SPIFI flash, but no wired network.
I can boot u-boot fine, and I can perform some memory operations with md and
mw.
I can load the Hello World standalone example using loads and run it with
go.
I cannot use the loadb command though. The transfer hangs at the beginning.
Using some crude printing debugging I found that the START_CHAR is not
received.
From cmd_load.c:
I never get the "S", so the transfer never starts. I have tried Tera Term on
Windows and C-Kermit on Linux, using the settings mentioned in the DULG. I
have tried two different USB-to-RS232-3.3V dongles.
A search in the archives shows a possible explanation in FIFO byte order,
but I cannot find a place to alter this. Could it be the FIFO byte order for
the UART is important for the kermit transfer, but not for the console?
An oscilloscope picture of the kermit transfer's first bytes:
<http://u-boot.10912.n7.nabble.com/file/n195144/tek00002.png>
It sure looks like a 0x01 as the first byte. But the code doesn't reach the
"S" debug.
If I send 0x01 using RealTerm, I get the "S" debug. I can't figure this out.
Thankful for any help.
/Bo
--
View this message in context: http://u-boot.10912.n7.nabble.com/loadb-problem-Hangs-on-START-CHAR-tp195144.html
Sent from the U-Boot mailing list archive at Nabble.com.
next reply other threads:[~2014-11-07 12:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-07 12:53 bomellberg [this message]
2014-11-10 12:33 ` [U-Boot] loadb problem. Hangs on START_CHAR bomellberg
2014-11-10 12:51 ` Wolfgang Denk
2014-11-10 12:56 ` bomellberg
2014-11-17 9:54 ` bomellberg
2014-11-17 11:44 ` Wolfgang Denk
2014-11-17 11:57 ` bomellberg
2014-11-17 12:37 ` Wolfgang Denk
2014-11-17 12:38 ` bomellberg
2014-11-17 13:30 ` Wolfgang Denk
2014-11-17 13:44 ` bomellberg
2014-11-17 16:20 ` Wolfgang Denk
2014-11-17 17:04 ` [U-Boot] loadb problem. (was: Hangs on START_CHAR) bomellberg
2014-11-17 12:39 ` [U-Boot] loadb problem. Hangs on START_CHAR Wolfgang Denk
2014-11-17 13:23 ` bomellberg
2014-11-17 13:34 ` Wolfgang Denk
2014-11-18 8:43 ` [U-Boot] [SOLVED] loadb problem bomellberg
2014-11-18 18:38 ` Wolfgang Denk
2014-11-18 20:46 ` bomellberg
2014-11-19 12:16 ` Wolfgang Denk
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=1415364802594-195144.post@n7.nabble.com \
--to=bo.mellberg@physio-control.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