--- In Matthieu Crapet <> wrote:
>
> Hi Jesse,
>
> > This can also now be easily done with serial ports
> > over TCP. For testing, I had several boards worth of > serial ports
> exported via TCP to pseudo-tty's on my
> > desktop Linux PC and was also able to "telnet" to
> > serial ports instead of using minicom.
>
> I'm not sure to understand this.
>
> Is it still related to nbd (TS-7500 is the nbdserver and exports
> /dev/ttyAM0 ?)
> Or you are doing a serial2tcp script (stty + netcat) on TS-7500 ?
>
> Regards,
> matt
Sorry for the confusion -- thats completely unrelated to NBD and pertains to
the TS-XUART core. Not using any script-- I built in that functionality in the
"xuartctl" userspace serial driver daemon. The xuartctl daemon will compile on
any UNIX system, including x86 Linux 2.4. Then, on the board with the XUART
hardware, one runs:
# xuartctl --server
And all XUART ports are exported to individual TCP ports starting at port 7350.
IRQ's are handled via userspace IRQs functionality where I open up a file in
/proc/ and do select()'s to allow a userspace application to wait for an IRQ
assertion. Then, on the PC (or on the same SBC) you run:
# xuartctl --port 192.168.0.50:7350 --server
And xuartctl will daemonize, connect via TCP, and allocate a free pseudo-tty to
the virtual UART. xuartctl handles the shoveling of bytes between the
psuedo-tty master filedescriptor and the TCP connection.
//Jesse Off
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|