Does your application need a device file like /dev/ttyS0 to communicate with?
In which case use xuartctl tp create a virtual terminal that you can
communicate with over the network.
It should be possible to create a /dev/pts/0 device that you an access remotely.
I haven't tried this but xuartctl --help suggests it is possible.
# xuartctl --help
Usage: xuartctl [OPTION] ...
xuartctl --port=PORT [OPTION] ... -- [COMMAND] [ARGS]
Technologic Systems XUART core userspace driver utility.
Example: xuartctl --server
xuartctl --port=192.168.0.50:7350 --speed=9600 -- /bin/sh -i
xuartctl --port=0 --test
-i, --irq=N Use IRQ N as XUART IRQ (32)
-r, --regstart=ADD Use ADD address as regstart (0x600ff100)
-m, --memstart=ADD Use ADD address as memstart (0x60000000)
-s, --speed=BAUD Use BAUD as default baudrate (115200)
-o, --mode=MODE Use MODE as default mode (8n1)
-d, --server Daemonize and run as server
-p, --port=PORT Connect to local or remote XUART port
-t, --test Run loopback and latency test
-h, --help This help
When run as a server, default is to listen at TCP port numbers starting at
7350 with 1 port per XUART channel.
PORT option can be a either a number 0-7, or a HOSTNAME:TCPPORT for a
remote TCP socket. When both --port and --server are used, a pseudo-tty
is allocated and connected to the XUART channel and pseudo-tty processing
continues in the background. When only --port is specified and no command
is given, stdin and stdout are connected to the XUART channel, otherwise
COMMAND is run as a sub-program with its stdin/stdout/stderr connected to
the allocated pseudo-tty.
Martin
--- In "dannyd5000" <> wrote:
>
> Hello All,
>
> I am using 4 TTL lines (with rs232 converter) on TS-7500 to communicate with
> 4 devices with great success. However my application requires me to have a
> serial console for debugging purposes. If I am Unable to connect via a
> network connection(ssh, telnet, etc), i need a way to login to the board. So
> I need the console to be output a 5th ttl line which i would convert to
> rs232.
>
> The problem I have is figuring out how to map the console to that 5th TTL. I
> know if I am on the TS-752 baseboard I can just use its RS232 connection to
> see the console, but I will not have the TS-752. Has anyone had to do this?
> Any ideas?
>
> Thanks in advance,
> Dan
>
------------------------------------
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/
|