--- 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/
|