ts-7000
[Top] [All Lists]

[ts-7000] Re: COM2 problem on ts-7260

To:
Subject: [ts-7000] Re: COM2 problem on ts-7260
From: "Great Tiger" <>
Date: Sun, 01 Aug 2010 12:32:12 -0000

--- In  "naturalwatt" <> wrote:
>
> 
> 
> --- In  "Great Tiger" <huycb_f251@> wrote:
> >
> > Hi all,
> > 
> > I am using ts-7260 and I wanna connect a device via COM2. As it did not
> > work, I made some tests on the COM2 and saw that:
> > If I enable getty on ttyAM1 in inittab, I can successfully send data
> > over COM2. I tried "echo hello > /dev/ttyAM1" and saw the the text on
> > the other end. But if i comment out getty on ttyAM1 in inittab, the text
> > cannot be sent over COM2 anymore.
> > Could someone help me to explain why? FYI, JP4 was not connected. Thank
> > you very much.
> > 
> > Regards,
> > Huy
> >
> 
> One possibility is that getty will set the baud rate for you.  If you boot 
> the board without a getty process, I am not sure what baud rate the serial 
> port is initialised to. It's likely to be 115200, though.
> 
> I have used getty purely to set a baud rate on some occasions, as getty does 
> not restore the previous settings when it exits, which was a useful side 
> effect.
> 
> Martin
>

Hi Martin,

I also doubted at the baud rate. But after i set the baud rate using setserial 
with baud_base 115200, some garbage text appeared on another  end. It seemed 
that the speed of 115200 did not match although it is same as the value I used 
with getty. Do you have any idea?
Thank you.

Huy



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

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