Thursday, September 17, 2009

How to create an Emulator image in WinCE6.0

This is the first excersize I did while learning WinCE 6.0. Creating a sample customized oS and then loading it on Emulator. Lets go step by step how to go for a sample emulator based OS building ...............
  1. Go to File->New->Project
  2. In Project types, Select “Platform Builder for CE 6.0”
  3. Enter Project Name in “Name” control
  4. In BSP tab, select “Device Emulator: ARMV4l”
  5. In Device Templates tab, select PDA device
  6. In Design Template Variants: Select Mobile Handheld
  7. In Applications & Media tab: unselect “.Net Compact Framework” and “ActiveSync”. Select “WordPad”.
  8. Networking & Communications tab: unselect “TCP/IP”
  9. Click “Finish” and then “Acknowledgement”.
  10. Now your image is componentized. We need to set some settings.
  11. Go to Project-> Properties.
  12. Expand “Configuration Properties” tree node.
  13. In “Build Options” select the followings and click apply:
    • Enable eboot space…
    • Enable Event tracking…
    • Enable Kernel Debugger
    • Enable KITL
    • Enable Profiling
  14. Go to Target->Connectivity Options…
  15. In Connectivity Options dialog,
    • Target Device: CE Device
    • Download: Device Emulator (DMA)
    • Transport: Device Emulator (DMA)
    • Debugger: KbStub

    Click “Settings” button of “Download”: In “Display” tab make Screen width as 740, and height as 480 (NOTE: you can give whatever size you want).
    In “Network” tab, select “Enable NE2000 PCMCIA..” check box and click OK
  16. Click apply
  17. Go to Build and Build the solutions.
  18. Once Solution is build without any error, go to “Target” and and click “Attach Device”
  19. You can see the output of an image loading in Output window.

        No comments:

        Post a Comment