From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4140 invoked by alias); 29 Jun 2005 01:59:41 -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 3591 invoked by uid 22791); 29 Jun 2005 01:59:36 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.199) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 01:59:36 +0000 Received: by wproxy.gmail.com with SMTP id i6so721499wra for ; Tue, 28 Jun 2005 18:59:34 -0700 (PDT) Received: by 10.54.8.31 with SMTP id 31mr18250wrh; Tue, 28 Jun 2005 18:59:34 -0700 (PDT) Received: by 10.54.39.65 with HTTP; Tue, 28 Jun 2005 18:59:34 -0700 (PDT) Message-ID: Date: Wed, 29 Jun 2005 01:59:00 -0000 From: Ganapat Rao P Kulkarni Reply-To: Ganapat Rao P Kulkarni To: ecos-discuss@ecos.sourceware.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [ECOS] My serial driver unable to read beyond 1200 bytes. X-SW-Source: 2005-06/txt/msg00275.txt.bz2 Hi all, I am working on developing eCos based bootloader for s3c2410 (arm920 core) based board, and have customized a serial driver (RS232) to receive/transmit from/to the PC. I have configured UART1(FIFO mode) for my driver. I have set a default buffer value to 8192. (this I have done by editing the corresponding cdl file). Also the read mode is set to non blocking read. Now when I tried to read using cyg_io_read, it reads only 1000 and odd bytes even though I am requesting to read around 2000 bytes. However from PC side I am transmitting 2000 bytes. Could anybody suggest what may be going wrong. Do I need to initialize something more ?? Thanks in Advance Ganapat -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss