This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: rom Application problem with serial port
- From: Andrew Lunn <andrew at lunn dot ch>
- To: aprakash at tataelxsi dot co dot in
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 20 Jun 2005 19:14:29 +0200
- Subject: Re: [ECOS] rom Application problem with serial port
- References: <1fff121fd960.1fd9601fff12@vsnl.net>
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