ts-7000
[Top] [All Lists]

Re: [ts-7000] connect serial port with other device

To:
Subject: Re: [ts-7000] connect serial port with other device
From: Jim Jackson <>
Date: Thu, 11 Nov 2010 20:22:42 +0000 (GMT)


On Thu, 11 Nov 2010, ricardogabriel5 wrote:

> I have a TS-7260 running with TS-Linux Busy Box.
> 
> The command "setserial -G /dev/ttyAM0" shows me:
> 
> /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
> 
> I need to connect the TS-7260 board through the serial port (ttyAM0) with 
> another board that contains a PIC microcontroller, at the speed of 38400 bps.
> 
> The board with PIC is this:
> 
> http://www.seismicnet.com/serialatod.html
> 
> The program that runs in the TS-7260 board "configure" the serial port at the 
> speed of 38400 bps, but if I execute at the same time the setserial command, 
> it doesn't show me this speed, and it shows me:
> 
> /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
> 
> I modified the inittab file, as follows:
> 
> # Start console logins on both COM Ports
> #
> #lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
> lgn1:12345:respawn:/sbin/getty -L 38400 ttyAM1
> #lgn2:12345:respawn:/sbin/getty -L 115200 ttyAM2
> #

Did you reboot the board after making this change to inittab, or 
alternatively use

  kill -1 1

to make init reread the inittab.
Also you may need to remove the jumper that enables console,
is it JP2 ?

You can definitely using the serial port, we do this to connect
a GPS unit.

> 
> Am I doing something wrong?
> 
> Ricardo Gabriel
> 
> 


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

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