530 likes | 549 Views
Embedded Computer. Curs 1. Introducere , motivatie Arhitecturi DSC Microchip Arhitecturi Freescale Bibliografie. What is an Embedded Computer ?. Any electronic device that incorporates a computer in its implementation.
E N D
Embedded Computer Curs 1 • Introducere , motivatie • Arhitecturi DSC Microchip • Arhitecturi Freescale • Bibliografie
What is an Embedded Computer ? • Any electronic device that incorporates a computer in its implementation. • The user of the device is often not even aware that a computer is present. • The computer is used primarily to provide flexibility and to simplify the system design.
Examples: Product: Sonicare Elite toothbrush. Microprocessor: 8-bit Has a programmable speed control, timer, and charge gauge
Product: Any PC Mouse, Keyboard, or USB DeviceMicroprocessor: 8-bit Microcontroller
Product: Any Disk DriveMicroprocessor: Dual 32-bit Marvel ARM SOC & mixed signal DSP
Product: Any PrinterMicroprocessor: Intel, Motorola, or ARM 32-bit RISC
Product: Creative Labs Zen Vision:M Video & MP3 Player. Microprocessor: TI TMS320 DSP
Product: Cannon EOS 30D Digital Camera Microprocessor: DIGIC II Image Processor
Product: NASA's Twin Mars Rovers.Microprocessor: Radiation Hardened20Mhz PowerPCCommercial Real-time OSSoftware and OS was developed during multi-year flight to Mars and downloaded using a radio link
Product: Sony Aibo ERS-7 Robotic Dog.Microprocessor: 64-bit MIPS R7000.OS: Aperios - Sony’s Real Time OSUsed in Robocup Soccer Teams
Product: Radiant Systems Point-of-Sale (POS) TerminalMicroprocessor: Intel X86 CeleronOS: Windows XP Embedded
Product: Microsoft’s Smart Personal Object Technology (SPOT) watchMicroprocessor: 32-bit ARM with FM Radio ChipDownloads News using extra bandwidth on FM radio stations in major cities
Product: Kuka Industrial Robot ArmMicroprocessor: X86OS: Windows CE OS & Others Kuka robot arms welding a Mercedes
Product: Pavion Portable GPS Navigation & Multimedia SystemMicroprocessor: ARM , DSPOS: Windows CEAlso plays MP3s and Videos
Product: HP iPAQ Pocket PCMicroprocessor: Marvel XSCALE (ARM)OS: Windows CE
Product: Motorola Q Pocket PC Phone Microprocessor: TI OMAP (ARM+DSP)OS: Windows Mobile 5.0 (Windows CE OS)
Product: Dresser Wayne Ovation iX Gas PumpMicroprocessor: Marvel Xscale (ARM)OS: Windows CEDisplays video ads &is networked to a gas station’s back office computer system. Also has remote maintenance features.
Product: Gumstix Connex Embedded Computer Board(size of a stick of gum)Microprocessor: Marvel 400Mhz XscaleOS: DrumStix community project developing a BSP for Windows CEGreat low-power CE target board for student projects.
Importance of Embedded Computer • Ratio of Embedded Devices / Desktop PCs is greater than 100 • The typical house may contain over 50 embedded processors • A high-end car can have over 50 embedded processors • Embedded systems account for the most of the world’s production of microprocessors!
Embedded Computer Goals • Reliability • Can’t Crash, may not be able to reboot • Can’t update many embedded devices • Performance & Power • Real-time issues in many applications • May need to run on battery power • Limited memory and processing power • Cost • Fast time to market on new products • Consumer Products are very cost competitive
Real-Time System A real-time system responds to events. Process New Data External Input Event External Output Event Example:An Automobile airbag system. When the airbag’s motion sensors detect a collision, the system needs to respond by deploying the airbag within 10ms or less. – or the system fails!
Real-Time System • A real-time system must respond to external inputs and produce new outputs in a limited amount of time. • The response time needs to be bounded. Response times that are too long cause real-time systems to fail. • General purpose desktop Operating Systems are not designed for real-time use • Real-time Operating Systems need to be initially designed for real-time use in order to provide fast bounded response times
Multi-Tasking and Scheduling • Many embedded systems are real-time systems with several inputs and outputs. Multiple events are occurring independently. • Programming is simplified by separating the tasks, but this requires the CPU to switch back and forth among the different tasks • An operating system that supports multitasking has features to time slice the CPU among multiple tasks. • OS provides Synchronization Primitives
OS in an embedded device • Support for multitasking, scheduling, and synchronization • Support for a wide range of I/O devices • Support for file systems • Scheduling and buffering of I/O operations • Support for networking • Memory management • Support for graphics displays • Security and Power Management
What is actually being used in New Embedded Designs? • What Types of Processors are used? • What Operating Systems are used? • What Programming Languages are used? • Will examine data from a 2008 Market Survey of design engineers by EETimes and Embedded Systems Design Magazine ( Ce vom facem la scoala ? )
Processor Bit Size Used in New Embedded Designs Data was derived from EETimes and Embedded Systems Design Magazine 2006 Embedded Market Survey
Processor Architectures Widely Used in New Embedded Designs • ARM • X86 • PowerPC • MIPS • Xscale (ARM) • Renesas SuperH
32-64 bit Annual Processor Sales Based on 2002 sales data
Number of Processors Used in New Embedded Designs Data was derived from EETimes and Embedded Systems Design Magazine 2006 Embedded Market Survey
Programming Languages Used in New Embedded Designs Data was derived from EETimes and Embedded Systems Design Magazine 2006 Embedded Market Survey
Conclusions • Embedded devices can be found everywhere in large numbers! • Most new devices are using 32-bit processors • Most new devices with an OS use a commercial off-the-shelf OS • The C family (C, C++, C#) is the most widely used language for embedded systems
Terminologie Computer, RISC, CISC, embedded Harvard – von Neuman CPU, MCU, DSP, DSC
ARM Ltd ARM is short for Advanced Risc Machines Ltd. • Founded 1990, owned by Acorn, Apple and VLSI • Known before becoming ARM as computer manufacturer • Acorn which developed a 32-bit RISC processor for it’s own use (used in Acorn Archimedes)
ARM provides hard and soft views to licencees • RTL and synthesis flows • GDSII layout • Licencees have the right to use hard or soft views of the IP • soft views include gate level netlists • hard views are DSMs • OEMs must use hard views • to protect ARM IP
ARM – Alternative 5TE Improved ARM/Thumb Interworking CLZ 4 Jazelle Java bytecodeexecution 5TEJ Halfword and signed halfword / byte support System mode 1 ARM9EJ-S ARM926EJ-S SA-110 Saturated maths DSP multiply-accumulate instructions 2 SA-1110 ARM7EJ-S ARM1026EJ-S 3 6 SIMD Instructions Multi-processing V6 Memory architecture (VMSA) Unaligned data support ARM1020E Thumb instruction set 4T XScale Early ARM architectures ARM7TDMI ARM9TDMI ARM9E-S ARM720T ARM940T ARM966E-S ARM1136EJ-S
Lab. Software Tools ARM 1. Microsoft visual Robotics studio 2. National Instruments NXT visual programming tools, GNU C-ARM, 3. ARMSIM