This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
My serial driver unable to read beyond 1200 bytes.
- From: Ganapat Rao P Kulkarni <gpkulkarni at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 29 Jun 2005 07:29:34 +0530
- Subject: [ECOS] My serial driver unable to read beyond 1200 bytes.
- Reply-to: Ganapat Rao P Kulkarni <gpkulkarni at gmail dot com>
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