Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

22
Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005

Transcript of Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Page 1: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Ch1 Windows CE Introduction

Jianjian SONGSoftware Institute, Nanjing UniversityMay, 2005

Page 2: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 3: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 4: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

What is Windows CE?

• Windows Embedded– Windows CE

• For solutions requiring real-time, small footprint, battery power, low unit cost, and support for multiple processor types.

– Window XP Embedded• For solutions requiring the latest Windows technologies built

on the x86 processor

• “CE” means -– Compact Edition?– Consumer Edition?

Page 5: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

What is Windows CE? (cont’d)

• Microsoft® Windows® CE 5.0 – An open, scalable, 32-bit operating system (OS) that

integrates reliable, real time capabilities with advanced Windows technologies. Windows CE allows you to build a wide range of innovative, small footprint devices.

• Windows CE-based devices– A typical Windows CE–based device is designed for a

specific use, often runs disconnected from other computers, and requires a small OS that has a deterministic response to interrupts.

Page 6: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Windows CE History

• WinPad, 1992 - 1994

• Windows CE 1.0, 1996

• Windows CE 2.1, 1998

• Windows CE 3.0, 2000– Pocket PC, Smartphone, ……

• Windows CE 4.x ( CE .NET), 2002

• Windows CE 5.0, 2004– Into the future ……

Page 7: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 8: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Windows CE Architecture

Page 9: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Windows CE Components

• Board Support Package

• Core OS Services

• Multimedia

• Connection Services & Networking

• Internationalization

Page 10: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Terminologies

• Component – The smallest unit of functionality that you can add to

an OS design.

• OS Design– An OS design defines the characteristics of a

Windows CE OS.– You can create an OS design by choosing a design

template and one or more BSPs.

Page 11: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Terminologies (cont’d)

• design template – A pre-defined selection of operating system (OS)

components that Microsoft provides for a category of target devices. A design template is a starting point. When saved or modified, the design template becomes an OS design.

• BSP– Board Support Package– A BSP includes a boot loader, an OEM adaptation

layer (OAL) and some device drivers.

Page 12: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 13: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Windows CE Development

• System Development– BSP Development– Platform Customization– Device Driver Programming

• Application Development– A variety of applications programmed with

embedded VC++, embedded VB, C#

Page 14: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.
Page 15: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Developing Environment & Tools (1)

• System Development– Platform Builder

• (Platform Manager)

Page 16: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Developing Environment & Tools (2)

• Application Development– Embedded Visual C++ 4.1

• C++• Native codes• Programming with SDK, MFC, ATL

– Visual Studio .net 2003• eVB, C#• Managed codes• Programming on .net Compact Framework

– - >Integrated into Visual Studio .net 2005• Into the future……

• (Platform Manager)

Page 17: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

The Two Models Comparison

Page 18: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 19: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Roadmap for Learning

• Three main parts recycled– The Architecture and Components of Windows CE– Using Platform Builder for System Development– Using Visual Studio .NET or eVC for Application

Development

• Labs– Practice makes perfect.– Lab environment:

• Devices (Pocket PC, Smartphone, etc.), Simulator, CEPC

Page 20: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Content

• What is Windows CE

• Windows CE Architecture

• Software Development Overview

• Roadmap for Learning

• A tutorial for Platform Builder

Page 21: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Tutorial:

• http://msdn.microsoft.com/library/en-us/dnce50/html/windowsce5_basic.asp?frame=true– Create, Customize, and Debug an Image for the

Windows CE 5.0 Emulator

Page 22: Ch1 Windows CE Introduction Jianjian SONG Software Institute, Nanjing University May, 2005.

Reference Books• Programming Microsoft Windows CE .NET, 3rd edition,

Douglas Boling, Microsoft Press• Windows CE .net内核定制及应用开发,周毓宁、宁杨、陆贵强等编著,电子工业出版社

• EVC高级编程及其应用开发,汪兵、李存斌、陈鹏等编著,中国水利水电出版社

• Microsoft .NET Compact Framework技术内幕, Andy Widley & Stephen Wheelwright著,罗兵、徐雅骥、江楠译,清华大学出版社

• Windows CE应用程序设计,田东风编著,机械工业出版社

• Windows CE系统分析与实验教程,陈向群等编著,机械工业出版社

• http://msdn.microsoft.com/embedded