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
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.
In Platform Builder, select Target, and then select Connectivity Options.
The Target Device Connectivity Options dialog box appears.
In the left pane, under Device Configuration, click Add Device.
Then do the following:
- Enter a name for your device.
- Click the Associated OS Design/SDK menu and then click Windows CE.
- Click Add.
While still in the Target Device Connectivity Options dialog box, in the left pane under Service Configuration, click Kernel Service Map.
Click the Kernel Download menu, and then select the method you want to use to download the run-time image onto the device.
Click the Settings button that is next to the Kernel Download menu to configure the download settings.
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.
Click the Settings button that is next to the Kernel Transport menu to configure the transport settings.
Click the Kernel Debugger menu, select KdStub if your BSP supports KITL and you enabled kernel debugging during the OS build process.
Click the Settings button that is next to the Kernel Debugger menu to configure the kernel debugger settings.
Click Apply.
To configure the KITL settings, in the left pane, under Service Configuration, click Core Service Settings.
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.
Click Apply.
Click Close.
To download the image to the device
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.
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.
In Platform Builder, click Device, and select your target device from the list.
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.