linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* UART problem on MPC8272ADS
@ 2005-07-13 18:05 Vitaly Bordug
  2005-07-13 20:19 ` Eugene Surovegin
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Bordug @ 2005-07-13 18:05 UTC (permalink / raw)
  To: linuxppc-embedded list

Hi!
Do anyone have 2-nd UART port working on MPC8272ADS?

The target boots OK via both UARTs as console, but any attempt to 
transmit/receive data via the other port have failed.
A quick lookup results that ...init_scc is called only in `console` 
case. After addition of this call to the cpm_uart_startup (just for 
instance) transmit from the target occur, but with only half of data. I 
tried various pin settings including working combinations from the old 
uart driver but with the same result.

I guess that 8xx that are also handled by this driver may behave 
likewise, so any information whether cpm_uart driver works well  (or 
not)  on 8xx is also valuable.

Any ideas how to solve this or concerning possible reasons of such 
behavior are greatly appreciated.

-- 
Sincerely, 
Vitaly

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

* Re: UART problem on MPC8272ADS
  2005-07-13 18:05 UART problem on MPC8272ADS Vitaly Bordug
@ 2005-07-13 20:19 ` Eugene Surovegin
  0 siblings, 0 replies; 2+ messages in thread
From: Eugene Surovegin @ 2005-07-13 20:19 UTC (permalink / raw)
  To: Vitaly Bordug; +Cc: linuxppc-embedded list

On Wed, Jul 13, 2005 at 10:05:23PM +0400, Vitaly Bordug wrote:
> Hi!
> Do anyone have 2-nd UART port working on MPC8272ADS?
> 
> The target boots OK via both UARTs as console, but any attempt to 
> transmit/receive data via the other port have failed.
> A quick lookup results that ...init_scc is called only in `console` 
> case. After addition of this call to the cpm_uart_startup (just for 
> instance) transmit from the target occur, but with only half of data. I 
> tried various pin settings including working combinations from the old 
> uart driver but with the same result.
> 
> I guess that 8xx that are also handled by this driver may behave 
> likewise, so any information whether cpm_uart driver works well  (or 
> not)  on 8xx is also valuable.
> 
> Any ideas how to solve this or concerning possible reasons of such 
> behavior are greatly appreciated.

I had some problems with multiple UARTs (SMC and SCC) on 8248-based 
custom board. It was due to completely brain-damaged BRG allocation in 
cpm2_io/uart.c. I had to hack it to make SCC UART working along with 
SMC one.

-- 
Eugene

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

end of thread, other threads:[~2005-07-13 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 18:05 UART problem on MPC8272ADS Vitaly Bordug
2005-07-13 20:19 ` Eugene Surovegin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).