Partager via


Start an OS (Compact 7)

3/12/2014

After you have completed your OS image, Platform Builder provides a mechanism for you to download the run-time image to your device by using an Ethernet, USB, or serial connection. First, you must set up a connection between the development computer and the device. After that connection is configured, you can download the run-time image.

To download a run-time image to a device, you must first configure a connection from a development computer to the device. After you have configured a connection between your development computer and your device, you can download the run-time image onto the device by using Platform Builder.

Note

The steps below use the default values as often as possible to get you up and running quickly. You may need to tailor the settings to your device.

To connect the development computer to the device

  1. Physically connect the development computer to the target device by using the connection method (Ethernet, USB, or serial) present on your device and supported by the boot loader.

  2. In Platform Builder, select Target, and then select Connectivity Options.

    The Target Device Connectivity Options dialog box appears.

  3. In the left pane, under Device Configuration, click Add Device.

  4. Then do the following:

    • Enter a name for your device.
    • Click the Associated OS Design/SDK menu and then click Windows CE.
    • Click Add.
  5. While still in the Target Device Connectivity Options dialog box, in the left pane under Service Configuration, click Kernel Service Map.

  6. Click the Kernel Download menu, and then select the method you want to use to download the run-time image onto the device.

  7. Click the Settings button that is next to the Kernel Download menu to configure the download settings.

  8. Click the Kernel Transport menu, and then select the transport that you want to use to establish a kernel-level connection between your development computer and your device for debugging. We recommend that you match the setting you chose in step 6.

  9. Click the Settings button that is next to the Kernel Transport menu to configure the transport settings.

  10. Click the Kernel Debugger menu, select KdStub if your BSP supports KITL and you enabled kernel debugging during the OS build process.

  11. Click the Settings button that is next to the Kernel Debugger menu to configure the kernel debugger settings.

  12. Click Apply.

  13. To configure the KITL settings, in the left pane, under Service Configuration, click Core Service Settings.

  14. On the right pane, do one of the following:

    • To enable passive KITL, clear the Enable KITL on device boot check box.
    • To enable active KITL, select the Enable KITL on device boot check box.
  15. Click Apply.

  16. Click Close.

To download the image to the device

  1. Load your boot loader into nonvolatile storage on the device.

    The method you use to do so is hardware-dependent. Developers typically use a joint test action group (JTAG) programmer.

  2. Put your boot loader in a state in which it is waiting to receive the OS image.

    How you perform this task depends on your specific device.

  3. In Platform Builder, click Device, and select your target device from the list.

  4. To initiate the download, in Platform Builder, click Target, and then select Attach Device.

    A dialog box displays a progress indicator for the download.

When the download is complete, your device will boot Windows Embedded Compact 7.

For an example of how to load the OS onto a virtual PC-based device (CEPC), which emulates an x86-based hardware platform, see Develop with Virtual CEPC.

See Also

Concepts

BSP Development Overview