Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Embedded Software Development School of software Engineering 2005 3. Introduction to Windows CE.

Similar presentations


Presentation on theme: "Introduction to Embedded Software Development School of software Engineering 2005 3. Introduction to Windows CE."— Presentation transcript:

1 Introduction to Embedded Software Development School of software Engineering 2005 3. Introduction to Windows CE

2 Agenda Hello Windows CE! Hello Windows CE! Windows CE features Windows CE features  Compare with desktop version  Compare with other embedded OS

3 Demo : Hello Windows CE!

4 What can CE do: Mobile Phone

5 What can CE do: PDA

6 Portable Media Center

7 What can CE do: Entertainment devices Linux Windows

8 What can CE do: Car automotive BMWCitroën Clarion Co. Ltd. DaimlerChryslerFiatSubaruHondaHyundaiMitsubishiToyota…

9 What can CE do : Other Gateways Gateways Industrial Automation Industrial Automation Set-Top Boxes Set-Top Boxes Medical Devices and Systems Medical Devices and Systems ATMs ATMs Projectors and Large Screen Displays Projectors and Large Screen Displays VoIP Devices VoIP Devices …

10 Windows CE history First edition released in 1996 First edition released in 1996 Windows CE.NET 4.x is widely used Windows CE.NET 4.x is widely used The latest version Windows CE 5.0 The latest version Windows CE 5.0

11 Windows CE features

12 Compare with Desktop Version: Hardware platform Desktop Windows Only runs on x86 architecture Only runs on x86 architecture Windows CE ARM / Xscale ARM / Xscale MIPS MIPS PowerPC PowerPC SH SH x86 x86

13 Windows CE feature list Windows CE can run on different hardware platforms. Windows CE can run on different hardware platforms. How can we do that?

14 New Platform Wizard The answer is BSP !

15 Introduction to BSP Board Support Package is the software that implements and supports the OEM adaptation layer (OAL) and device drivers for a standard development board (SDB). Board Support Package is the software that implements and supports the OEM adaptation layer (OAL) and device drivers for a standard development board (SDB). Hardware Operation System Board Support Package

16 Compare with Desktop Version: Image Size Desktop Windows Windows 3.x : 2-5MB Windows 3.x : 2-5MB Windows 98 : 400MB Windows 98 : 400MB Windows XP : 1.5GB Windows XP : 1.5GB Lager and lager… Lager and lager… Can NOT be customized Can NOT be customized Windows CE Minimal : 200KB Minimal : 200KB Networking about 800KB Networking about 800KB GWES, Shell and Apps about 4MB GWES, Shell and Apps about 4MB Internet Explorer about 3MB Internet Explorer about 3MB

17 Windows CE feature list Componentization Componentization More than 200 optional components More than 200 optional components Quick and easy to customize OS for a particular system Quick and easy to customize OS for a particular system

18 Compare with Desktop Version: Real Time Desktop Windows No inherent real time support No inherent real time support Windows CE 256 levels of thread priority 256 levels of thread priority Nested interrupts Nested interrupts Per-thread quantums Per-thread quantums Priority inversion Priority inversion

19 Windows CE feature list: Windows CE provide Real-time support Windows CE provide Real-time support Real-time support is essential when dealing with time-critical applications. Real-time support is essential when dealing with time-critical applications.

20 Compare with Desktop Version: Power management Desktop Windows No power management No power management Windows CE Battery power / AC power Battery power / AC power Devices can have their own power state Devices can have their own power state Turn off unnecessary device Turn off unnecessary device

21 Windows CE feature list: Windows CE provides a Power Manager to manage device power and improve overall OS power efficiency Windows CE provides a Power Manager to manage device power and improve overall OS power efficiency Windows CE can reduce the power consumption of a target device and to maintain and preserve the file system in RAM during the reset, on, idle, and suspend power states. Windows CE can reduce the power consumption of a target device and to maintain and preserve the file system in RAM during the reset, on, idle, and suspend power states.

22 Compare with Desktop Version: Programming Interface Desktop Windows ASCII / UNICODE ASCII / UNICODE Rich API set Rich API set Powerful hardware platform Powerful hardware platform Windows CE UNICODE only UNICODE only Compact Version of Win32 API, MFC.. Compact Version of Win32 API, MFC.. Processor, RAM, File System limitation Processor, RAM, File System limitation

23 Windows CE feature list: Windows CE only support UNICODE Windows CE only support UNICODE  CHAR -> TCHAR / WCHAR  strlen -> wcslen Some APIs provide limited function Some APIs provide limited function Windows CE only have limited resource Windows CE only have limited resource

24 Compare with Desktop Version: Micro Kernel Desktop Windows NT series is claimed to be micro kernel. NT series is claimed to be micro kernel. 9x series is not micro kernel. 9x series is not micro kernel. Windows CE Complete micro kernel Complete micro kernel  File system and device drivers run on user mode  Kernel is responsible for passing message

25 Windows CE feature list: Complete micro kernel Complete micro kernel Enhanced reliability Enhanced reliability Enhanced scalability Enhanced scalability

26 Compare with Desktop Version: Share source code Desktop Windows Commercial software, source code is MS 1st level secret. Commercial software, source code is MS 1st level secret. Windows CE 70% of Windows CE 5.0 source code is shared. 70% of Windows CE 5.0 source code is shared. User can modify it. User can modify it.

27 Windows CE feature list: Source code is shared Source code is shared User can find shared source code under “%_WINCEROOT%\private” folder User can find shared source code under “%_WINCEROOT%\private” folder

28 Compare with other Embedded OS: Multimedia support Other EOS: Little build-in support for audio & video Little build-in support for audio & video No commercial web browser. No commercial web browser. Windows CE Rich UI element Rich UI element Windows Media Player 9, support mp3, wav, avi, wmv… Windows Media Player 9, support mp3, wav, avi, wmv… Internet Explorer 6 & Pocket IE Internet Explorer 6 & Pocket IE

29 Windows CE feature list: Rich User Interface Element Rich User Interface Element Strong Multimedia support Strong Multimedia support Interact with desktop windows Interact with desktop windows  Pocket Word, Excel, PowerPoint, adobe reader  Pocket MSN messenger  Pocket IE, Windows Media Player  SQL Server CE edition  ACD See  … …

30 Compare with other Embedded OS: Programming Interface Other EOS: Different programming interface Different programming interface Typically use C/C++ & j2me Typically use C/C++ & j2me Windows CE Win32 API Win32 API MFC, ATL, STL… MFC, ATL, STL… COM, ActiveX COM, ActiveX.NET Compact Framework.NET Compact Framework Java VM Java VM EVB, EVC… EVB, EVC…

31 Windows CE feature list: Easy to get start for Windows programmer Easy to get start for Windows programmer Support multiple programming languages Support multiple programming languages

32 Compare with other Embedded OS: image size and real time Other EOS: RTLinux, µC/OS-II support hard real time RTLinux, µC/OS-II support hard real time Vxworks min size : 8k Vxworks min size : 8k µC/OS-II min size : 2k µC/OS-II min size : 2k Windows CE No hard real time support No hard real time support Image size is too large for specific usage Image size is too large for specific usage

33 Windows CE advantages: Rich optional components and functions. Rich optional components and functions. Can be strongly customized. Can be strongly customized. Easy to use. Easy to use. Same programming interface with desktop windows. Same programming interface with desktop windows. Rich MS and third party applications. Rich MS and third party applications.

34 Windows CE disadvantages: Image size is still too large for specific use. Image size is still too large for specific use. Real time? Real time? Not free : Not free :  3$ per runtime license  995$ for Platform Builder Performance & Security ?? Performance & Security ??

35 Homework 1. Build your own Windows CE platform with Platform Builder and run it. 2. Be familiar with Windows CE GUI, File System structure, Control Panel… 3. Write a tic-tac-toe application with Platform Builder and play it on your own Windows CE platform.


Download ppt "Introduction to Embedded Software Development School of software Engineering 2005 3. Introduction to Windows CE."

Similar presentations


Ads by Google