This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Serial port problem
- From: "George Mathew" <georgemathewkar at rediffmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: 28 May 2002 12:38:05 -0000
- Subject: [ECOS] Serial port problem
- Reply-to: "George Mathew" <georgemathewkar at rediffmail dot com>
Hi all
I'm trying to write a program to open a com port and write
data to it.
I tried with various combination
cyg_io_lookup("COM1",handle);
cyg_io_lookup("//./COM1",handle);
cyg_io_lookup("COM1:",handle);
... ..
But all the above cases returns an error value -2 which
says that "No such entity".
What i should do to open the com port?
I'm using cygwin on windows XP
Regards
George
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss