WHAT’S IN THIS CHAPTER?
- Using Windows Embedded Compact 7 bootloaders
Bootloader is the code that initializes the hardware, places the Windows Embedded Compact 7 OS onto the hardware’s memory, and launches the OS.
For new hardware, bootloader is the first piece of code to develop, as it is needed to download and launch the Compact 7 OS run-time image on the hardware.
Unless you develop a new target device from the ground up, using a processor or system-on-chip that does not support the current or previous version of Windows Embedded Compact, it’s not likely that you need to develop new bootloader code from scratch. The chip vendor is likely to have reference development hardware that supports the Windows Embedded Compact 7 environment and can provide reference development hardware with a bootloader and BSP to support its product. Microsoft also provides sample bootloaders, with source code, as part of the Platform Builder for Compact 7 software suite, which you can use as the starting point to develop your bootloader.
Because the bootloader is the first piece of code to run on a device, there isn’t other code running in the background to provide other services or help with debugging. To develop a bootloader for Compact 7, you must have a good understanding of the hardware platform, the processor, and the Compact 7 OS.