这周遇到的wince奇怪问题和解决方法

RaiseException: Thread=98510a80 Proc=82026430 'gwes.exe'
AKY=00000409 PC=80230354(NK.EXE+0x00030354) RA=8022d298(NK.EXE+0x0002d298) BVA=00000001 FSR=00000001
Data Abort: Thread=9897e694 Proc=82026340 'device.exe'
AKY=00000005 PC=8023aa34(NK.EXE+0x0003aa34) RA=8023aa28(NK.EXE+0x0003aa28) BVA=4a8a4a69 FSR=00000003
昨天搞好 HIVE 之后摄像头还是可以的。why?

[HKEY_LOCAL_MACHINE/init]
   "Launch80"="AutoInstall.exe"
   "Depend80"=hex:14,00,1e,00
——排除,不是这个问题。


; ZHD_Default_Symbol.ttf  $(_FLATRELEASEDIR)/ZHD_Default_Symbol.ttf   NK  SHU
; ZHD_Environment.ttf     $(_FLATRELEASEDIR)/ZHD_Environment.ttf      NK  SHU
; ZHD_Transportation.ttf  $(_FLATRELEASEDIR)/ZHD_Transportation.ttf   NK  SHU
; ZHD_Tree_Symbol.ttf     $(_FLATRELEASEDIR)/ZHD_Tree_Symbol.ttf      NK  SHU

日,不知道是什么原因啊。这东西怎么会导致上面的异常呢?

晕,我删除掉SQL相关的组件,这个异常就不会产生了。


Data Abort: Thread=988ce5e0 Proc=81fd6340 'device.exe'
AKY=00000005 PC=022aa7d0(ser2440.dll+0x0000a7d0) RA=022aa7bc(ser2440.dll+0x0000a7bc) BVA=06000000 FSR=00000007

查看ser2440.map文件
 0001:000097ac       SL_PowerOff                1000a7ac f   ser2440_hw.obj
 0001:00009828       SL_PowerOn                 1000a828 f   ser2440_hw.obj

应该是在SL_PowerOff函数出了问题


//
// @doc OEM
// @func    BOOL | SL_PowerOff | Perform powerdown sequence.
//
// @rdesc    TRUE if succesful
//
VOID
SL_PowerOff(
           PVOID   pHead        // @parm    PVOID returned by HWInit.
           )
{
 PS2440_UART_INFO   pHWHead   = (PS2440_UART_INFO)pHead;
 PSER_INFO pHWHead1   = (PSER_INFO)pHead;

 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff /r/n")));
 if(pHWHead1->dwIOBase == 0x50000000)//only uart0 have RTS
 {
  //DeAssert RTS
  RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst1 /r/n")));
  *(pHWHead->rRTSport) |= (1<<(pHWHead->RtsPortNum)); //问题出在这里
  RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst2 /r/n")));
 }
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst3 /r/n")));
 pHWHead->sULCON = INREG(pHWHead, rULCON);
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst4 /r/n")));
 pHWHead->sUCON  = INREG(pHWHead, rUCON);
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst5 /r/n")));
 pHWHead->sUMCON = INREG(pHWHead, rUMCON);
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst6 /r/n")));
 pHWHead->sUFCON = INREG(pHWHead, rUFCON); 
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst7 /r/n")));
 pHWHead->sINTstat = (*(pHWHead->UART_INTSUBMASK) & (pHWHead->bTxINT | pHWHead->bRxINT));
 RETAILMSG(DEBUGMODE, (TEXT("SL_PowerOff abort tesst8 /r/n")));
}

 

你可能感兴趣的:(thread,sql,tree,hex,WinCE)