[ECOS] Serial port problem
Andrew Lunn
andrew.lunn@ascom.ch
Tue May 28 06:15:00 GMT 2002
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
More information about the Ecos-discuss
mailing list