230 likes | 555 Views
Windows CE Development. He Jianbang. Agenda. Introduction Features Overview Development Overview Tools Demonstration Roadmap How To Start Developing!. Wide Range Of Devices . Voice-over IP Devices. Gateways. Thin Clients. Set-Top Boxes. Digital Audio Receivers and Players.
E N D
Windows CE Development He Jianbang
Agenda • Introduction • Features Overview • Development Overview • Tools Demonstration • Roadmap • How To Start Developing!
Wide Range Of Devices Voice-over IP Devices Gateways Thin Clients Set-Top Boxes Digital Audio Receivers and Players Mobile Handhelds Medical Devices IndustrialAutomation Smart Displays
What Is Windows CE .NET? • Microsoft’s latest embedded OS platform • 32-bit, real-time, Win32-based API • Easy to use, familiar development tools • Highly componentized, small-footprint • Broad CPU support • Full feature functionality and flexibility • Low cost tools and run-time licensing
Windows CE Architecture Overview of Windows CE Architecture • The Hardware • The OEM Adaptation Layer • The Kernel Module • The File sys Module • The GWES Module • Communication Support
Windows CE Architecture Microsoft OEM ISV Applications Embedded Shell Remote Connectivity Windows CE Shell Services WIN32 APIs COREDLL, WINSOCK, OLE, COMMCTRL, COMMDLG, WININET, TAPI IrDA Kernel Library TCP/IP GWES File Manager Device Manager File drivers Drivers Device drivers OAL Bootloader Network drivers OEM Hardware
The OEM Adaptation Layer • Layer between the kernel and the H/W • Coded by OEMs to adapt Win CE to their own platforms • Linked with processor-independent code provided by MS to build the kernel • Set of functions related to system startup, interrupt handling, power management, profiling, timer, and clock
BSP’s • Platform Builder ships with at least one BSP for each supported processor • Many 3rd party BSP’s • Roll your own…
Board Support Packages The following table shows the elements that are contained in a board support package (BSP).
Windows CE Boot Loaders Windows CE Boot Loaders The boot loader is a utility that is an integral part of the OEM device development process and, in some cases, the boot loader is also included in the final OEM product. The general purpose of the boot loader is to place the OS image into memory and then jump to the OS startup routine. The boot loader can obtain the OS image in a number of different ways, including loading it over a cabled connection, such as Ethernet, universal serial bus (USB), or serial. The boot loader also loads the OS from a local storage device, such as Compact Flash, or hard disk. The boot loader may store the OS image in RAM or in nonvolatile storage, such as flash memory, electrically erasable programmable read only memory (EEPROM), or some other storage device for later use.
Desktop/Laptop PC 2 GHz Pentium IV 256 K 512 K cache 512 M 1 G DRAM 100 G hard drive 1280x1024 display 2 4 hour battery requirement 50 Watts Keyboard & mouse Extensible through PCI, AGC, USB, EISA, 1394, PC-Card, CF, enet, … Device 400 MHz RISC 4 K 8K cache 4 M ~32 M DRAM 4 M ~32 M Flash / ROM 170x170 640x480 24 hour battery requirement <1 to 2 Watts Stylus or Thumb Not very extensible PC-Card, SD, CF Windows CE Is DifferentHardware
Device UnderDevelopment Device Emulation Development CycleFrom Platform To Applications Device Development Builds and Brings Up Device Application Development Builds Rich Applications Export SDK with Device Specific Win32 APIs or use Standard SDK Platform Builder eMbedded Visual C++ 4.0 C/C++ MFC/ATL Download Device Specific Windows CE OS and Applications Component Catalog incl. .NET CF Visual Studio .NET VB/C# via KITL via KITL Build DeviceImage Smart Device Programmability Debug Device
Windows CE .NETTools • Operating System Development • Platform Builder • Configuration, debugging tool for deploying an OS • Application Development • eMbedded Visual C++ 4.0 SP2 • “Native” application development • C, C++, MFC, ATL • Visual Studio.NET 2003 • “Managed” application development • Visual Basic .NET, C# .NET • .NET Compact Framework
Windows CE .NET Roadmap 2002-2003 2004 2005+ Version 4.2 • RG, VoIP optimizations • IE 6, WM9 • .NET CF RTM • App compat w/ PPC • New “Core” license “Macallan” • Faster time to market • Adaptive device intelligence • Multimedia capture, encoding • Direct3D Mobile • Enhanced security “Next Major OS Release” VS.NET 2003 • Smart Device Programmability RTM • .NET Compact Framework v1.0 RTM “Visual Studio for Longhorn” “Visual Studio for Yukon”
Why Windows CE .NET? • Technology portfolio depth • Low total cost of development • Customization and differentiation • Development and marketing support
Start Building Devices! • Follow Me Step By Step… • Read the How-Tos and Tutorials • http://msdn.microsoft.com/embedded/getstart/basics/tutorialsce/default.aspx • Participate in newsgroups, chats, events • http://www.microsoft.com/windows/embedded/community • Get deep technical information and documentation updates • http://msdn.microsoft.com/embedded • Engage with Windows Embedded Partners • http://www.mswep.com
Key Words • PlatForm Builder & EVC • BSP & OAL • SDK • Eboot.nb0 &NK.bin