Embedded PC
Embedded OS
Operating Systems
•
Major differences
The modular, real
The modular, real--time embedded OS for time embedded OS for small footprint & mobile 32
small footprint & mobile 32--bit intelligent bit intelligent connected devices
connected devices
The full featured embedded OS for PC
The full featured embedded OS for PC
architecture
architecture--based solutions demanding the based solutions demanding the
richest applications and services
richest applications and services
C X 1 0 0 0
Windows Embedded Platform Differences Processor Processor Support Support Win32 API Win32 API Compatibility Compatibility Footprint Footprint Real
Real--timetime
x86 processors
x86 processors
Full Win32 API compatibility
Full Win32 API compatibility
Basic images from 8 MB
Basic images from 8 MB
(
(BeckhoffBeckhoff experience 350 MB)experience 350 MB)
With 3
With 3rdrd party extensionsparty extensions Native Native : min 1 ms cycle: min 1 ms cycle
Basic images from 350 KB
Basic images from 350 KB
(
(BeckhoffBeckhoff from 5 MB)from 5 MB)
Requires additional effort
Requires additional effort
Multiple processors
CX Serie : XPE / CE Differences 300 MB – 380 MB OS / Image Größe 5 MB – 25 MB CE based software Embedded C++ VS2005 (C# / .NET) XCopy Update 64 MB CX9000 : 8 - 13 sec CX1000 : 15 - 20 sec CX1020 : 35 sec C++ / VB / Delphi ... .NET software implementation
Update per Image-Tool
Update of Image
yes
Third party Software
CX1000 : 150 sec CX1020 : 150 sec
min. Boottime
512 MB
• Windows XP Embedded is the desktop OS for powerful embedded systems
• Windows XP Embedded is Windows XP broken into more than 10.000 components
• Target Designer and Analyzer helps setting up a system
• Windows XPE is scalable from 8MB to 1GB
• Since XP Embedded is binary compatible to Windows XP :
Standard TwinCAT works on XP Embedded
Install Third Party Software
Windows XP Embedded
The full featured embedded OS for PC
The full featured embedded OS for PC
architecture
architecture
-
-
based solutions
based solutions
demanding the richest applications
demanding the richest applications
and services
Partition File system File system EWF EWF Read
An application tries to read data from the protected partition An application tries to write data onto the protected partition
Application
Depending on where the sector resides, EWF redirects the read
request to the appropriate
device. Overlay Overlay
(RAM or Disk)
(RAM or Disk)
Windows XP Embedded : Enhanced Write Filter (EWF)
EWF redirects all write requests to an overlay. Write Benefits of EWF
Thin Clients Thin Clients Consumer Consumer Electronics Electronics In In--vehicle vehicle Navigation Navigation Voice
Voice--over IPover IP Devices Devices Medical Devices Medical Devices Industrial Industrial Automation Automation Mobile Mobile Handhelds Handhelds Set
Set--Top BoxesTop Boxes
Gateways
Gateways
Windows CE
Features:Bluetooth
TCP/IP stack und WinSock 2.0 RAS server
remote desktop protocol (RDP) to terminal server UPnP device host und control point
secure socket layer (SSL)
Direct3D, DVD, Direct Music APIs
Internet Explorer 5.5 for CE + free Web Server supported CPU families:
ARM, StrongARM, XScale MIPS
(PowerPC support discontinued) Hitachi
General advantages of Windows CE
Win32 API32 bit multiprocessing + multithreading protected processes
256 thread priorities (cmp. NT = 15 priorities, TwinCAT = 64 priorities)
small resource footprint, smallest CE fits in 200 kb ROM/Flash genuine real-time capability starting with version 3.0
InstantOn capable e.g. X86 boot in approx. 10 s Embedded Visual Studio development tools
C++ Compiler Visual Basic
multitude of processors supported
Restrictions of Windows CE
maximum 32 processes, but virtually unlimited threads maximum 32 MB address space per process
not binary compatible to desktop Windows (W9x, WNT, W2K, WXP)
desktop software will generally not function on a CE device driver support for PC hardware is not so good
Development tools for Windows CE
MicrosoftVisual Studio.Net compiles all languages like C++, C#, VB to managed code (MSIL)
Embedded Visual C++ 4.0
cross-compiler for all “CE”-CPUs
development environment runs on WNT, W2K, WXP (is almost identical to Visual Studio for desktop)
entire tool-suite can be downloaded for free from the Microsoft Website
Third party
Beckhoff Image : CE
Tool "CxConfig" key tool to offer most important diagnostic / configuration
Information / Configuration - Image Version
- TwinCAT Version
- RAS Configuration (User / rights) - Screen resolution
- FTP Server (Path / user / rights)
- SNTP Server (Simple Network Time) - Audio activation
Windows CE : RDP / Remote Display
RDP : Remote Desktop Protokoll
• Remote control of XP-PCs at CE device • scalable :
view / mouse / sound / printer new : configure multiple PC
connections and swap with hot-keys
Remote Display
Which TwinCAT components are available
on CE?
all TwinCAT runtime servers PLC, NC (Motion Control) TwinCAT system components
AdsDLL (now available fully featured for CE) TcScript (for ADS access from Java )
TwinCAT and XP Embedded
Windows XP Embedded is the desktop OS for powerful embedded systems
Windows XP Embedded is Windows XP broken into more than 10.000 components
target designer and analyzer helps setting up a system Windows XPE is scalable from 64 MB to 1 GB
since XP Embedded is binary compatible to Windows XP:
When to use Windows CE?
Decision criteria:
very low system footprint quick power on
no rotating storage media, no cooling fans
limited HMI and automation function requirements
When to use Windows XPE?
Decision criteria:
medium system footprint quick power on
no rotating storage media, no cooling fans
extensive HMI and automation function requirements
When to use Windows XP?
Decision criteria:
allow rotating storage media and cooling fans
extensive HMI and automation function requirements
office and general computing functions (word, excel, databases …)
POWER
CX1000 boot up sequence
TwinCAT CE START TwinCAT CE Systemprozess lädt: TcPlcW32.dll TcNcW32.dll TcRTimeW32.dll TcIOW32.dll TcRouterW32.dll BOOT LOADERLoad WinCE image from Flash to RAM
BIOS
Embedded CE / XPE : Which where available?
Bus-Controller CX9000 Embedded PC IPC
Ethernet Panel CP66xx
CX1000
CX1020