
Hi Sir,
Thanks for the reply. I am trying to read around 1Kbyte of data from the serial port uart2. Standard serial console is uart1. I am using the function* NS16550_init() in drivers/serial/ns16550.c* file for the console initialization or configuration. I am using functions* NS16550_putc() *for sending data byte by byte and * NS16550_getc()* for receiving data(same file). By "receiving" and "sending" i mean to say the UART2 RX(receive) and UART2 TX(transmit) respectively.
I have a device connected to serial port UART2 which sends the data around 1Kb. I am able to receive only 64 bytes now. This may be because of the FIFO limitation in H/W, which is 64bytes.
Regards, Lokesh Kumar
On Mon, Dec 10, 2012 at 4:28 PM, Wolfgang Denk wd@denx.de wrote:
Dear lokesh nijalinge,
In message < CAB-o9pgAWEDyszx7dqYCZgvD-xsW_xFFYXc-_rTLQmQipRiGYg@mail.gmail.com> you wrote:
I am using the TI's DM3730 processors for one of my project. I want to
*receive
1Kb of data* from UART2. At kernel i am able to send and receive full
1Kb
of data. I am sending a buffer of 1Kb at UART2 and able to receive only 64 Bytes
of
data, i suppose this is due to the FIFO limitation.
Please read http://catb.org/esr/faqs/smart-questions.html
The describe exactly what you mean by "sending" and "receiving". Are you talking about the standard console interface? Are you trying to transfer data using one of the download protocols? Which one?
How exactly do you send your data?
How do you configure the serial port on your host?
etc. etc. - provide more details!
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de There are no data that cannot be plotted on a straight line if the axis are chosen correctly.