ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7800 Serial Port Names and Characteristics

To:
Subject: Re: [ts-7000] TS-7800 Serial Port Names and Characteristics
From: Frank <>
Date: Tue, 27 May 2008 23:14:48 -0400
ttyS0 and ttyS1, as you've discovered, work as you'd expect on the COM1 and COM2 headers. 

The TS-UARTs aren't enabled at boot by default.  You need to 'modprobe tsuart7800'. 'dmesg' will then give you the device names.  The ports are named /dev/ttts0 through /dev/ttts9, matching the '#' column in the TS-7800 Manual (the /dev/tt8s0 through /dev/tt8s9) I think are the 9-bit enabled devices).

In the table, the pinouts of the Tx and Rx pins are the important ones.  If you make (or have) a 10-pin IDC cable with a DB9 connector with pin-to-pin connections (i.e header pin 1 to DB9 pin 1), then you'll get /dev/ttts4 out on the COM3 header with a standard serial cable. Other ports need to be wired accordingly.

Regarding /dev/ttyS2, I have a TS-MODEM2 set up as COM3/4, IRQ 6, and it shows up on /dev/ttyS2 (after setting the PC-104 pins to ISA mode, and modprobing ts7800_isa16550).

Let me know if this helps.

-Frank

mikeciaraldi wrote:

My TS-7800 is working pretty well, but I have run into a funny
problem. Two actually!

1) What is the correspondence between the hardware port numbers as
given in the table in the TS-7800 manual, and the device names under
Linux?

I know that the two serial ports implemented in the processor chip are
/dev/ttyS0 and ttyS1

But for the 10 serial ports implement4ed in the FPGA, the port numbers
run 0 through 9. What are their corresponding /dev names?

Do I have to do anything special to activate the ports? I see in the
manual about the various registers, but I was wondering what Linux
does by default.

2) I only need one serial port for the user console, but I need
several to connect to various sensors. I went into /etc/inittab and
disabled the getty on ttysS1. Then I was able to use C-Kermit to talk
to a device wired to COM2. But when I wired a device to COM3 and tried
to open /dev/ttyS2, Kermit refused because the port was not a terminal
device. Specifically, the code calls isatty(), and it returns false.

Thanks!

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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