From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hurricane555 Date: Mon, 20 Mar 2006 04:40:06 -0800 (PST) Subject: [U-Boot-Users] IO serial problem In-Reply-To: <20060317210740.82DDF352B33@atlas.denx.de> References: <3455063.post@talk.nabble.com> <20060317210740.82DDF352B33@atlas.denx.de> Message-ID: <3492558.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.