What is Windows CE?
WindowsCE is the foundation of Microsoft's embedded, mobile computing platform, it is an open, scalable 32-bit embedded operating system, is based on the Pocket PC class of electronic devices operating system, it is a streamlined Windows 95, Windows CE's graphical user interface is quite excellent. \x0d\ where the C in CE stands for pocket (Compact), consumer (Consumer), communication capabilities (Connectivit) and companion (Companion); E stands for electronic products (Electronics). Unlike Windows 95/98 and Windows NT, Windows CE is a new embedded operating system with all source codes developed by Microsoft, and its operating interface is derived from Windows 95/98, but Windows CE is a new information device platform based on the redevelopment of WIN32 API. Windows CE is modular, structured and based on Win32 API and processor-independent, etc. Windows CE not only inherits the traditional Windows graphical interface, but also can use the programming tools (such as Visual Basic, Visual C++, etc.), the same functions, the same interface and the same functions of Windows 95/98 on Windows CE. Windows CE is not designed for a single device, so Microsoft has divided its products with Windows CE operating system into three product lines: Pocket PC (handheld PC), Handheld PC (handheld device), and Windows 95/98 (such as Visual Basic, Visual C++, etc.), Handheld PC (handheld device) and Auto PC. \x0d\ WindowsCE versions are mainly 1.0, 2.0, 3.0, 4.0, 4.2, 5.0 and 6.0 \x0d\ WinCE1.0 : \x0d\ WINCE1.0 is an operating system based on Windows 95, which is actually a monochrome In the mid-1990s, Casio launched the first clamshell PDA with WinCE1.0 operating system, and was considered the first PDA manufacturer to launch a real palm-sized PDA. WinCE 1.0, the first generation, came out in 1996, but it didn't go well initially. At that time, the Paim operating system was so successful in the PDA market that it almost became synonymous with the entire PDA product, in which case Microsoft was forced to make continuous improvements for the initial WinCE at the same time, Microsoft also gathered a large number of cooperative vendors by means of lobbying, \x0d\ technical support, direct funding, etc., so that the WinCE class of the PDA lineup is getting stronger and stronger. \x0d\ WinCE2.0: \x0d\ With the emergence of Windows95 and the success of Windows98, another giant - Microsoft stood up and quickly established the Microsoft empire in the PC operating system industry. the development potential of the PDA market has been viewed favorably by many analysts, and "Microsoft", which has an exceptionally keen sense of smell, will naturally not let go of such a great opportunity. Naturally, "Microsoft" would not let go of such a huge market, under the premise that its operating system empire has been very stable, and began a full sprint in the PDA market, using \x0d\ WinCE2.0 operating system to create a handheld product very similar to the Palm. \x0d\ WinCE2.0 is not only much faster than CE1.0, and the color display, and many new PDAs using the new WinCE2.0 system, there is a tendency to replace the Pilot as the new standard for PDA operating systems. Although CE2.0 still need more space than the Pilot's operating system, but it has a Windows interface, will use the PC I estimate that not many people will not use Microsoft's operating system. If you're familiar with Windows 95, you'll be familiar with WindowsCE and won't need to relearn it. Moreover, with the technical similarity between the two, third-party Windows application developers can easily convert their applications into versions that can run on CE, so the variety of software available for WindowsCE will become more and more diverse. \x0d\ WinCE3.0: \x0d\ WinCE3.0 is Microsoft's Windows Compact Edition, a general-purpose version that is not intended for handheld products, and can be installed and run on standard PCs, home appliances, and industrial control equipment, but with a lot of customization, and of course, PDAs. Microsoft encourages you to use WinCE3.0 on any hardware platform (WinCE3.0 supports 5 series of CPUs: x86, PowerPC, ARM ,MIPS,SH3/4) (in order to compete with VxWorks, Linux, etc.), so early WINCE running on different hardware platforms.WinCE3.0 Licence cost $20, 10 Licence starts from, batch \x0d\ volume can be roughly reduced to $15/Licence. \x0d\ 2000 Microsoft will WinCE3.0 officially renamed Windows for Pocket PC, referred to as Pocket PC. that is, Pocket Word and Pocket Excel and other daily needs of office software of the Pocket Edition loaded into the Pocket PC. Pocket PC, while in the entertainment aspect of the performance to do a great enhancement. Of course, for all of Microsoft's moves, the manufacturers to support the scene naturally will not be less, to join the Pocket PC camp now there are HP, Compaq, Casio and some other famous manufacturers. When Compaq's iPAQ 3630 was born and sold in the market, support and join the Pocket PC camp more and more vendors. 2002 smart phone business opportunities reappeared, many PPC manufacturers want to launch the integration of cell phone features of the PPC, and so in August 2002, optimized for cell phones specifically for Microsoft Pocket PC 2002 Phone Edition operating system was hastily introduced. Edition operating system was hastily introduced, and in October 2002, the first domestic PPC cell phone - Dopod 686 was launched, followed by Panda's CH860 and Lenovo's ET180\x0d\ WinCE4.0: \x0d\ WinCE.Net (i.e., WinCE 4.0) is the first Microsoft operating system to be launched in January 2002 under the . Net (i.e. WinCE 4.0) is Microsoft's first operating system under the name of . From the name we can tell that it is part of Microsoft's . WinCE.Net is an upgrade of WinCE 3.0, and also includes the .Net Framework lite version, which supports bluetooth and .Net application development. \x0d\ WinCE4.2 : \x0d\ WindowsCE.NET 4.2 is an upgrade of WindowsCE.NET 4.0/4.1, which further expands and enriches the powerful features of the previous versions of Windows CE. Devices developed based on it will benefit from the small but significant changes to better performance and stronger Windows integration features. Microsoft had provided open source code at WinCE version 4.2, but only for research units, and the program code was smaller at 2 million lines. \x0d\ WinCE5.0: \x0d\ WinCE5.0 was launched in May 2004, when Microsoft announced the expansion of WinCE5.0 with open source program code. Under the license of this open source program, Microsoft opens 2.5 million lines of source code program as evaluation kit (evaluationkit). All individuals, manufacturers can download these source codes to modify the use of future manufacturers OEM, and then according to the execution period (Run-time) authorization to pay Win CE5.0 core per machine $3 authorization fee, which is Microsoft's first operating system to provide commercial use of derivative authorization. \x0d\ Windows CE 6.0: \x0d\ In November 2006, Microsoft Corporation its latest embedded platform Windows Embedded CE 6.0 was officially launched. As an industry-leading software tool, Windows Embedded CE 6.0 will build real-time operating systems for a wide range of devices, such as Internet Protocol (IP) set-top boxes, Global Positioning Systems (GPS), wireless projectors, and a variety of industrial automation, consumer electronics, and medical devices. \x0d\ On the 10th anniversary of Windows Embedded, Microsoft will, for the first time, open up 100% of the Windows Embedded CE kernel in the "**** Shared Source program (Microsoft? Shared Source programme)" without any reservations. 6.0 kernel (GUI GUI is not open) is 56% more open than previous versions of Windows Embedded CE. "The ****Source Program provides device manufacturers with full access to the source code for modification and redistribution (under the terms of a license agreement) and does not require them to share their final design with Microsoft or others. Although the Windows operating system is a general-purpose computer platform designed for a unified experience, device manufacturers can use Windows Embedded CE 6.0, a toolkit, to build customized operating system images for different non-desktop devices. With access to certain portions of the Windows Embedded CE source code, such as: the file system, device drivers and other core components, embedded developers can select the source code they need, then compile and build their own code and unique operating system to quickly bring their devices to market. \x0d\ Microsoft is also shipping Visual Studio 2005 Professional Edition as part of Windows Embedded CE 6.0. In another unprecedented breakthrough for Microsoft, Visual Studio 2005 Professional will include a powerful plug-in called Platform Builder, which is an "integrated development environment" (IDE) specifically for embedded platforms. This IDE brings the entire development chain together and provides an easy-to-use tool from device to application, dramatically accelerating device development to market. The \x0d\ Windows Embedded CE 6.0 redesigned kernel has the concurrent processing power of 32,000 processors with 2GB of virtual memory addressing space per processor, while maintaining real-time system response. This allows developers to incorporate a vast array of powerful applications into smarter, more sophisticated devices. Such devices can be used whether on the road, at work or at home. \x0d\ On the Road: Windows Embedded CE 6.0 incorporates new unit-core data and voice components, which enable devices to establish data connections and voice calls over cellular communication networks, enabling machine-to-machine communication application scenarios and building appropriate devices such as parking meters, vending machines and GPS devices. \x0d\ At work: Windows Embedded CE 6.0 includes components that make it easier for developers to create projectors that wirelessly connect to remote desktops*** to enjoy the experience through the built-in capabilities of Windows Vista. \x0d\ At home: Windows Embedded CE 6.0 takes full advantage of multimedia technologies to develop networked media devices, digital video recorders, IP set-top boxes and more. \x0d\\ Latest Features\x0d\ The latest Windows CE is now Windows CE 6.0, this version has made great progress in the kernel part: \x0d\ All system components have been changed from EXE to DLL and moved to kernel space.\x0d\ Newly designed Virtual Memory Architecture\x0d\ A brand new Device Driver Architecture, as well as Supports both User Mode and Kernel Mode drivers. The device driver architecture supports both User Mode and Kernel Mode drivers. 32768 process can be run instead of the 32 process limitation. The virtual memory limit for each process has been increased from 32 M to the total system-wide virtual memory.Platform Builder IDE is integrated into Microsoft Visual Studio 2005.New security architecture ensures that only trusted software can be run on the system.UDF 2.5 file system. Supports 802.11i (WPA2) and 802.11e (QoS) wireless specifications and multiple radio support.\x0d\ Supports x86, ARM, SH4, MIPS and other processors. New Cellcore components are provided to make the system easier to create data links and activate calls in cell phone networks. [1][2] In terms of development environment, Microsoft also provides a development component compatible with the .NET Framework: .NET Compact Framework, which allows developers who are learning .NET or already have .NET program development skills to quickly and smoothly develop applications on devices equipped with Windows CE . \x0d\ The Windows CE system for Pocket PCs and Smart Phones is called Windows Mobile, and the latest version is Windows Mobile 6.5. \x0d\ 1) What is the difference between WinCE and Linux? (Business model, learning and development difficulty, support for hardware, stability, help for future development of engineers, help for future development of R&D centers) \x0d\ Advantages of Embedded Linux OS compared to Windows CE: \x0d\ First: Linux is open source, many Linux enthusiasts all over the world are strong Linux developers technology supporters; Windows CE is currently 6.0 kernel all open, GUI is not open. Second: Linux kernel is small and efficient; Windows CE takes up too much RAM compared to Windows CE. third Linux is an open source OS, which is very competitive in price and suitable for China's national conditions; Windows CE requires royalties. Fourth, Linux not only supports x86 chips, but is also a cross-platform system. When you change CPU, you will not encounter the trouble of changing platforms. Fifth, the structure of the Linux kernel is very complete in terms of networking, it provides support for Ethernet networks including ten megabits, hundred megabits and gigabits, as well as wireless networks, Token ring (token ring) and fiber optics and even satellites, and the current network functions of WINCE are also relatively powerful. \x0d\ Embedded Linux OS weaknesses compared to Windows CE: \x0d\ First: LINUX development is difficult and requires a high degree of technical strength, WINCE development is relatively easy, the development cycle is short, the kernel is perfect, and it is mainly the application layer development. Second: LINUX core debugging tools are incomplete, debugging is not very convenient, there is not yet a good user graphical interface, WINCE's GUI is rich, development tools are powerful; Third, the system is difficult to maintain. Linux occupies a large amount of memory, if you remove some of the useless functions to reduce the memory used, but if not carefully, will cause new problems. \x0d\ 2) What is the difference between WinCE 5.0 and 6.0? \x0d\ 100% unreservedly open Windows Embedded CE 6.0 kernel, Microsoft also launched Visual Studio 2005 Professional Edition together as part of Windows Embedded CE 6.0. Visual Studio 2005 Professional Edition will include a powerful feature called Platform Visual Studio 2005 Professional will include a powerful plug-in called Platform Builder, which is an "Integrated Development Environment" (IDE) specifically for embedded platforms. This IDE brings the entire development chain together and provides an easy-to-use tool from device to application, dramatically accelerating device development to market. Windows Embedded CE 6.0's redesigned kernel features 32,000 processors of concurrent processing power, with 2GB of virtual memory addressable space per processor, while maintaining real-time system response, incorporating new unit core data and voice components, 6.0 includes components that make it easier for developers to create projectors that wirelessly connect to remote desktops*** to enjoy the experience through the built-in functionality of Windows Vista, and takes full advantage of multimedia technologies in order to develop networked media devices, digital video recorders, and IP set-top boxes, among others. \x0d\ 3) Name 10 products that use WinCE (5 of these products are well known). \x0d\ Mobile phones, fingerprint identification systems, automotive electronic testing equipment, smart home appliances, medical instruments (e.g., monitors, cardiac testers, etc.), industrial control instruments (e.g., high-precision motor control for HMI displays, industrial acquisition and control communications, etc.), location-guidance equipment (e.g., in-vehicle GPS navigators), \x0d\ 4) Name 10 products that use Linux ( 5 of these products are well known) \x0d\ Motorola A series (Ming), E series (E6,E680 etc.), Patriot MP5 (e.g. P881) \x0d\ 5) What is the difference between WinCE and Vxworks? (Business model, learning and development difficulty, support for hardware, stability, help for future development of engineers, help for future development of R&D centers) \x0d\ WinCE business model: \x0d\ Windows Embedded CE 6.0 uses a volume-based licensing model for licensing, whereby the device manufacturer can purchase a license to run the device when it becomes available. Microsoft will provide intellectual property protection (under the terms of the license agreement) and a 10-year product support lifecycle that ensures product integrity and guarantees that vendors have the necessary support and protection to be successful. \x0d\ Windows CE Hibernation Wakeup Comprehensive Analysis \x0d\ Windows CE, as a widely used operating system for mobile and portable devices, provides comprehensive power management functions. One of the important features is Wake-on-Hibernation. So, what is the principle of wake-up hibernation, which first of all from the hardware to say. Here, I will take the most skillful Samsung platform with their 2440 CPU as an example to discuss with you. \x0d\ First look at the 2440 Datasheet on the hibernation part of the description \x0d\ SLEEP ModeThe block disconnects the internal power. So, there occurs no power consumption due to CPU and the The block disconnects the internal power. So, there occurs no power consumption due to the CPU and the internal logic except the wake-up logic in this mode. One ofthe two power sources supplies the power for the wake-up logic. The other one supplies other internal logics ,including CPU, and should be controlled for power on/off. The other one supplies other internal logics ,including CPU, and should be controlled for power on/off. In the SLEEP mode, the second power supply source forthe CPU and internal logics will be turned off. RTC alarm interrupt.\x0d\ The above paragraph is to the effect that when the CPU enters hibernation mode, the entire CPU system will enter a low power mode, and the system will only be woken up when any of the external interrupts 0-15 are triggered, or when the real-time clock interrupt is triggered. Let's combine the relevant parts in 2440 wince5.0 BSP to analyze in detail. \x0d\ (here to say a word on the subject, there are now two types of wince5.0 BSP circulating in the market, one is based on Samsung's official release of the PQOAL structure, and the other, upgraded from the 4.2 BSP, that is, the original 4.2 under the BSP has been modified so that it can be compiled under the PB5.0 through. I am going to analyze the latter, that is, from wince4.2 under the upgrade to the 5.0 BSP. his structure and 4.2 under the same basic. \x0d\ According to my point of view, these two kinds of BSP does not matter whether it is good or bad, as long as you can realize the product function, is a good BSP. However, in the long run, Microsoft is mainly promoting the PQOAL structure of the BSP, the future official release of the 5.0 and 6.0 of the BSP, basically are used in this kind of structure.) \x0d\ There are many ways to make the system go into hibernation, such as on the desktop of WINCE, tap the icon in the lower left corner, and then select "suspend". Or calling the SetSystemPowerState function in an application or driver can put the system into hibernation. In fact, these two methods are in the same way, ultimately to call an OEM layer function : OEMPowerOff\x0d\ .