From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 432 invoked by alias); 6 Jul 2005 09:02:12 -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 418 invoked by uid 22791); 6 Jul 2005 09:02:07 -0000 Received: from romsoft.iasi.rdsnet.ro (HELO mail.rms.ro) (82.77.20.73) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 09:02:07 +0000 Received: from [192.168.100.31] (pc31.rms.ro [192.168.100.31]) by mail.rms.ro (8.11.6/8.11.6) with ESMTP id j6699Xt09479; Wed, 6 Jul 2005 12:09:33 +0300 Message-ID: <42CB9E08.8040008@rms.ro> Date: Wed, 06 Jul 2005 09:02:00 -0000 From: Edgar Grimberg User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) MIME-Version: 1.0 To: Annamalai Prakash CC: ecos-discuss@sources.redhat.com References: <200507061412.33468.aprakash@tataelxsi.co.in> In-Reply-To: <200507061412.33468.aprakash@tataelxsi.co.in> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Serial Port , Raw Mode using cyg_io_read X-SW-Source: 2005-07/txt/msg00059.txt.bz2 Hi, Did you tried to open the /dev/ser0 , /dev/ser1 ? Something like: err = cyg_io_lookup( "/dev/ser1", &fd ); Edgar Annamalai Prakash wrote: >Hi List, > > I am working on ARM920T (Integrator) and ecos. I have configured my kernel >with posix and Serial device drivers. following options are enabled in my >config file. > > CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING > CYGPKG_IO_SERAIL_TTY > CYGPKG_IO_SERIAL_TTY_TTY1 > CYGPKG_IO_SERIAL_DEVICES > CYGPKG_IO_SERIAL_ARM_INTEGRATOR_SERIAL1 > > I want to configure my serial port in RAW mode. i think ecos supports >two serial port drivers (raw and tty driver). Is there any explicit option to >specify for RAW drivers. I tried to disable (CYGPKG_IO_SERAIL_TTY_TTY1) >option, i wasnot able to read/write anything from serial port even opened >successfully. > > I tried to use OPEN call also. i got compilation error due to >unresolved symbols `O_NDELAY' ,`B115200' ,`CLOCAL' ,`CREAD' . i have >decleared terminos.h .. > >Any lights to move furthur.. > >Thanks >Prakash > > > > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss