Поделиться через


Kernel Download Services (Windows Embedded CE 6.0)

1/5/2010

Services in the kernel download service category can flash a target device with a run-time image, or download necessary connectivity modules to a target device.

Kernel download provides a consistent mechanism to transfer files and run-time images to a target device, and to boot a target device. As with other kernel services, kernel download services are hosted by the Core Connectivity Service Host.

The Core Connectivity infrastructure provides built-in kernel download services, and OEMs can extend the built-in Core Connectivity download services. All kernel download services are configured through the Target Device Connectivity Options Dialog Box.

The following list shows the built-in download services.

  • Device Emulator download service
    The Device Emulator download service starts the Device Emulator and loads a run-time image on the Device Emulator. The Device Emulator download service does not require communications hardware because the Device Emulator runs on the development workstation.
  • Ethernet download service
    The Ethernet download service downloads a run-time image over an Ethernet connection. This download service requires an Ethernet network card on the development workstation and a debug Ethernet card on the target device. If the development workstation and target device are not using a local area network (LAN) connection, this download service also requires an Ethernet hub.
    With the Ethernet download service, all applications and tools connect to the target device over a single cable. You can control multiple target devices from a single development workstation.
    When you configure the Ethernet download service, select the entry corresponding to the target device to which you want to download a run-time image.
  • Serial download Service
    The serial download service downloads a run-time image to a target device over a serial port connection using the boot loader for Windows Embedded CE.
    For the serial download service, you cannot configure the device-side settings at run time. You must configure the device-side settings by modifying the code in the OS design and then recompiling the code. You can change the baud rate in the code. At the #define DEF_BAUD_DIVISOR line in the Halserkitl.c file in %_WINCEROOT%\Platform\<CPU>\Kernel\Hal, change the value of DEF_BAUD_DIVISOR. To determine the baud rate, divide a rate of 115,200 bits per second by the DEF_BAUD_DIVISOR constant. For example, to set a baud rate of 38,400 bits per second, set DEF_BAUD_DIVISOR to 3.
  • **

See Also

Reference

Target Device Connectivity Options Dialog Box

Concepts

Kernel Connectivity