public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] IO serial problem
@ 2006-03-17 12:40 Hurricane555
  2006-03-17 21:07 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Hurricane555 @ 2006-03-17 12:40 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] IO serial problem
  2006-03-17 12:40 [U-Boot-Users] IO serial problem Hurricane555
@ 2006-03-17 21:07 ` Wolfgang Denk
  2006-03-20 12:40   ` Hurricane555
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2006-03-17 21:07 UTC (permalink / raw)
  To: u-boot

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

-- 
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 <10502@jpl-devvax.JPL.NASA.GOV>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] IO serial problem
  2006-03-17 21:07 ` Wolfgang Denk
@ 2006-03-20 12:40   ` Hurricane555
  0 siblings, 0 replies; 3+ messages in thread
From: Hurricane555 @ 2006-03-20 12:40 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-20 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17 12:40 [U-Boot-Users] IO serial problem Hurricane555
2006-03-17 21:07 ` Wolfgang Denk
2006-03-20 12:40   ` Hurricane555

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox