Wince5.0 With PlatForm Builder 安装补丁后的问题。

maojunwei123   2008-3-24 16:54 楼主
PB5.0,安装了2007年全年的补丁(下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=a54779d5-f4a5-49f0-9e36-979d461f536c&DisplayLang=en)后,编译生成的NK.bin,烧入2410的板子后,系统启动时候出现,
    致命的应用程序错误:
    应用程序 Services.exe 执行了一个非法操作,将被关闭。若问题持续出现,请与程序供应商联系。
    程序:Services.exe
    异常:0xC000001C
    地址:8c2202F8
用的是友善之臂SBC-2410X开发板,用DNW查看,看到最后的结果如下:

System ready!
Preparing for download...
+OEMPreDownload: 1
-OEMPreDownload: BL_DOWNLOAD
Found pTOC signature.
ROMHDR at Address 8C200044h
RomHdr.ulRAMStart=8E000000h RomHdr.physfirst=8C200000h.
::OEMLaunch, ImageStart:0x8C200000, ImageLength:0x1B2D744, LaunchAddr:0x8C201000
OEMLaunch: (IMAGE_TYPE_RAMIMAGE|IMAGE_TYPE_BINFS)
+WriteRegionsToBootMedia: ImageStart: 0x8C200000, ImageLength: 0x1B2D744, LaunchAddr:0x8C201000
INFO: OEMLaunch: Found chain extenstion: '' @ 0x8C200000
Writing single region/multi-region update, dwBINFSPartLength: 28497732
dwRegionStart: 0x8C200000, dwRegionLength: 0x1B2D744, dwStoreOffset: 0x0
Updateded TOC!
-WriteRegionsToBootMedia
+TOC_Write
Erasing Block: 19

FMD_WriteSector.............

FMD_ReadSector.............

memcmp.............

TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x3820
  BootDelay: 0xF
  ImageIndex: 1
  IP: 0.0.0.0
  MAC Address: 00:00:00:00:00:00
  Port: 0.0.0.0
  SubnetMask: 255.255.255.255
}
ID[0] {
  dwVersion: 0x10002
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x100
  dwLoadAddress: 0x8C038000
  dwJumpAddress: 0x8C038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x100
  sgList[0].dwLength: 0x100
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465349
  String: ''
  dwImageType: 0x6
  dwTtlSectors: 0xD96C
  dwLoadAddress: 0x8C200000
  dwJumpAddress: 0x8C201000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x520
  sgList[0].dwLength: 0xD96C
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000014
chainInfo.dwLength: 0X00000000
UDID: 00:00:00:00:00:00
}
-TOC_Write
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x3820
  BootDelay: 0xF
  ImageIndex: 1
  IP: 0.0.0.0
  MAC Address: 00:00:00:00:00:00
  Port: 0.0.0.0
  SubnetMask: 255.255.255.255
}
ID[0] {
  dwVersion: 0x10002
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x100
  dwLoadAddress: 0x8C038000
  dwJumpAddress: 0x8C038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x100
  sgList[0].dwLength: 0x100
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465349
  String: ''
  dwImageType: 0x6
  dwTtlSectors: 0xD96C
  dwLoadAddress: 0x8C200000
  dwJumpAddress: 0x8C201000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x520
  sgList[0].dwLength: 0xD96C
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000014
chainInfo.dwLength: 0X00000000
UDID: 00:00:00:00:00:00
}

Jumping to image at virtual address 0x8C201000h
+ToPhysicalAddr:0x8C201000
-ToPhysicalAddr:0x30201000

::: Physical Launch Address: 0x30201000h
Windows CE Kernel for ARM (Thumb Enabled) Built on Feb  8 2007 at 23:36:51
ProcessorType=0920  Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8c201280

Windows CE Firmware Init
INFO: Initializing system interrupts...
INFO: Initializing system clock(s)...
INFO: Initializing driver globals area...
rLCDCON1 : 1f9
rLCDCON2 : 2077c282
rLCDCON3 : 17a7f10
rLCDCON4 : d60
rLCDCON5 : 12b09
rLCDSADDR1 : 18080000
rLCDSADDR2 : cb000
rLCDSADDR3 : 280
rLCDINTMSK : 3
rLPCSEL : 0
rTPAL : 0
SDMMC config current rGPGCON: ff95ed9a
SDMMC config set rGPGCON: ffa5ed9a
SDMMC config Init Done.
OEMInit Done...
Sp=ffffc7cc
FMD::FMD_Init
FMD::FMD_OEMIoControl = 0x71c24
Data Abort: Thread=8fe9e304 Proc=8e026280 'device.exe'
AKY=00000005 PC=03f42cd8(busenum.dll+0x00002cd8) RA=03f42ccc(busenum.dll+0x00002ccc) BVA=060000b8 FSR=00000007
RaiseException: Thread=8fe9e304 Proc=8e026280 'device.exe'
AKY=00000005 PC=03f8dfec(coredll.dll+0x0001dfec) RA=8c22a990(NK.EXE+0x0002a990) BVA=00000001 FSR=00000001
m_VirtualFrameBuffer is mapped at 120000(PHY : ac100000)

Clearing frame buffer !!!

--S3C2410DISP::InitializeHardware
Data Abort: Thread=8fe4a0c0 Proc=8e026280 'device.exe'
AKY=0000000f PC=03f636e8(devmgr.dll+0x000036e8) RA=03f6371c(devmgr.dll+0x0000371c) BVA=e92d4084 FSR=00000005
RaiseException: Thread=8fe4a0c0 Proc=8e026280 'device.exe'
AKY=0000000f PC=03f8dfec(coredll.dll+0x0001dfec) RA=8c22a990(NK.EXE+0x0002a990) BVA=00000003 FSR=00000003
Lyg.p: Layout Manager successfully initialized to  2
Touch Init
Maximum Allowed Error 7:
RaiseException: Thread=8fd2a528 Proc=8e026550 'services.exe'
AKY=00000021 PC=8c22d2f8(NK.EXE+0x0002d2f8) RA=8c22a990(NK.EXE+0x0002a990) BVA=00000001 FSR=00000001
RaiseException: Thread=8fd51b60 Proc=8e026550 'services.exe'
AKY=00000021 PC=8c22d2f8(NK.EXE+0x0002d2f8) RA=8c22a990(NK.EXE+0x0002a990) BVA=00000001 FSR=00000001

回复评论 (7)

我也是用的友善之臂的,也碰到了相同的问题,呵呵,应该是hive-based registry的问题
点赞  2008-3-24 22:12
谢谢提醒,我再研究研究:)
点赞  2008-3-25 08:55
你是怎么解决的,能否告之?
点赞  2008-3-25 08:56
lz要干嘛?
点赞  2008-5-1 09:05
我也遇到 了这个问题……
点赞  2008-7-2 13:43
友善的板子很坏
点赞  2008-7-3 15:49
不是板子的问题

我在其他班子上也遇到了问题

楼上有人说是升级了platform build之后的问题吗?
我觉得不是。

因为我使用两个bsp: alhpa 跟 beta
alpha运行正常,beta出现services.exe raise exception,两者都是同一个platform builder 编译出来的

why?
点赞  2008-7-29 17:11
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复