This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]