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