about Windows CE 6.0 at i.MX35

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about Windows CE 6.0 at i.MX35

596 Views
zetta
Contributor II

Board is customer board, CPU is i.MX353, with MC13892.

 

Before this problem, Windows CE can suspend and resume regular, at one day, i build a trouble version OS for the board, and can't suspend. suspend process hang at function:

"extern "C" void HCD_PowerDown(DWORD hDeviceContext)"

return.

 

 

I clean the NAND flash, and re-burning old version (can suspend/resume) firmware, XLDR, e-boot, NK, but problem still exist, still can't into suspend, I'm only know some non-volatile memory like NAND-flash, eFUSEs at i.MX35 CPU, I clean all of NAND block and confirm eFUSEs does not change between suspend/resume workable board and this problem board.

 

and what i can insert debug message to any driver? I insert debug message at every  i can found driver that had "xxx_PowerDown" function, the lastest message at "void HCD_PowerDown(DWORD hDeviceContext)" function return.

 

any idea? 

 

thanks everyone.

Tags (1)
0 Kudos
1 Reply

454 Views
zetta
Contributor II

This problem cause by two of condition:
1.UART1 is debug port and debug message is enable (initialOALLogZones != 0)

2.UART1 can using by OS (set to COM4:)

When system into suspend state, UART1 also be shutdown, but when UART1 is poweroff but system send the debug message out, system does hang.modify the code to fixed if you want.

------------------

\\WINCE600\PLATFORM\COMMON\src\soc\COMMON_FSL_V2_PDK1_7\SERIAL\serial.c

extern DWORD initialOALLogZones;
static BOOL SerPowerOff(PVOID pContext)

{

  PUART_INFO   pHWHead   = (PUART_INFO)pContext;

if(pHWHead->HwAddr == 0x43f90000L && initialOALLogZones != 0) return TRUE;

...

}

------------------

added "$(_PLATCOMMONLIB)\$(_CPUDEPPATH)\oal_log.lib" to "sources" link

\\WINCE600\PLATFORM\COMMON\src\soc\COMMON_FSL_V2_PDK1_7\SERIAL\sources

\\WINCE600\PLATFORM\iMX35-3DS-PDK1_7\src\DRIVERS\SERIAL\sources

 

thanks everybody to see my very poor english :)

0 Kudos