Ch2_BuidDepRTImage.pdf
(
1718 KB
)
Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
MCTS
Exam 70-571
i
Windows Embedded CE 6.0
Preparation Kit
Self-Paced Training
Up to Date
with
R2
Content
Not for Resale.
2
first top-level entry
Contents at a Glance
1
Customizing the Operating System Design
2
Building and Deploying the Run-Time Image
3
Performing System Programming
4
Debugging and Testing the System
5
Customizing a Board Support Package
6
Developing Device Drivers
Chapter 2
Building and Deploying a
Run-Time Image
The Microsoft® Windows® Embedded CE 6.0 R2 build process is very complex. This
process includes several phases and relies on a variety of tools to initialize the
Windows Embedded CE build environment, compile the source code, copy modules
and files to a common release directory, and create the run-time image. Batch files and
build tools, such as the Sysgen tool (Sysgen.bat) and the Make Binary Image tool
(Makeimg.exe), automate this process. You can run these tools directly at the
command prompt or start the build process in Microsoft Platform Builder for
Windows Embedded CE 6.0 R2. The Platform Builder integrated development
environment (IDE) relies on the same processes and tools. In either case, a thorough
understanding of the build process and the steps required to deploy the resulting run-
time image is essential if you want to create run-time images efficiently, troubleshoot
build errors, or deploy Board Support Packages (BSPs) and subprojects as part of a
run-time image on a target device.
Exam objectives in this chapter:
Building run-time images
■
Analyzing build results and build files
■
Deploying a run-time image on a target device
■
37
38
Chapter 2
Building and Deploying a Run-Time Image
Before You Begin
To complete the lessons in this chapter, you must have:
■
An understanding of operating system (OS) design aspects, including catalog
items and the configuration of environment variables and SYSGEN variables, as
explained in Chapter 1, “Customizing the Operating System Design.”
■
At least some basic knowledge about Windows Embedded CE software
development, including source code compilation and linking.
■
A development computer with Microsoft Visual Studio® 2005 Service Pack 1 and
Platform Builder for Windows Embedded CE 6.0 R2 installed.
■
39
Lesson 1: Building a Run-Time Image
Lesson 1: Building a Run-Time Image
The Windows Embedded CE build process is the final step in the run-time image
development cycle. Based on the settings defined in the OS design, Platform Builder
compiles all components, including subprojects and the BSP, and then creates a run-
time image that you can download to the target device. The build process entails
several build phases, automated by means of batch files. You must understand these
phases and the build tools if you want to configure build options correctly, create run-
time images efficiently, and solve build-related issues.
After this lesson, you will be able to:
■
Understand the build process.
■
Analyze and fix build issues.
■
Deploy a run-time image to target hardware.
Estimated lesson time: 40 minutes.
Build Process Overview
The Windows Embedded CE build process includes four main phases, as illustrated
in Figure 2–1. They follow each other sequentially, but you can also carry them out
independently if you know the purpose and tools used for each phase. By selectively
running the build tools, you can perform individual build steps in a targeted way,
which helps to save build time and ultimately increases your efficiency.
Plik z chomika:
finka15
Inne pliki z tego folderu:
WindowsEmbeddedCE.zip
(9175 KB)
SCRZ.zip
(8656 KB)
WindowsEmbeddedCE Fundamentals.PDF
(9699 KB)
wykład 3.ppt
(3105 KB)
windowsce_480272.c
(774 KB)
Inne foldery tego chomika:
Algorytmy kwantowe
Algorytmy optymalizacji
Analiza i modelowanie SI
Analiza strukturalna SI
Architektura korporacyjna
Zgłoś jeśli
naruszono regulamin