RE: SCC character recognition/DMA

2 messages, 2 authors, 2001-07-31 · open the first message on its own page

RE: SCC character recognition/DMA

From: Pergola, Michael <hidden>
Date: 2001-07-31 19:07:43

-----Original Message-----
From:	Dan Malek [SMTP:dan@mvista.com]
Sent:	Tuesday, July 31, 2001 2:41 PM
To:	Pergola, Michael
Cc:	'linuxppc-embedded@lists.linuxppc.org'; Support (E-mail)
Subject:	Re: SCC character recognition/DMA

"Pergola, Michael" wrote:
quoted
Has anyone attempted to utilize the character-recognition
feature of the SCC ports with any success?
Yes, it does work, just make sure you have an SCC to use (there
is only one on the 823, which is typically wired for Ethernet).
	[Pergola, Michael]
	The 823e that comes with the Embedded Planet Dev Box
	has 3 SCCs but one is dedicated to USB while another is
	used for Ethernet. I guess my real question is, rather then
	re-invent the code, is there an implementation of the
	character recognition out there in GPL land?

	Michael Pergola

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: SCC character recognition/DMA

From: Dan Malek <hidden>
Date: 2001-07-31 19:17:44

"Pergola, Michael" wrote:
        The 823e that comes with the Embedded Planet Dev Box
        has 3 SCCs but one is dedicated to USB while another is
        used for Ethernet.
Not exactly.  The USB controller is a USB controller.  It is
mapped into the address space of one SCC, and may use some of that
peripheral hardware, but it is not configurable as a SCC.
Since you have the 823e, yes SCC3 can be used.
.... I guess my real question is, rather then
        re-invent the code, is there an implementation of the
        character recognition out there in GPL land?
I believe all the "character recognition" does is either map characters
or terminate buffer operations.  If the device is still used as a uart,
just modify the driver to initialize the characters you want (as it
stores defaults right now).  You can be a little more fancy and add an
ioctl() if you want.  If you want a custom driver that isn't a uart,
then you have to write a new driver.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help