This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Accessing RS232 port in Linux
- From: Giridhara R P <rpgiri at cdotb dot ernet dot in>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 2 Apr 2004 11:06:25 +0500 (GMT+0500)
- Subject: [ECOS] Accessing RS232 port in Linux
Hii,
i am using ecos-2.0 on Liunx8.0.
I tried to open com1 serial port(RS232) using
cyg_io_lookup("/dev/ttyS0",handle) API provided by
ecos. But it is returnig -ve value.
(abs value is 2 = /* No such entity */)
Can u please tell me how to read and write to RS232
port.
Thanks
Waiting for ur reply
Giridhar R P
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss