Document: Building WINCE 6.0 image Copyright (c) 2007, Voipac Technologies a.s. Install Microsoft Windows Embedded CE 6.0 with Visual Studio 2005 and Platform Builder plugin. Optionally install Microsoft shared source code for WINCE 6.0. Download Voipac BSP package for WINCE 6.0 from : http://voipac.com/downloads/pxa/270/dimm/src/wince/VPAC270.ZIP or BETA of 2.0 version (includes preliminary support for flash resident images) http://voipac.com/downloads/pxa/270/dimm/src/wince/VPAC270v2b.ZIP (RECOMMENDED) and unpack it to WINCE600\PLATFORM\ directory. Start Visual Studio 2005 and use File->New->Project... to create new project, select "Platform Builder for CE 6.0" as "Project types" and "OS Design" as "Templates". As "Windows Embedded CE 6.0 OS Design Wizard" will guide you, choose "Voipac PXA270 DIMM:ARMV4I" as BSP and "Small Footprint Device" template for the simplest and smallest device configuration. You can add all required additional features later on by selecting it in "Catalog Items View". For "Small Footprint Device" configuration it is necessary to select at least "Target Control Support" (environment variable SYSGEN_SHELL) in "Catalog Items View" panel, to be able to connect to running device using "Target Control" (Alt+1) command line shell window. Alternatively you can download preconfigured OSDesigns from Voipac downloads. http://voipac.com/downloads/pxa/270/dimm/src/wince/ OSDesign1.zip is "Small Footprint Device" including "Target Control Support" OSDesign2.zip VPAC270core.zip includes most of WINCE 6.0 Core License components, http://www.microsoft.com/windows/embedded/eval/wince/components.mspx VPAC270pro.zip includes most of WINCE 6.0 Pro License components There are some important and influential environment variables which can be set using submenu: Project->Properties (Alt+F7) and from list menu select "Configuration Properties"->Environment SDRAM_SIZE_64_MB - set to 1 if you have vpac270 dimm module with only 64MB of SDRAM BSP_NOETHER - set to 1, it is required for DEBUG configuration, to avoid conflict with ethdbg driver. BSP_NOPCCARD - set to 1 to disable support for PCMCIA/CF BSP_NOBACKLIGHT - set to 1 to disable backlight driver BSP_NOTOUCH - set to 1 to disable ucb1400 touch screen interface BSP_NOSERIAL - set to 1 to disable RS-232 serial port driver Set all following environment variables to 1, to exclude parts of code not functional yet. Some of them have no function even not disabled, but some can cause device malfunctioning. BSP_NOKEYPAD After build has completed you should have in release directory file named eboot.nb0. First setup Intel JFlashMM JTAG flash memory utility and follow included installation manual to install and enable givio parallel port driver. http://voipac.com/downloads/jtag/bin/JFlash_MM_V5_01_007.exe Connect JTAG adapter to 20pin JTAG connector on baseboard and PC parallel port. Plug in dimm module and power up the baseboard, try to identify the module CPU and flash. > jflashmm.exe bulbcx16 testfile.bin I 0 You should see following command output, JFLASH Version 5.01.007 COPYRIGHT (C) 2000 - 2003 Intel Corporation PLATFORM SELECTION: Processor= PXA27x Development System= Mainstone Data Version= 1.00.001 PXA27x revision C5 Found flash type: RD48F4400P0VBQ0 Program successful completion. Processor and Flash Memory Identified. No programming operation performed. Use jflashmm to write eboot.nb0 to dimm module flash memory at address 0 > jflashmm.exe bulbcx16 eboot.nb0 P 0 Set up RS-232 serial line between PC and VPAC270 baseboard and use "TeraTerm Pro" terminal adapter and set it to 38400 bps, 8N1 with NO FLOW control. http://www.ayera.com/teraterm/ttpro313.zip DO NOT USE MICROSOFT HYPER TERMINAL AS IT IS VERY UNRELIABLE. After reset or power cycle you should see EBOOT bootloader booting, press SPACE to stop it from booting or ENTER to skip coutdown. If not interrupted EBOOT should start broadcasting BOOTME messages. Please use Microsoft WINCE 6.0 documentation for more information about how to use Visual Developer Studio 2005 and integrated platform builder.