diff -r 93c6de6be1b1 -r 39ed99121282 omap3530/shared/monitor/monitor.cpp --- a/omap3530/shared/monitor/monitor.cpp Sat Sep 11 23:40:07 2010 +0100 +++ b/omap3530/shared/monitor/monitor.cpp Mon Sep 13 01:36:12 2010 +0100 @@ -28,13 +28,15 @@ { Omap3530Uart::TUart uart( portNumber ); - // wait for uart to fihish any transmission that could be started (i.e. crash info) - while(!uart.TxFifoEmpty()); - // Ensure UART clocks are running Prcm::SetClockState( uart.PrcmInterfaceClk(),Prcm::EClkOn ); Prcm::SetClockState( uart.PrcmFunctionClk(), Prcm::EClkOn ); + // Add new line and wait for uart to fihish any transmission (i.e. crash info from fifo) + uart.Write('\r'); + uart.Write('\n'); + while(!uart.TxFifoEmpty()); + // We don't know what state the UART is in, so reinitialize it uart.Init(); uart.DefineMode( Omap3530Uart::TUart::EUart );