From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29056 invoked by alias); 6 Sep 2007 17:53:00 -0000 Received: (qmail 29039 invoked by uid 22791); 6 Sep 2007 17:53:00 -0000 X-Spam-Check-By: sourceware.org Received: from virtual.bogons.net (HELO virtual.bogons.net) (193.178.223.136) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Sep 2007 17:52:51 +0000 Received: from jifvik.dyndns.org (jifvik.dyndns.org [85.158.45.40]) by virtual.bogons.net (8.10.2+Sun/8.11.2) with ESMTP id l86HqlS08495 for ; Thu, 6 Sep 2007 18:52:47 +0100 (BST) Received: from [192.168.7.9] (unknown [87.127.20.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jifvik.dyndns.org (Postfix) with ESMTP id EDA0E3FE4 for ; Thu, 6 Sep 2007 18:52:47 +0100 (BST) Message-ID: <46E03E6E.1080409@jifvik.org> Date: Thu, 06 Sep 2007 17:53:00 -0000 From: Jonathan Larmour Reply-To: eCos discussion User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: eCos discussion Content-Type: multipart/mixed; boundary="------------060400060105000909010001" Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] [Fwd: AT91SAM7S : cyg_io_write /dev/ser0] X-SW-Source: 2007-09/txt/msg00022.txt.bz2 --------------060400060105000909010001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 39 The attached mail was misaddressed.... --------------060400060105000909010001 Content-Type: message/rfc822; name="AT91SAM7S : cyg_io_write /dev/ser0" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="AT91SAM7S : cyg_io_write /dev/ser0" Content-length: 2682 Return-Path: Received: from jifvik.dyndns.org ([unix socket]) by imap.jifvik.org (Cyrus v2.2.12-Invoca-RPM-2.2.12-1.1.fc3) with LMTPA; Thu, 06 Sep 2007 17:59:19 +0100 X-Sieve: CMU Sieve 2.2 Received: by jifvik.dyndns.org (Postfix, from userid 99) id 8F6513FE4; Thu, 6 Sep 2007 17:59:19 +0100 (BST) X-Original-To: jiflsw@jifvik.org Delivered-To: jifvikmail+jiflsw@localhost.jifvik.org Received: from mail0.rbsov.bogons.net (mail0.rbsov.bogons.net [85.158.43.12]) by jifvik.dyndns.org (Postfix) with ESMTP id 034A33FE4 for ; Thu, 6 Sep 2007 17:59:12 +0100 (BST) Received: from sourceware.org ([209.132.176.174]) by mail0.rbsov.bogons.net with smtp (Exim 4.63) (envelope-from ) id 1ITKh6-0004Uc-1V for jiflsw@jifvik.org; Thu, 06 Sep 2007 17:59:12 +0100 Received: (qmail 10510 invoked by alias); 6 Sep 2007 16:58:57 -0000 Delivered-To: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 10498 invoked by uid 22791); 6 Sep 2007 16:58:57 -0000 Received: from scanner-relay-corvus2.pulsation.fr (HELO scanner-relay-corvus2.pulsation.fr) (80.74.64.70) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 06 Sep 2007 16:58:50 +0000 Received: (qmail 25852 invoked from network); 6 Sep 2007 16:58:46 -0000 Received: from relayauth-corvus2.pulsation.fr (80.74.64.67) by scanner-relay-corvus2.pulsation.fr with SMTP; 6 Sep 2007 16:58:46 -0000 Received: (qmail 25844 invoked from network); 6 Sep 2007 16:58:46 -0000 Received: from unknown (HELO KLKJCC) (jc.caquet@kerlink.fr@80.125.252.188) by relayauth-corvus2.pulsation.fr with SMTP; 6 Sep 2007 16:58:46 -0000 From: To: Subject: AT91SAM7S : cyg_io_write /dev/ser0 Date: Thu, 6 Sep 2007 18:58:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfwpzLOjmplwpROTDGlGdB2cAw6aA== Message-Id: <20070906165912.034A33FE4@jifvik.dyndns.org> Envelope-to: jiflsw@jifvik.org X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on garibaldi.jifvik.org X-Spam-Level: **** X-Spam-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_99, MSGID_FROM_MTA_ID,NO_REAL_NAME autolearn=no version=3.0.4 Content-length: 315 Dear all, we use cyg_io_write on a serial device of AT91SAM7S board and when we try to send only 1 character cyg_io_write fails and returns -1 as a result code. Everything is OK as soon as we send more than 1 character, every character is always successfully output. Did anybody already face this problem=A0? JC --------------060400060105000909010001 Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --------------060400060105000909010001--