r2 - 05 Apr 2007 - 13:54:05 - Main.hahnsangYou are here: TWiki >  Main Web > RtclHowtos > InstallWindowsCEAndBuildKernelImage
Install Windows CE and Build Kernel image

1. Download Windows CE setup software (wince 6.0 setup.exe) from Microsoft website

2. Install visual studio 2005. You can download the trial version from Microsoft

3. Run Windows 6.0 setup.exe. It will take about one or two hours to finish since it downloads most components from network. Hence make sure you computer is connected to the Internet.

4. Start visual studio 2005

5. if first started, choose "Platform Builder Development Setting". Or you can modify the setting in Menu: Tools-> Import/Export Setting

6. Select File-> New -> Project. In project types, select platform builder for CE 6.0. In templates, select OSDesgin. Input the name of the OS you are going to design and click OK

7. OS design wizard will guide you through the whole process of adding components into the kernel image.

Some notes: In available BSPs, select "Device Emulator" if you want to compile kernel and run in the emulator. Alternatively, you could select CEPC: x86, if you want to install the compiled kernel in the normal desktop PC. The compiled kernel image is called nk.bin. You can find it in the debug/release directory.

8. If you want to develop software in the kernel you have built. In the solution tab, right click subprojects, select Add new subproject and choose the application type you want to develop.

9. Compile the kernel
Select Menu Build->Build solution
If everything is right, choose Build -> Advanced Build Commands -> sysgen
Then select Build Make run-time image

10. Download compiled kernel image into devices (here I just show how to run it on emulator)
Select Target-->Connectivity option
Choose proper Target Device
Select "Device Emulator" in "Download" option
Select "Device Emulator" in "Transport" option
Select "KdStub" in "Debugger" option
Then you can modify the settings of each option by click settings button
Click Apply
Select menu Target->attach device.

Done. Enjoy the running kernel of win CE.

Microsoft provides very good tutorial about building windows CE image, you can find them through following link: http://msdn2.microsoft.com/en-us/embedded/aa731296.aspx

By Xin

-- Main.hahnsang - 30 Mar 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback