Upload
others
View
9
Download
0
Embed Size (px)
Citation preview
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 1 1 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Speaker: Holger Frölich
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 2 2 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 3 3 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
F&S Elektronik Systeme GmbH What are we doing ?
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 4
QBliss - Qseven 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)
QBlissA8 with Cortex-A8
QBlissA9 with Cortex-A9 (Single-, Dual- and Quad-Core CPU)
armStone - PicoITX Standard
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
armStoneA8 (Cortex-A8)
armStoneA5 (Cortex-A5 & Cortex-M4)
armStoneA9 (Cortex-A9)
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 5
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 6 6 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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: I2C, SPI, CAN,…
• sensors and actors
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 7 7 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 8
One single system is not able to meet all these requirements
Rich Application Interface
Connectivity
Multimedia
Flexibility
Real-Time
Certification
Reusability
Special HW
Long-Term availability
Fast boot-time
How to integrate all these challenges?
HMI
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 9
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 10
SoM
MCU
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 11 11 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 12
12
Debug and Trace
Display & Video Memory
Memory Interfaces
System
Audio
Core 1 Analog
Clocks
Security (Optional) Communications
Timers
Cryptography Module
Tamper Detect
Secure RTC
Secure RTIC
Secure RAM
Secure Fuses
Secure WDOG
Secure JTAG
JTAG
Trace
2 x Ethernet (10/100) With IEEE 1588
L2 Switch
2 x USB OTG + PHY
2 x Secure Digital I/O
Up to 135 GPIO (with Interrupt)
4 x DSPI
4 x I2C
6 x UART
2 x CAN
Boot ROM
Up to 1.5 MB SRAM
DRAM Controller (LPDDR2 / DDR3)
2 x Quad SPI with XiP
External Bus Interface
AMBA NIC
Internal and External Watchdog
Interrupt Router
DMA Up to 64-ch
Power Management Regulators
Clock Monitors
Internal Reference Clocks
Low / High Frequency Osc.
Memory Protection Unit
Flex Timer (8-ch)
Flex Timer (2-ch)
Flex Timer (2-ch)
IEEE 1588 Timers
Periodic Interrupt
Low Power Timers
ARM CortexTM-A5 Up to 500 MHz
DP-FPU
NEON
L1 I/D-Cache
Trace / Debug
GIC
TFT LCD
TFT LCD
Digital & Analog Video Camera Interface
2 x 12-bit ADC
2 x 12-bit DAC
PLL
ASRC
4 x SAI
ESAI
SPDIF
Flex Timer (8-ch)
NAND Flash Controller
L2 Cache (Optional)
Core 2 ARM CortexTM-M4
Up to 167 MHz
SP-FPU
DSP
I/D-Cache
Trace / Debug
NVIC
• Two Cores – Cortex-A5
– Cortex-M4
• Rich Connectivity – CAN, USB, SDIO,
– I2C, UART, LAN
• On-Chip Memories – 512KB SRAM with ECC
– 512KB Graphic SRAM
• DDR3 DRAM controller – 8 bit ECC
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 13 13 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 14 14 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Freescale Vybrid Heterogeneous CPUs in one Chip
Both cores interface to Network InterConnect (NIC) bus fabric
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 15 15 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Freescale Vybrid Why Cortex-A5
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 16 16 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Freescale Vybrid Dual Core Startup
• Core communication • Shared memory
• Inter Processor Interrupts (IPI)
• Hardware Semaphores
• ARMv7 • ldrex/strex
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 17 17 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 18 18 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 19 19 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Freescale Vybrid System development with ARM DS-5
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 20
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 21
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 22
• XGA industrial HMI (2D graphics)
• Large or high-quality 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
Industrial HMI Secure Control Energy Conversion Connectivity
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 23
• Web Interface Box
• 1 CPU running OS Windows CE
• WebServer, SSH, SSL
• 1 CPU for KNX Bus communication
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 24
• 1 CPU running OS for High Level MMI
• 1 CPU for controlling actors and reading sensors
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 25
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.
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 26
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, I2C, UARTs, Audio, …
• 18Bit LVDS and Digital RGB
Base for Custom Designs !!
State: Mass Production
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 27
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, I2C, SPI, UARTs, Audio…
• TFT up to SVGA
State: Samples MP: Q3/2013
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 28
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, I2C, SPI, UARTs, FS-BUS, Audio…
• TFT up to SVGA
State: Samples MP: Q3/2013
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 29 29 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 30 30 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
F&S Modules with Freescale Vybrid Hardware Extensions
ADP-CMSIS Debug Adapter
armStone Extension
DVI Adapter
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 31 31 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
F&S Modules with Freescale Vybrid Display Kits
Displaykit LVDS
TFT & Cap. Touch
Displaykit RGB
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 33 33 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Operating System Windows Embedded Compact
Rich experience in
Windows Embedded
since more than 10 years !
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 34 34 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Operating System Windows Embedded Compact - Architecture
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 35 35 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 36 36 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
• 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
Operating System Windows Embedded Compact - Silverlight
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 37 37 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Operating System Windows Embedded Compact - Tools
• Remote Registry Editor
• Time Line Viewer
• Kernel Tracker
• Application Verifier (memory leaks)
• …
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 38 38 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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)
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 39 39 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
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 ?
Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation 40 40 Stuttgart, July.2013, Holger Frölich
© F&S Elektronik Systeme GmbH – Vybrid Presentation
Thank You
The Embedded Solution Company
Questions ?