How to Develop an OS Design by Using a Design Template
Other versions of this page are also available for the following:
8/27/2008
To create a run-time image on a Windows Embedded CE PC-based hardware platform (CEPC), you can start to build an operating system (OS) design either by using the Windows Embedded CE OS Design Wizard that includes a preconfigured design template, or by manually selecting the necessary Catalog items from the Catalog.
This topic describes how to build an OS design by using a design template from the Windows Embedded CE OS Design Wizard.
Hardware and Software Assumptions
- Your Platform Builder installation includes the CEPC x86 board support package (BSP).
- You have a CEPC that is already configured. For more information, see How to Set Up a CEPC. **
- You have a boot disk for the CEPC. For more information, see Creating a Boot Floppy Disk for an x86 SDB.
- Your CEPC hardware meets one of the following requirements:
- Your CEPC has 32 MB RAM for a typical run-time image built from a Release configuration.
- Your CEPC has 64 MB RAM for a typical run-time image built from a Debug configuration. Run-time images built from Debug configurations can be larger than those built from release configurations, and can require more memory to run.
- If you plan to create your OS by using the Digital Media Receiver design template, the sound and video hardware in your CEPC is supported by a driver included with Windows Embedded CE, as listed in Windows Embedded CE Drivers.
To use a driver not included with Windows Embedded CE, add it to the Catalog in Platform Builder. For more information, see How to Add a Device Driver to the Catalog. - If you plan to create your OS by using 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. However, to test a design template that uses a TV-style interface, you must include a TV-style monitor and appropriate drivers together with your test hardware. For more information about Windows Embedded CE multimedia support, see Encoded Media.
Steps
Step | Related information |
---|---|
1. Use the Windows Embedded CE OS Design Wizard to select a design template and the initial components for your OS design. For the BSP page, the following list shows the options that you have:
|
Creating an OS Design with the Windows Embedded CE OS Design Wizard |
2. (Optional) Customize the OS design. |
|
3. Choose a Debug configuration to target when Platform Builder builds the OS design into a run-time image. To use the kernel debugger, make sure that support for the kernel debugger is enabled. |
|
4. If you expect the size of either the debug or the release run-time image to exceed 32 MB, enable support for a large run-time image in the settings for the OS design.
Note:
Debug run-time images are typically larger than release run-time images. If you choose a debug configuration and the OS design contains many features, it is likely that the size of the run-time image will exceed 32 MB.
|
|
5. Build the OS design into a run-time image. |
|
6. In the Output window, on the Output tab, verify that the build contains no errors. |
|
7. (For CEPCs) Choose a download service appropriate for the connection hardware. The download service will download a run-time image to the target device. |
|
8. (For CEPCs) Set up and configure the connection hardware required for the download service. That hardware connects the target device to the development workstation, on which Platform Builder is installed. Examples of connection hardware include cables, a hub, or Ethernet network adapters. |
|
9. (For CEPCs) If you selected Serial Download Service in step 7, configure the HyperTerminal terminal-emulation application to display the serial debug output from the serial port on the target device. This configuration requires a null-modem cable connected to a serial port, such as COM1. |
|
10. (For CEPCs) Turn on the CEPC so that it becomes active on the Ethernet network or over the serial connection, and Platform Builder can discover it. |
No further information |
11. (For CEPCs) Configure the connection to the target device. For connecting to a CEPC, choose the appropriate topic based on whether the development workstation and the CEPC are connected by an Ethernet network or a serial-port connection. |
|
12. (For Device Emulator) Configure the connection to the target device. For connecting to the Device Emulator, complete the following tasks:
|
Configuring DMA Connectivity Settings for the Device Emulator Configuring Network Connectivity for a KITL over DMA Device Emulator Image |
13. Download the run-time image.
|
|
14. Test the run-time image.
|
|
15. (Optional) Create an application for your OS design. |
|
16. (Optional) Create end-user documentation for the target device. |
See Also
Concepts
Developing a Target Device by Using a Design Template