From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 446 invoked by alias); 21 Apr 2005 16:52:34 -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 32658 invoked from network); 21 Apr 2005 16:52:24 -0000 Received: from unknown (HELO outmx026.isp.belgacom.be) (195.238.2.91) by sourceware.org with SMTP; 21 Apr 2005 16:52:24 -0000 Received: from outmx026.isp.belgacom.be (localhost [127.0.0.1]) by outmx026.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id j3LGq5YI003064 for ; Thu, 21 Apr 2005 18:52:05 +0200 (envelope-from ) Received: from bureau (244-225.242.81.adsl.skynet.be [81.242.225.244]) by outmx026.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP id j3LGppcQ002941; Thu, 21 Apr 2005 18:51:55 +0200 (envelope-from ) Message-ID: <00b301c54692$88f53cf0$0b01a8c0@bureau> From: "Gatien Gillon" To: "Andrew Lunn" Cc: References: <42663119.306@carallon.com> <008001c54683$17726440$0b01a8c0@bureau> <20050421153900.GA22215@lunn.ch> Date: Thu, 21 Apr 2005 18:43:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Serial Port in non-blocking mode X-SW-Source: 2005-04/txt/msg00222.txt.bz2 I'm getting 0x0 instead of the caracter ... I'll send the code of my applciation tomorrow ----- Original Message ----- From: "Andrew Lunn" To: "Gatien Gillon" Cc: Sent: Thursday, April 21, 2005 5:39 PM Subject: Re: [ECOS] Serial Port in non-blocking mode > 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 > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss