Download Transport (Boot Loader) (Compact 2013)

3/26/2014

The download transport copies the run-time image onto the device by using Ethernet or USB connection. If you use an Ethernet connection to download the run-time image to the device, you can also use the Ethernet connection to communicate with the development computer for debugging by using the Kernel Independent Transport Layer (KITL).

The header file that defines the Ethernet interface is %_WINCEROOT%\Public\Common\OAK\Inc\halether.h. The Ethernet functions are typically linked into the Eboot.lib file.

The following are typical Ethernet code locations:

  • %_WINCEROOT%\Platform\<BSP Name>\Src\Bootloader
  • %_WINCEROOT%\Platform\<BSP Name>\Src\Bootloader\Eboot
  • %_WINCEROOT%\Platform\<BSP Name>\Src\Boot\Eboot

There are also common Ethernet libraries that support specific Ethernet cards in %_WINCEROOT%\Platform\Common\Src\Common\ethdrv.

The following table lists the main download transport and Ethernet functions. For more information, see Boot Loader Download Functions.

Purpose

Function name

Initializes the download transport and other pre-download initializations

OEMPreDownload

Reads data from the download transport

OEMReadData

Sends and receives data over an Ethernet connection

OEMEthGetFrame, OEMEthSendFrame

For an example of the function calls that are used when downloading a run-time image into flash memory on a device, see Flash Memory (Boot Loader).

See Also

Concepts

BL Common Boot Framework