[ECOS] rom Application problem with serial port
Andrew Lunn
andrew@lunn.ch
Mon Jun 20 17:14:00 GMT 2005
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
More information about the Ecos-discuss
mailing list