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: rom Application problem with serial port


On Mon, Jun 20, 2005 at 06:09:28PM +0500, aprakash@tataelxsi.co.in wrote:
> Hi,
> 
>      I m trying to run a simple application from flash which will open serial port /dev/ser1 and write hello world message..
> 
>     I have choosen default option for integrator with posix support and flash support.  my flash memory size is 32MB, RAM size is 320KB. i have modified include/pkgconf/*_rom.h file and *_rom.ldi files.  I pasted below too...
> 
>      I have enabled tty channal #0,and #1 also. when my application open my serial port, it returns -2.
> 

packages/error/current/include/code.h:

#define ENOENT           2     /* No such entity */

Have you enabled CYGPKG_IO_SERIAL_DEVICES?

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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