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]

Re: Serial port problem


On Tue, May 28, 2002 at 12:38:05PM -0000, George Mathew wrote:
> 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);

Try think Unix not M$

/dev/tty0
/dev/tty1

The exact name will depend on your target and configuration. Look in
the ecos.ecc file.

    Andrew


-- 
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]