From: Andrew Lunn <andrew@lunn.ch>
To: Ganapat Rao P Kulkarni <gpkulkarni@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] My serial driver unable to read beyond 1200 bytes.
Date: Wed, 29 Jun 2005 10:01:00 -0000 [thread overview]
Message-ID: <20050629100106.GB5563@lunn.ch> (raw)
In-Reply-To: <d03e59ef05062818596442c7bb@mail.gmail.com>
On Wed, Jun 29, 2005 at 07:29:34AM +0530, Ganapat Rao P Kulkarni wrote:
> 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.
If you make another read do you get the rest of the data?
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
prev parent reply other threads:[~2005-06-29 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 1:59 Ganapat Rao P Kulkarni
2005-06-29 10:01 ` Andrew Lunn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050629100106.GB5563@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=gpkulkarni@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).