On Tue, 12 Jul 2005, Ricardo Alberto Monroy Cadena wrote:
> Hi All...
> I'm a begineer in the programation of this device. I tried to compile a
> simple program to transmit a short chain to my HyperTerminal... but in
> the handbook don't tell about the port's configuration or the driver of
> the interrupt... I'd like if you know links more complete or you helpme
> about the better form for to make the program.
>
The driver is in the linux kernel
The device is either /dev/ttyAM0 or ttyAM1
By default their is a getty program running so that you can login which
will interfer with any program wanting to use the port.
Kill the getty on the line by commenting out the line in
/etc/inittab and issuing the kill -HUP 1 command)
If you set your hyperterminal to 115200 baud and connect a nullmodem cable
then sending cahars is as simple as
echo "Hello World" > /dev/ttyAM1
or whatever.
Or am I misunderstanding something.
Jim
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|