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]

Serial port problem


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


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