ts-7000
[Top] [All Lists]

[ts-7000] Re: How to get TS-SER1 to work

To:
Subject: [ts-7000] Re: How to get TS-SER1 to work
From: "othello61" <>
Date: Tue, 10 May 2005 03:21:57 -0000
Thank you Andy, that was helpful as I had noticed the console
appearing on COM2 - I also had some sporadic results with my test
program.

However, it hasn't helped me with my COM3 problem (i.e. my TS-SER1).
It's the third serial port (ttyAM2) that I can't get to work.

Cheers
Andrew

--- In  Andy Gryc <> wrote:
> This is probably the most common issue that people have first using
the 
> TS72xx, and I had the same problem myself. 
> 
> The issue is that it is configured to allow a serial terminal on
both 
> ttyAM0 and ttyAM1, and the tty will fight for control with anything
else 
> using serial.  Go into /etc/inittab, and find the lines that
launche 
> /sbin/getty and comment out the one using the serial port you want
to 
> use.  Note that of course if you comment out both, you'll make it
very 
> difficult to use the serial console to the board!  Then reboot, and
you 
> should be up and running...
> 
> --Andy Gryc
> 
> >Hello all from New Zealand,
> >
> >I have purchased a TS-7200 which I want to use as a data logger
for a
> >weather station (via serial).
> >
> >I'm a relative Linux newbie and I'm trying to get the TS-SER1
serial
> >port working. After reading the post
> >http://groups.yahoo.com/group/ts-7000/message/597 I have done the
> >following
> >
> >Connected a RC-DB9 cable to the TS-SER1 with the red strip against
the
> >white dot.
> >
> >I have set the jumpers on the TS-SER1 to IRQ6 and COM3.
> >
> >At power on time I see
> >
> >Off-board serial at: COM3
> >
> >and in the dmesg I see
> >
> >ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
> >ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
> >ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
> >pty: 1024 Unix98 ptys configured
> >Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
> >enabled
> >ttyS02 at 0x89c003e8 (irq = 40) is a 16550A
> >
> >I have used setserial to change the irq to 33, and a display shows
the
> >following
> >
> >$ setserial -a /dev/tts/2
> >/dev/tts/2, Line 2, UART: 16550A, Port: 0x89c003e8, IRQ: 33
> >        Baud_base: 115200, close_delay: 50, divisor: 0
> >        closing_wait: 3000
> >        Flags: spd_normal skip_test
> >        
> >However, if I try to use the port, it opens alright, but I cant
read
> >or write from it.
> >
> >My test involves connecting COM2 on the TS-7200 to a PC running
> >hyperterm, and copying some test to it via "cp test.txt
/dev/ttyAM1".
> >My test file appears on the screen.  I then swap to the COM3 port
on
> >the TS-7200 and change the command to "cp test.txt /dev/ttyAM2".
> >Nothing appears on the screen.
> >
> >My second test involved writing a short program to write some test
to
> >the port. The result is the same, it works on COM2, but not on COM3
> >
> >What am I missing?
> >
> >Kind regards
> >Andrew
> >  
> >






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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