[U-Boot-Users] IO serial problem

I´ve a NS9360 wich is similar to NS9750!
U-Boot seems to boot. But I can´t make any input. When I type something in my hyperterminal the characters are not shown! I already checked the FIFO Register and the typed characters are in.
Has anyone an idea!?
The output has no problem! -- View this message in context: http://www.nabble.com/IO-serial-problem-t1297565.html#a3455063 Sent from the Uboot - Users forum at Nabble.com.

In message 3455063.post@talk.nabble.com you wrote:
I´ve a NS9360 wich is similar to NS9750!
You will still have to port U-Boot for your board. Similar is not identical.
U-Boot seems to boot. But I can´t make any input. When I type somethin> g in my hyperterminal the characters are not shown! I already checked the FIFO Register and the typed characters are in.
Has anyone an idea!?
Disable flow control.
Best regards,
Wolfgang Denk

I found the mistake! I had to readout the RXFDB!! I configured the board_serial.c this way:
int serial_tstc( void ) { unsigned int unRegCache; if ( cCharsAvailable ) return 1;
unRegCache = *get_ser_reg_addr_channel( NS9750_SER_STAT_A, CONSOLE ); if ( unRegCache & NS9750_SER_STAT_A_RBC ) { *get_ser_reg_addr_channel( NS9750_SER_STAT_A, CONSOLE ) = NS9750_SER_STAT_A_RXFDB_FULL; *get_ser_reg_addr_channel( NS9750_SER_STAT_A, CONSOLE ) = NS9750_SER_STAT_A_RBC; unRegCache = *get_ser_reg_addr_channel( NS9750_SER_STAT_A, CONSOLE ); }
if ( unRegCache & NS9750_SER_STAT_A_RRDY ) { cCharsAvailable = (unRegCache & NS9750_SER_STAT_A_RXFDB_FULL)>>20; if ( !cCharsAvailable ) cCharsAvailable = 4;
unCharCache = *get_ser_reg_addr_channel( NS9750_SER_FIFO, CONSOLE ); return 1; }
I changed NS9750_SER_STAT_A_RXFDB_MA to NS9750_SER_STAT_A_RXFDB_FULL!!
-- View this message in context: http://www.nabble.com/IO-serial-problem-t1297565.html#a3492558 Sent from the Uboot - Users forum at Nabble.com.
participants (2)
-
Hurricane555
-
Wolfgang Denk