From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30970 invoked by alias); 21 Apr 2005 15:39:32 -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 30582 invoked from network); 21 Apr 2005 15:39:13 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org with SMTP; 21 Apr 2005 15:39:13 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DOdlc-0005oC-00; Thu, 21 Apr 2005 17:39:00 +0200 Date: Thu, 21 Apr 2005 16:50:00 -0000 To: Gatien Gillon Cc: ecos-discuss@sources.redhat.com Message-ID: <20050421153900.GA22215@lunn.ch> Mail-Followup-To: Gatien Gillon , ecos-discuss@sources.redhat.com References: <42663119.306@carallon.com> <008001c54683$17726440$0b01a8c0@bureau> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008001c54683$17726440$0b01a8c0@bureau> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] Serial Port in non-blocking mode X-SW-Source: 2005-04/txt/msg00220.txt.bz2 On Thu, Apr 21, 2005 at 05:02:09PM +0200, Gatien Gillon wrote: > I'm trying to make my AT91EB55 board communicate with a PC, when using the > cyg_io_read function the program waits for an input wich is not what i > want. In non blocking mode I keep on getting 0x0's when reading the port > even if I have sended some characters. Are you getting 0x0 as well as, or instead of? 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