ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7390 - How to get the serial ports working?

To:
Subject: [ts-7000] Re: TS-7390 - How to get the serial ports working?
From: "charliem_1216" <>
Date: Thu, 15 Jan 2009 04:23:02 -0000
Hi Ole --

--- In  "happy_plattler" <>
wrote:
>
> 
> I have this nice little all-in-one machine TS-7390 from Technologic 
> Systems which has4 RS-232, 2 TTL COM ports. Now I am not an engineer 
> rather a user. Here is my silly question: 

You may have a steep learning curve, these boards are not aimed at end
users, but rather developers & engineers that further customize them.

> 
> How can I connect some serial devices e.g. printer/etc. to this 
> machine?

Seems the TS-7390 isn't too well documented.  Looking at the
schematic, COM1 header carries signals for the UART1 serial ports at
RS-232 level.  I believe other pins on COM1 header can either serve as
the modem control / flow control signals of UART1, or as Tx/Rx of two
other RS-232 ports, depending on how the port is opened in linux.

TS website also clearly states that a TS-9445 card is needed for the
serial console to be used.  Do you have that?

> 
> I have started my system from the supplied SD card (I did not change 
> anything but the IP address).
> 
> Now I see there is a COM1 and COM2 right next to the eth1 port. With 
> the supplied connectors when I try to output some text nothing 
> happens, e.g.  

How, and what, are you connecting to COM1?  

> 
> Problem1:
> cat sample.txt > /dev/cua0 
> cat sample.txt > /dev/cua1

I don't think /dev/cua? device nodes have been used since about 1998.
 My guess is they don't exist on your system.

> 
> Problem2:
> If I do the same for /dev/ttyS0 or ttyS1 I get a "write: 
> Input/output error"

Do the devices exist?  I don't think the ttyS? devices exist for the
TS-7390, except maybe ttyS0 when you have a serial console.  The TS
driver module works through devices /dev/ttzn, where 'n' is 0-3.  Try
'ls -l /dev/ttyz?'

Is the module loaded? (I think it is xuart-something, try 'lsmod |
grep -i xuart').

Also, check your cables & device, looking at the TS-7390 schematic on
the TS website.  COM1 & COM2 headers are at the top of page 4.

> 
> Now the console output with the supplied board on the JGAT portion 
> of the 40 PIN JGAT/DIO works.

OK, I guess this is the TS-9445 board I mentioned above.

> 
> Problem3:
> How and where would I connect the remaining connectors? It says: The 
> remaining COM ports are provided by the FPGA through the proprietary 
> TS-UART core and are 9-bit serial capable. I know that there are 
> some drivers for the TS-UART and I am guessing I will have to create 
> the devices ttys.. Am I right here? I hope that I can connect the 
> devices without having to put some board in-between like the console 
> board or am I wrong here?

See above.  It looks to me (from the schematic) that you can have (4)
ports at RS-232 signal levels, as long as you don't need any hardware
flow control or modem flow control.  There is some (very little)
documentation on the TS-7350 UART at (near the bottom):
http://www.embeddedarm.com/about/resource.php?item=371

Look that over, and note that the device numbers don't really
correspond to header numbers.  IE, ttyz0 corresponds to COM2 header
pin 3 (TxD) and pin 2 (RxD).  

regards, ......... Charlie

> 
> Some guidance would be very much appreciated.
> 
> Thank you,
> 
> Ole
>



------------------------------------

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