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.
Quoted 2 lines · In message <[email protected]> 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.
Quoted 5 lines
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
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I don't know if it's what you want, but it's what you get. :-)
- Larry Wall in <[email protected]>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.