From: Steven Scholz <steven.scholz@imc-berlin.de>
To: Lokesh Kumar <kumar.lokesh@wrx-us.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: mpc8xx memory mapped 16550A uart garbage
Date: Wed, 15 Oct 2003 16:21:42 +0200 [thread overview]
Message-ID: <3F8D57F6.6020708@imc-berlin.de> (raw)
In-Reply-To: <3439AB3A99ECD5409F3A52ACF814744D158DA0@norcom2.norcom.net>
Lokesh Kumar wrote:
> Hi,
> I got the serial.c from DENX linuxppc_2.4._devel tree which has support for
> 16550A as memory mapped uart, and am using it as a module. I made
> modifications to match my board. When I start it, it correctly recognizes
> that I have a 16550A and at correct IRQ. However, when I open and send
> something through the port (I just do cat>/dev/ttySe0), I get garbage on the
> other side. My 16550 has a crystal of 3.6864MHz and the processor runs at
> 49MHz. I thought that this kind of garbage problem is generally due to baud
> rate not set correctly. I see the divisor correctly calculated as
> 3686400/16/9600 = 24 and being sent to 16550. What else could I be doing
> wrong?
Did you verify the baudrate using a scope to measure the bittime?
Steven
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-10-15 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 13:42 mpc8xx memory mapped 16550A uart garbage Lokesh Kumar
2003-10-15 14:21 ` Steven Scholz [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-15 20:34 Lokesh Kumar
2003-10-16 7:08 ` Steven Scholz
2003-10-16 20:14 Lokesh Kumar
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=3F8D57F6.6020708@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=kumar.lokesh@wrx-us.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.