--- a/omap3530/shared/monitor/monitor.cpp Sun Sep 05 15:53:01 2010 +0100
+++ b/omap3530/shared/monitor/monitor.cpp Tue Sep 07 08:40:04 2010 +0100
@@ -28,6 +28,9 @@
{
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 );
@@ -50,7 +53,7 @@
Omap3530Uart::TUart uart( portNumber );
TUint c=0;
-
+
while ( !uart.RxFifoEmpty() )
{
if ( CheckPower() )