Partager via


How to Develop an OS Design by Using a Design Template (Windows CE 5.0)

Send Feedback

To create a run-time image on a CEPC, you can use either the New Platform Wizard that includes a pre-configured design template or you can build an OS design by manually selecting the necessary Catalog item from the Catalog.

Hardware and Software Assumptions

If you are selecting a design template other than mobile phone:

  • Your Platform Builder installation includes the CEPC x86 board support package (BSP).

  • You have a CEPC already configured. For more information, see How to Set Up a CEPC and How to Create an SDK for an OS Design.

  • If you are selecting the Digital Media Receiver design template, the sound and video hardware in your CEPC is supported by a driver included with Windows CE, as listed in Windows CE Drivers.

    To use a driver not included with Windows CE, add it to the Catalog in Platform Builder.

    For more information, see Catalog Customization, Creating a .cec File for a Driver, and Adding a Device Driver to the Catalog.

  • If you are selecting the Set Top Box design template, your test equipment meets the audio and video requirements of your design. The default Set-Top Box design template includes drivers and software support for standard VGA. To test the design template using a TV-style interface, however, you will need to include a TV-style monitor and appropriate drivers with your test hardware. For more information about Windows CE multimedia support, see Graphics and Multimedia Technologies.

If you are selecting the mobile phone design template:

  • Your Platform Builder installation includes the Emulator: X86 board support package (BSP). For more information, see Creating an Emulator-compatible OS Design.
  • Your test hardware includes a serial port-based phone target device. To test the complete functionality your Mobile Phone OS design provides, you must use a target device capable of testing functionality such as wireless telephony and voice and data communications. For more information, see Writing to a Serial Port.

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Create an OS design for a CEPC. The following list shows the choices to make:
  • If you are not creating a mobile phone, for BSP, choose CEPC x86.

    - or -

  • If you are creating a mobile phone, for BSP, choose Emulator x86.
Creating an OS Design
2. (Optional) Customize the OS design. Customizing an OS Design
3. Prepare to build the run-time image.
  • Choose the debug configuration.
Levels of Debugging Support
4. If you expect the size of your run-time image to exceed 32 megabytes (MB), enable support for a large run-time image in the settings for the platform.

The status bar in the Platform Builder integrated development environment (IDE) shows the estimated size of the run-time image.

Note   Debug run-time images are typically larger than release run-time images. If you chose a debug configuration and your OS design contains many features, it is likely that the size of your run-time image will exceed 32 MB.
Enabling a Run-Time Image Size Larger Than 32 MB
5. Build the OS design into a run-time image.
  1. From the Build OS menu, ensure that the following are selected:

    Clean Before Building

    Copy Files to Release Directory after Build

    Make Run-Time Image After Build

  2. From the Build OS menu, choose Build and Sysgen.
Not applicable
6. If you will debug your run-time image, configure the Microsoft HyperTerminal accessory application to display the serial debug output from the CEPC. Configuring HyperTerminal for BSPs
7. Configure a connection to a CEPC or to the emulator, and make the following choices:
  • Add the name of your OS Design.
  • For the Download and Transport options, choose Ethernet from the list and then choose Settings.
  • For non-mobile phone devices, choose the new CEPC from the Active Devices list.

    - or -

  • For mobile phone devices, choose the Emulator, and then choose Settings. The following list shows the choices to make:
    1. In the Emulator Download Settings dialog box, choose Emulator skin.
    2. Click the browse button for the emulator skin, select the Phone folder, and then select the Phone.xml schema.
Configuring a Connection for Downloading and Debugging
7. Download the run-time image.
  • For non-mobile phone devices, download the run-tiime image to a target device.

    - or -

  • For mobile phone devices, download the run-time image to the Emulator.
Downloading a Run-Time Image to a CEPC

Downloading a Run-Time Image to the x86 Emulator

8. Test the run-time image.
  • (Optional) If your OS design supports Windows Media Audio, to play one of the system sounds using Windows Media Player, navigate to the \Windows directory and double-click a .wav file.
  • If your run-time image connects to the Internet, test the new OS on the CEPC. For more information, see Testing an Internet connection from a CEPC
  • If your run-time image connects to the local network, test the OS design by accessing the local network. For more information, see How to Add a CEPC to an Ethernet Network.
Debugging and Testing a Run-Time Image
9. For mobile phone, download the run-time image to the target device over a serial port connection. Serial Download Service
10. (Optional) Create a Quick Start Guide for the Device. Creating a Quick Start Guide for a Device

See Also

Developing a Target Device by Using a Design Template

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.