WinCE Development Note
WinCE Development Note
DM&P CPU
Before identifying your hardware, know CPU difference clearly will be helpful: CPU Description M6117D It is i386 compatible CPU and can not run Windows CE. Vortex86 It is Pentium with MMX compatible CPU. Vega86 It is Pentimu with MMX, SSE and 3DNow. Vortex86SX It is i486 compatible CPU without FPU. Vortex86DX It is improved from Vortex86SX to add FPU. Can run Windows XP or Windows XP Embedded. Vortex86MX It is improved from Vortex86DX to built-in graphic chipset.
4.
5. 6.
If step 3 and 4 are skipped, you have to select Boot CE/PC (local nk.bin) while DOM is booting. Copy your nk.bin onto DOM
X86 BIOS Loadef Locate WINCE600\PLATFORM\CEPC\SRC\BOOTLOADER\BIOSLOADER\DISKIMAGES\SETUPDISK. Here are necessary files to load Windows CE from X86 BIOS loader.
2 of 3
DMP Electronics INC. 1. 2. 3. 4. Run mkdisk c:. It will install x86 BIOS loader onto DOM.
Modify the boot.ini on DOM. Find the BinFile in boot.ini. If it is not BinFile=nk.bin, correct it. Copy nk.bin from your pen drive onto DOM Now, you DOM will boot without DOS and show splash BMX file to load Windows CE.
Using KITL
Some developers can not boot Windows CE image and use a lot of time to guess cause or try error. Windows CE development provides KITL for developer to trace and debug O/S. If your Windows CE can not boot or get black screen, you can try to enable KITL with debug mode to boot CE via eboot.bin. Windows CE will send boot message via Ethernet to debug window in Visual Studio. It can help you to know the boot procedure and status of Windows CE. Here are debug message example:
PB Debugger The Kernel Debugger has been disconnected successfully. PB Debugger The Kernel Debugger is waiting to connect with target. 4294767296 PID:0 TID:2 CEPC Firmware Init 4294767296 PID:0 TID:2 RTC - Status Reg B - 0x02 4294767296 PID:0 TID:2 g_dwCPUFeatures = 00000111 4294767296 PID:0 TID:2 Looking for rom chain 4294767296 PID:0 TID:2 Rom chain NOT found PB Debugger Kernel debugger connected. 4294767296 PID:0 TID:2 Firmware Init Done. 4294767296 PID:0 TID:2 Setting up softlog at 0x87cfc000 for 0x800 entries 4294767296 PID:0 TID:2 Booting Windows CE version 6.00 for (x86) 4294767296 PID:0 TID:2 &pTOC = 80db9f10, pTOC = 80d60630, pTOC->ulRamFree = 80dc2000, MemForPT = 00043000 4294767296 PID:0 TID:2 Old or invalid version stamp in kernel structures - starting clean! 4294767296 PID:0 TID:2 Configuring: Primary pages: 28392, Secondary pages: 0, Filesystem pages = 14196 4294767296 PID:0 TID:2 Booting kernel with clean memory configuration: 4294767296 PID:0 TID:2 Memory Sections: 4294767296 PID:0 TID:2 [0] : start: 80e06000, extension: 0000e000, length: 06ee8000 4294767296 PID:0 TID:2 X86Init done, OEMAddressTable = 80226d30, RAM mapped = 08000000. 4294767296 PID:0 TID:2 Windows CE KernelInit . . . 4294821245 PID:400002 TID:650002 This device has booted 2 times !!! 4294822745 PID:3b00002 TID:3b10002 DoImport Failed! Unable to import from Library 'ADVAPI32.dll' 4294822747 PID:3b00002 TID:3b10002 !! Process Import failed - Process 'explorer.exe' not started!! 4294822759 PID:3b70002 TID:3b80002 Initializating services for Services.exe 4294822761 PID:400002 TID:3b80002 DEVICE!RegReadActivationValues RegQueryValueEx(Services\Prefix) returned 2 4294822762 PID:400002 TID:3b80002 DEVICE!RegReadActivationValues RegQueryValueEx(Services\BusPrefix) returned 2
Technical Support
For more technical support, please visit http://www.dmp.com.tw/tech or mail to [email protected]. 3 of 3