ts-7000
[Top] [All Lists]

[ts-7000] Re: UART question...important

To:
Subject: [ts-7000] Re: UART question...important
From: "naturalwatt" <>
Date: Sun, 24 May 2009 19:34:46 -0000
--- In  "nancyhead86" <> wrote:
>
> 
> hi, everyone 
> I have a very important question about the The TS-7250  Single Board 
> Computers the one that has the TS-Linux Embedded Operating System Installed 
> and the Cirrus EP9302 ARM9 CPU. The question is How can i configure, write 
> and receive in the UARt throught the COM1 and Com2 of the TS-7250?
> It is very important to know this info because right now i'm working in my 
> Tesis and really need this info. 
> thx
> Ing. Nancy Cabeza
>

Your best bet is to write programs in C and use system calls, for example open, 
read, write and tcsetattr.  You can use man pages to find out how to use these 
calls.  In some cases you will be able to use programs written by other people 
to do this.

The Com1 and Com2 ports are called /dev/ttyAM0 and /dev/ttyAM1.  Be aware that 
by default, there are getty process started in /etc/inittab that allow you to 
login using a serial port.  You will need to stop these processes and prevent 
them from running automatically before your programs are able to use the ports.

There is a lot of useful information in the Getting Started with TS-Linux 
document available on the Technologic Systems web site.

Hope this helps,

Martin



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

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