ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7800 COM1 RTS problem

To:
Subject: [ts-7000] Re: TS7800 COM1 RTS problem
From: "ray_gardiner" <>
Date: Thu, 17 Jun 2010 18:36:11 -0000
Hi Harold, 

You are spot on.. thanks for that advice, flipping those bits works nicely.

Here is a quick and dirty shell script that toggles RTS and DTR
on COM1.

#!/bin/sh
#
# Toggle RTS and DTR on TS7800 Com1
#
#disable /dev/ttts0 and ttts1 
poke16 0xe80000c0 0x10e1  
poke16 0xe80000c4 0x10e1

# now we loop toggling bits 13:14 in 0xe800000c
#
while true
do 
        peek32 0xe800000c 
        poke32 0xe800000c 0x1bdc
        sleep 1
        peek32 0xe800000c
        poke32 0xe800000c 0x7bdc
        sleep 1;
done


Much appreciated.

Regards
Ray


--- In  "Harold" <> wrote:
>
> If you look in Appendix B of the TS-7800 Manual, you will see that RTS on the 
> COM1 header is controlled by bit 13 of the register at 0xE800000C. I think 
> that you need to flip this bit, rather than use ioctl().
> 




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

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