Re: [U-Boot] Unable to Receive 1Kb of data

2012-12-10 Thread Wolfgang Denk
Dear lokesh nijalinge,

In message cab-o9pgawedyszx7dqyczgvd-xsw_xffyxc-_rtlqmqipri...@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: w...@denx.de
There are no data that cannot be plotted on a straight  line  if  the
axis are chosen correctly.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Unable to Receive 1Kb of data

2012-12-10 Thread lokesh nijalinge
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 w...@denx.de wrote:

 Dear lokesh nijalinge,

 In message 
 cab-o9pgawedyszx7dqyczgvd-xsw_xffyxc-_rtlqmqipri...@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: w...@denx.de
 There are no data that cannot be plotted on a straight  line  if  the
 axis are chosen correctly.




-- 
Thanks  Regards,
Lokesh Kumar,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Unable to Receive 1Kb of data

2012-12-10 Thread Wolfgang Denk
Dear lokesh nijalinge,

please don't top post / full quote.

In message cab-o9pjgvqndjgd7p9fhn0ey9f6erdjfr0nvfk8ofrny+56...@mail.gmail.com 
you wrote:
 
 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.

You add very little information actually.  Sorry, With so little
context it's impossible to comment.

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: w...@denx.de
It is dangerous to be sincere unless you are also stupid.
- George Bernard Shaw
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot