ts-7000
[Top] [All Lists]

[ts-7000] Re: new incoming TS-7500

To:
Subject: [ts-7000] Re: new incoming TS-7500
From: "Jesse Off" <>
Date: Fri, 15 May 2009 15:21:39 -0000
--- 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU