UART problem on MPC8272ADS

Eugene Surovegin ebs at ebshome.net
Thu Jul 14 06:19:21 EST 2005


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




More information about the Linuxppc-embedded mailing list