From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11568 invoked by alias); 20 Jun 2005 17:14:59 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 11391 invoked by uid 22791); 20 Jun 2005 17:14:44 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 20 Jun 2005 17:14:44 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DkPqv-0007QK-00; Mon, 20 Jun 2005 19:14:29 +0200 Date: Mon, 20 Jun 2005 17:14:00 -0000 To: aprakash@tataelxsi.co.in Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20050620171429.GE17597@lunn.ch> Mail-Followup-To: aprakash@tataelxsi.co.in, ecos-discuss@ecos.sourceware.org References: <1fff121fd960.1fd9601fff12@vsnl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1fff121fd960.1fd9601fff12@vsnl.net> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] rom Application problem with serial port X-SW-Source: 2005-06/txt/msg00177.txt.bz2 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