Workshop Module 4 Introduction To Embedded Systems

Transcription

ARM ProcessorsLecture on Introduction to Embedded SystemsByHarish V. MekaliAssistant Professor, Dept. of ECEBMSCE, Bangalore - 19

AbstractionEmbedded 17ARM Processors - Introduction to Embedded System2

System architecture05-01-2017ARM Processors - Introduction toEmbedded System3

CPU architecture05-01-2017ARM Processors - Introduction toEmbedded System4

CPU architecture05-01-2017ARM Processors - Introduction to Embedded System5

Memory architecture05-01-2017ARM Processors - Introduction toEmbedded System6

Why ARM ?05-01-2017ARM Processors - Introduction toEmbedded System7

ARM Design Philosophy Low power Small size High code density Low cost Easy debug05-01-2017ARM Processors - Introduction toEmbedded System8

The ARM Processor Family05-01-2017ARM Processors - Introduction toEmbedded System9

The ARM Processor Family05-01-2017ARM Processors - Introduction toEmbedded System10

Binary Upwards Compatibility05-01-2017ARM Processors - Introduction toEmbedded System11

Inside ARM based System05-01-2017ARM Processors - Introduction toEmbedded System12

Inside ARM based System05-01-2017ARM Processors - Introduction toEmbedded System13

AMBA AMBA ( Advanced Microcontroller Bus Architecture )It is an open-standard, on-chip interconnect specification for the connection andmanagement of functional blocks in system-on-a-chip (SoC) designs. ASB (Advanced System Bus):Simple bi-directional bus APB (Advanced Peripheral Bus) :Low speed peripheral bus AHB (Advanced High speed Bus): AHB multi: AHB lite:Centralized multilayer busMulti master – multi slaveSingle master – multi slave Mostly ARM core is Bus master and Peripherals are slaves05-01-2017ARM Processors - Introduction toEmbedded System14

Peripherals All peripherals are Memory mapped Controllers are special types of peripherals that govern the interfacing policies Interrupt controller Standard Interrupt control Vector Interrupt Control (VIC)-No PriorityPriority based Memory controller Memory preparation Ex : DRAM requires to be configured for refresh rates and timing before itis accessed Memory management Memory protection05-01-2017ARM Processors - Introduction toEmbedded System15

05-01-2017ARM Processors - Introduction toEmbedded System16

Embedded Software Boot / initialization codeIt runs on reset and does following basictasks Initial hardware configuration likememory controllers and cache i.e., itprepares the hardware to satisfy theimage to be booted Diagnostics : Fault detection andisolation Booting: Loading image andhanding over the control to image bymodifying the PC(Program Counter)05-01-2017ARM Processors - Introduction toEmbedded System17

Embedded Software Operating SystemOrganizes system resources like peripherals, memory and processors time Two main categories Real Time Operating Systems (RTOS) Hard real time Soft real time Platform Operating SystemsManages large non real time applications ApplicationsCode dedicated to handle a particular task05-01-2017ARM Processors - Introduction toEmbedded System18

Thank you05-01-2017ARM Processors - Introduction toEmbedded System19

Harish V. Mekalihvm.ece@bmsce.ac.in 17ARM Processors - Introduction toEmbedded System20

I acknowledge and appreciate ARM University Program(AUP)and ARM Embedded Systems pvt. Ltd. for their continuoussupport.05-01-2017ARM Processors - Introduction toEmbedded System21

ReferencesVideo lectures :1. Mr. Chrish Shore, ARM Training Manager, UKThe ARM University Program, ARM Architecture Fundamentals( https://www.youtube.com/watch?v 7LqPJGnBPMM )2. Dr.Santanu Chaudhury,Dept. of Electrical Engineering, IIT DelhiLecture - 5 ARM : ( https://www.youtube.com/watch?v 4VRtujwa b8 )Website :3. 1. ARM system developers guide, Andrew N Sloss, Dominic Symes and ChrisWright, Elsevier, Morgan Kaufman publishers, 2008.2. ARM System-on-Chip Architecture, Steve Furber, Second Edition,Pearson, 201505-01-2017ARM Processors - Introduction toEmbedded System22

Embedded Software 05-01-2017 ARM Processors - Introduction to Embedded System 18 Operating System Organizes system resources like peripherals, memory and processors time Two main categories Real Time Operating Systems (RTOS) Hard real time Sof