* Serial Port problem with 823e on Embedded Planet
@ 2001-06-27 17:50 Pergola, Michael
2001-06-27 18:09 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Pergola, Michael @ 2001-06-27 17:50 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Support (E-mail)
All,
I have an Embedded Planet with a LITE_DW Motorola 823 PPC using a HIOX
interface board. I am trying to debug a program sending out data from
ttyS1 and reading it back in on ttyS2. The latest patch has been applied
for the tty ports (kernel 2.2.14).
I want to be able to send any char over the serial link, so I've resorted to
using "raw" mode. The problem is that if an overrun occurs on the receive
side, there is nothing I can sense to indicate this situation. Has anyone
run into this problem and/or is there a solution to my dilemma?
Regards,
Michael Pergola
Software Engineer
Danfoss Air-Conditioning & Refrigeration Division
7941 Corporate Blvd.
Baltimore, MD 21236 (410) 931-8250 x4259
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serial Port problem with 823e on Embedded Planet
2001-06-27 17:50 Pergola, Michael
@ 2001-06-27 18:09 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-06-27 18:09 UTC (permalink / raw)
To: Pergola, Michael; +Cc: linuxppc-embedded, Support (E-mail)
Dear Michael,
in message <E1836A7F3557D311A14000805F9F36FCD4E383@usdfo011.usac.danfoss.net> you wrote:
>
> I have an Embedded Planet with a LITE_DW Motorola 823 PPC using a HIOX
> interface board. I am trying to debug a program sending out data from
> ttyS1 and reading it back in on ttyS2. The latest patch has been applied
I guess you are using the SMC ports for the ttyS* ?
> I want to be able to send any char over the serial link, so I've resorted to
> using "raw" mode. The problem is that if an overrun occurs on the receive
> side, there is nothing I can sense to indicate this situation. Has anyone
> run into this problem and/or is there a solution to my dilemma?
In raw mode you're kind of lost - the SMC's don't have any handshake
signals.
You could switch to use SCC's instead. We have a modified driver that
supports full HW handshake on all SCC's (and you can configure the
number and size of I/O buffers to optimize for throughput).
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
A direct quote from the Boss: "We passed over a lot of good people to
get the ones we hired."
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serial Port problem with 823e on Embedded Planet
[not found] <E1836A7F3557D311A14000805F9F36FCD4E385@usdfo011.usac.danfoss.net>
@ 2001-06-27 18:25 ` Matthew Locke
2001-06-27 18:53 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Matthew Locke @ 2001-06-27 18:25 UTC (permalink / raw)
To: Pergola, Michael
Cc: 'Wolfgang Denk', Friedlander Paul, Hihn Jason,
Support (E-mail), linuxppc-embedded
Pergola, Michael wrote:
>>You could switch to use SCC's instead. We have a modified driver that
>>supports full HW handshake on all SCC's (and you can configure the
>>number and size of I/O buffers to optimize for throughput).
>>
>>
> [Pergola, Michael] Is that the patch commproc.c.patch.gz dated
> 07/20/2000?
>
>
>
If you use both SCCs for uarts, you lose ethernet.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serial Port problem with 823e on Embedded Planet
[not found] <E1836A7F3557D311A14000805F9F36FCD4E385@usdfo011.usac.danfoss.net>
2001-06-27 18:25 ` Serial Port problem with 823e on Embedded Planet Matthew Locke
@ 2001-06-27 18:53 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-06-27 18:53 UTC (permalink / raw)
To: Pergola, Michael
Cc: Friedlander Paul, Hihn Jason, Support (E-mail), linuxppc-embedded
Dear Michael,
in message <E1836A7F3557D311A14000805F9F36FCD4E385@usdfo011.usac.danfoss.net> you wrote:
>
> > You could switch to use SCC's instead. We have a modified driver that
> > supports full HW handshake on all SCC's (and you can configure the
> > number and size of I/O buffers to optimize for throughput).
> >
> [Pergola, Michael] Is that the patch commproc.c.patch.gz dated
> 07/20/2000?
No, this was added only lately. I did not prepare a patch for this
yet. See the source tree at
ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2001-05-12.tar.bz2 ,
plus the patch at
http://lists.linuxppc.org/listarcs/linuxppc-embedded/200106/msg00220.html
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Yes, it's a technical challenge, and you have to kind of admire
people who go to the lengths of actually implementing it, but at the
same time you wonder about their IQ...
-- Linus Torvalds in <5phda5$ml6$1@palladium.transmeta.com>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-27 18:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1836A7F3557D311A14000805F9F36FCD4E385@usdfo011.usac.danfoss.net>
2001-06-27 18:25 ` Serial Port problem with 823e on Embedded Planet Matthew Locke
2001-06-27 18:53 ` Wolfgang Denk
2001-06-27 17:50 Pergola, Michael
2001-06-27 18:09 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).