
6 Feb
2013
6 Feb
'13
3:08 p.m.
On 02/06/2013 12:13 PM, Rommel G Custodio wrote:
If I define CONFIG_SYS_NS16550_BROKEN_TEMT, it gets stuck in the while loop in NS16550_putc:
while ((serial_in(&com_port->lsr) & UART_LSR_THRE) == 0) ; serial_out(c, &com_port->thr);
From the GDB output, I can see it is using the correct address for the the serial port (0x84000000)
Hmmn. I've seen that before, I think. Don't define CONFIG_SYS_NS16550_BROKEN_TEMT.
That should not be necessary.
Make sure you use CTS/RTS (h/w flow) control with your terminal application.
Are you sure that all clocks, especially those related with the UART controller, are configured correctly?
Thanks, Stefan