This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: accessing serial port


Akkala Naidu Paidi wrote:
> 
> hai all,
> While i am trying to access serial port
> with cyg_io_lookup() API in eCos
> to send some message to the device.
>  i got the fallowing error...
> 
> contacting serial device...   -2 ( ENOENT- no such entry)
> 
> actually i am sending name of the device as "/dev/com1".

You didn't mention your target. Anyway, look at the configuration for your
target (either in the ecos.ecc or the Configuration Tool) and look at the
I/O serial package. In there should be options that tell you what the real
name is that you should use with cyg_io_lookup().

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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