ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7260 with the TS-RF2-AERO, external antenna

To:
Subject: Re: [ts-7000] Re: TS-7260 with the TS-RF2-AERO, external antenna
From: Mike Magee <>
Date: Wed, 21 May 2008 16:54:04 -0700
Problem solved.  See below.

Michael wrote:
> 
> 
>  > Verified that the file /dev/ttyTS0 is created only after the command to
>  > modprobe tsuart-rf.
> 
> Hmm, that's odd... the TS-7260 does have either 1 or 3 TS-UARTs on-board
> (depending on whether you have the TTL COM option or not). Can you run
> lsmod and see what modules are loaded?

Those arn't using tsuart0 or tsuart-rf.  They show up as ttyAM0, ttyAM1, 
and ttyAM2 on my boards.

>  > Verified that the connections on both machines to the Aero cards and the
>  > PC104 slots are good and tight and in the right positions.
>  > I used cut and paste for the "AT+++" to no avail.
> 
> There is another possible issue that one of our other engineers mentioned -
> you may want to check how you are terminating the string you are sending.
> The exact string should be <1 second delay> "AT+++\r" <1 second delay> 
> where "\r" is the carriage return character, not the newline character or 
> blank.
> 
> You should get back character values 0xCC, 0x43, 0x4F, 0x4D back if this is
> successful.

That was indeed one of my problems.  I made a program to output the 
commands in hex to see what it was doing and when I sent the correct 
commands I was able to see the correct responses.

> If all the above fails you might also try using the function at
> ftp://ftp.embeddedARM.com/tmp/term.c 
> <ftp://ftp.embeddedARM.com/tmp/term.c> to initialize the
> termios structures.

This function helped.  I was able to write two programs that initialized 
the serial ports this way and everything started working.  The first, 
described above, allowed me to set and read the CC commands of the 
radios.  The second was a simple read/write loop that echoed characters 
between the serial port and stdin/stdout.

> 
> ______ Best Regards,
> |__ __/ Michael Schmidt
> || Software Engineer
> ||echnologic Systems (EmbeddedARM.com)
> || (480) 16610 East Laser Drive #10
> |/ 837-5200 Fountain Hills, AZ 85268
> http://oz.embeddedarm.com/~michael <http://oz.embeddedarm.com/~michael>

The last gotcha was the radio boards themselves.  They default to 
addressed mode, so you have to set them to broadcast mode (or set them 
to each other's address) to make them talk.  Sending (CC 17 90) while in 
command mode set them to broadcast mode.  This isn't documented very well.

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

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/

Attachment: mmagee.vcf
Description: Vcard

<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