ARM-based Embedded System Design 2013 Freescale Vybrid Applications Windows Embedded F&S Elektronik Systeme GmbH Untere Waldplätze 23 D-70569 Stuttgart Tel. (+49)(0)711 123722-0 froelich@fs-net.de Speaker: Holger Frölich 1
F&S Elektronik Systeme GmbH Founded in 1996 Specialized on Embedded Systems Single-Board-Computer (SBC) System-on-Module (SoM) Privately-held company Development and Production in Stuttgart (Germany) Hardware and Software Linux / Windows Customer base: 60% medical, 30% industrial, 10% other 2
F&S Elektronik Systeme GmbH What are we doing? 3
QBliss - Qseven Standard armstone - PicoITX Standard Standard form factor Qseven (specification V 1.20) ATOM CPU and RISC CPU Advantages of RISC on Qseven low power, no cooling, no fan very easy carrier board short boot time 5-8s WCE/ WEC 7/ Linux (low royalties) Standard form factor PicoITX (100 x 72mm) Single Board Computer w/o carrier board Advantages no carrier board standard connectors short design time cost optimized solution QBlissA8 with Cortex-A8 QBlissA9 with Cortex-A9 (Single-, Dual- and Quad-Core CPU) armstonea8 (Cortex-A8) armstonea5 (Cortex-A5 & Cortex-M4) armstonea9 (Cortex-A9) 4
NetDCU (100x80mm) Advantages very easy carrier board no external hardware required robust connector (2.54mm ) PicoMOD (50x80mm) Advantages credit card size powerful many interfaces PicoCOM (50x40mm) Advantages small/ compact very flexible attractive price 5
Requirements for embedded systems Human-Machine Interface graphics instead of simple texts real-time diagrams visual gimmicks (animations, effects) touch screen multimedia Connectivity USB, RS232, Ethernet industrial busses: I 2 C, SPI, CAN, sensors and actors 6
Requirements for embedded systems Real-Time capabilities predictable response-time Fast boot-times Certification medical and other life-threatening applications IEC 60601-1 Long-Term availability Reusability from previous project e.g. new product generation 7
How to integrate all these challenges? Rich Application Interface Multimedia HMI Connectivity Flexibility Reusability Long-Term availability Certification Real-Time Fast boot-time Special HW One single system is not able to meet all these requirements 8
9
MCU SoM 10
Downside of modular solution 2 Systems 2 sources of error Longevity? Increasing in complexity Single system & Integration Different development environments Slower time to market Increased price Compactness Limited interconnection 11
Two Cores Cortex-A5 Cortex-M4 Rich Connectivity CAN, USB, SDIO, I 2 C, UART, LAN On-Chip Memories Debug and Trace JTAG Trace Timers Flex Timer (8-ch) Flex Timer (2-ch) Flex Timer (2-ch) Flex Timer (8-ch) IEEE 1588 Timers Periodic Interrupt Low Power Timers System AMBA NIC Internal and External Watchdog Interrupt Router DMA Up to 64-ch Power Management Regulators Memory Protection Unit Core 1 ARM Cortex TM -A5 Up to 500 MHz NEON DP-FPU GIC L1 I/D-Cache L2 Cache (Optional) Trace / Debug Core 2 ARM Cortex TM -M4 Up to 167 MHz DSP SP-FPU I/D-Cache NVIC Trace / Debug Analog 2 x 12-bit ADC 2 x 12-bit DAC PLL Clocks Clock Monitors Internal Reference Clocks Low / High Frequency Osc. 512KB SRAM with ECC 512KB Graphic SRAM DDR3 DRAM controller 8 bit ECC Memory Boot ROM Up to 1.5 MB SRAM Memory Interfaces DRAM Controller (LPDDR2 / DDR3) NAND Flash Controller 2 x Quad SPI with XiP External Bus Interface Display & Video TFT LCD TFT LCD Digital & Analog Video Camera Interface Audio ASRC 4 x SAI ESAI SPDIF Security (Optional) Cryptography Module Tamper Detect Secure RTC Secure RTIC Secure RAM Secure Fuses Secure WDOG Secure JTAG Communications 6 x UART 4 x DSPI 2 x Ethernet (10/100) With IEEE 1588 L2 Switch 2 x CAN 4 x I 2 C 2 x USB OTG + PHY 2 x Secure Digital I/O Up to 135 GPIO (with Interrupt) 12 12
Freescale Vybrid Heterogeneous CPUs in one Chip TFT LCD controller up to XGA HW RLE encoder HW format converter (565<->8888, 1555<-> 8888, ) Max. 64 layers, 6 layers simultaneously XGA: 6 layers at 16BPP (SDRAM load: 50%) Integrated security and data integrity features Secure boot and tamper detection Cryptographic Algorithm Random number generator (NIST), Designed for industrial and medical applications >10 years availability I-Temp: -40 to +85 C Designed to combine HMI + RT explicitly 13
Freescale Vybrid Heterogeneous CPUs in one Chip Both cores interface to Network InterConnect (NIC) bus fabric 14
Freescale Vybrid Why Cortex-A5 15
Freescale Vybrid Dual Core Startup Core communication Shared memory Inter Processor Interrupts (IPI) Hardware Semaphores ARMv7 ldrex/strex 16
Freescale Vybrid Dual Core Interrupt Routing Each IRQ can be routed to each core 104 shared peripheral IRQs 4 CPU to CPU interrupts 4 CPU dedicated IRQs 17
Freescale Vybrid System development MQX & Linux/Windows CE MQX Hard Real-Time Well-engineered OS Certified (IEC 60601-1 / CFR 820.30) Extendable Multi Core Communication (MCC) Message queue based communication Common development environment DS-5 / Codewarrior or Keil MDK (M4 only) Debugging, Streamline Analyzer 18
Freescale Vybrid System development with ARM DS-5 19
20
VF50NN15CMK40 VF61NN15CMK50 Cortex-A5 MP Yes Yes Cortex-M4 No Yes Clock 400MHz 500MHz L1-Cache 32kB I and D CA5: 32kB I and D CM4: 16kB I and D L2-Cache No 512kB On-chip SRAM 1,5MB (512kB with ECC) 1MB (512kB with ECC) CM4: 64kB TCM FPU/NEON VFPv4-D16/NEON CA5: VFPv4-D16/NEON CM4: SinglePrecision FPU Security No/On request No/On request 2xLAN Yes Yes L2 switch Yes Yes 21
Industrial HMI Secure Control Energy Conversion Connectivity XGA industrial HMI (2D graphics) Large or highquality small appliance Portable patient monitor Industrial scanner or printer Simple vending machine with 2D LCD or segment display Energy grid protection, e.g. circuit breaker or monitor Infrastructure control, e.g. water treatment or gas pipeline Building control, e.g. elevator or automated door Kiosk with 2D display, e.g. gas pump Motor drive Industrial pump or fan Power inverter Appliance with motors or pumps Mobile patient care, e.g. infusion pump or respirator Wired and wireless communications protocols Energy management hub Networked HVAC Home automation 22
Web Interface Box 1 CPU running OS Windows CE WebServer, SSH, SSL 1 CPU for KNX Bus communication 23
1 CPU running OS for High Level MMI 1 CPU for controlling actors and reading sensors 24
Measures the gas components Security is important Needs registration at PTB Braunschweig TFT Display Ethernet Serial Modbus CPU running OS Windows CE Hardware and software must be secure against manipulation. 25
Advantages: ARM SBC in PicoITX Format Freescale Dual-Core Vybrid CPU with Asymmetric Multiprocessing: Cortex -A5 500 / 400 MHz and Cortex -M4-167 MHz Core Up to 512Mbyte DRAM, up to 1GByte Flash 2x LAN, 2x CAN, SPI, I 2 C, UARTs, Audio, 18Bit LVDS and Digital RGB Base for Custom Designs!! State: Mass Production 26
Advantages: Powerful and small module (40x50mm) Freescale Dual-Core Vybrid CPU with Asymmetric Multiprocessing: Cortex -A5 500 / 400 MHz and Cortex -M4 167 MHz Core Up to 512Mbyte DRAM, up to 1GByte Flash 2x LAN, 2x CAN, I 2 C, SPI, UARTs, Audio TFT up to SVGA State: Samples MP: Q3/2013 27
Advantages: F&S NetDCU Standard Freescale Dual-Core Vybrid CPU with Asymmetric Multiprocessing: Cortex -A5 500 / 400 MHz and Cortex -M4-167 MHz Core Up to 512Mbyte DRAM, up to 1GByte Flash Ethernet, 2x CAN, I 2 C, SPI, UARTs, FS-BUS, Audio TFT up to SVGA State: Samples MP: Q3/2013 28
F&S Modules with Freescale Vybrid Extensions Cortex-M4 fast boot Before UBOOT/EBOOT Linux Buildroot support MCC intergration Flexible display interface, boot screen support Windows Embedded Compact Failsafe Flash File System F3S MCC integration Flexible display interface, boot screen support 29
F&S Modules with Freescale Vybrid Hardware Extensions ADP-CMSIS Debug Adapter armstone Extension DVI Adapter 30
F&S Modules with Freescale Vybrid Display Kits Displaykit LVDS TFT & Cap. Touch Displaykit RGB 31
Operating System Windows Embedded Compact Rich experience in Windows Embedded since more than 10 years! 33
Operating System Windows Embedded Compact - Architecture 34
Operating System Windows Embedded Compact - Coding Native Code C / C++ Qt (3rd party) Silverlight Managed Code C# VB.NET Java (3rd party) #include <windows.h> /* * Application entry point. * * Say hello. */ int _tmain(int argc, _TCHAR* argv[]) { RETAILMSG(1,(L"Hello World from native code \r\n")); return 0; }//_tmain 35
Operating System Windows Embedded Compact - Silverlight Framework for modern, intuitive and highly customizable UIs Separate Designers (UI) from Developers (business logic) Business Logic: Visual Studio UI development: Expression Blend (XAML) Silverlight is THE technology for graphic user interfaces 36
Operating System Windows Embedded Compact - Tools Remote Registry Editor Time Line Viewer Kernel Tracker Application Verifier (memory leaks) 37
Operating System Windows Embedded Compact 2013 Still based on CE core: hard-real-time, small footprint Supported CPUs: ARM v7, Thumb2, VFPv3+NEON Native (C++) and managed (C#) application development support in Visual Studio 2012.NET Compact Framework 3.9 Kernel update: increased file system performance Hardware optimized code paths for Silverlight for Windows Embedded (SWE) SWE UI development tools in Expression Blend 5.0 Faster OS boot (2 seconds from power-on) 38
Operating System Linux vs Windows Embedded Compact Technical Features? Do you get what you need? Development environment? If both operating systems meet your technical needs, then compare the business requirements for each option by analyzing the fixed and variable project costs. Has Customer experience with WINCE or Linux? If customer only need WINCE Core License royalties aren t the point IP protection vs open Source? 39
Thank You Questions? The Embedded Solution Company 40