Microprocessor Systems

Similar documents
COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Overview of Microcontroller and Embedded Systems

Basic Components of Digital Computer

MICROPROCESSOR BASED SYSTEM DESIGN

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

AVR Microcontrollers Architecture

Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Microcontroller Not just a case of you say tomarto and I say tomayto

EECS 388 Embedded Systems Introduction. Gary J. Minden January 22, 2013

Computer System Overview

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

CN310 Microprocessor Systems Design

Lecture 1. Course Overview and The 8051 Architecture

MICROCONTROLLERS 8051

ATmega128. Introduction

AT-501 Cortex-A5 System On Module Product Brief

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

Advanced Embedded Systems

INTERRUPTS in microprocessor systems

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto

EE 308: Microcontrollers

Microprocessors And Microcontroller

Fig 1. Block diagram of a microcomputer

Components of a personal computer

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

CSE 466 Exam 1 Winter, 2010

Computer Organization

Computer Hardware Requirements for Real-Time Applications

Proven 8051 Microcontroller Technology, Brilliantly Updated

ARDUINO MEGA INTRODUCTION

2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,

Last class: Today: Course administration OS definition, some history. Background on Computer Architecture

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

Microcontroller basics

PSU 2008 Winter - PH-315 Experimental Physics

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Introduction to ARM LPC2148 Microcontroller

Microprocessors and Microcontrollers. Assignment 1:

Introduction to Computer Systems and Operating Systems

Lab Course Microcontroller Programming

The Memory Hierarchy 10/25/16

Week 0: Intro to Computers and Programming. 1.1 Why Program? 1.2 Computer Systems: Hardware and Software. Hardware Components

Somes French translations :

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

ELCT 912: Advanced Embedded Systems

ECE2049-E18 Lecture 6 Notes 1. ECE2049: Embedded Computing in Engineering Design E Term Lecture #6: Exam Review

Intentionally Blank 0

Interesting Items Volume 16. Dave Jaffe 04/23/2011

Today: I/O Systems. Architecture of I/O Systems

Introduction to USB/LPC23xx

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

Module 2: Introduction to AVR ATmega 32 Architecture

Basic computer principles

OS And Hardware. Computer Hardware Review PROCESSORS. CPU Registers. CPU Registers 02/04/2013

MICROPROCESSOR MEMORY ORGANIZATION

EMX Module Specifications

Computer Systems Overview

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Prefetch Cache Module

Robotics Training Module ABLab Solutions

Introduction To Computer Hardware. Hafijur Rahman

Diploma in Embedded Systems

EEM336 Microprocessors I. I/O Interface

A First Look at Microprocessors

QUESTION BANK UNIT-I. 4. With a neat diagram explain Von Neumann computer architecture

Computer Architecture and Assembly Language. Spring

Microprocessor or Microcontroller Not just a case of you say tomarto and I say tomayto

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu

Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Operating Systems (CS1022) Input/Output. Yagiz Özbek Evren

Components of a simple PC

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CourseContents: 1.Introduction to MATLAB. 2. Handling data and data flow in MATLAB. 3. Editing and Debugging M-FILES

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Last 2 Classes: Introduction to Operating Systems & C++ tutorial. Today: OS and Computer Architecture

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

CprE 288 Introduction to Embedded Systems (Project and Platform Overview)

Memory Map for the MCU320 board:

About the Presentations

Chapter One. Introduction to Computer System

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Hands-On Workshop: ARM mbed : From Rapid Prototyping to Production

I/O Management Intro. Chapter 5

ARM Embedded Development Using Oberon-07

ECE2049-E17 Lecture 6 1. ECE2049: Embedded Computing in Engineering Design E Term Lecture #6: Exam Review

Doc: page 1 of 8

Machine Architecture and Number Systems

What Are The Main Differences Between Program Counter Pc And Instruction Register Ir

! Learn how to think like a computer scientist. ! Learn problem solving. ! Read and write code. ! Understand object oriented programming

I/O. Disclaimer: some slides are adopted from book authors slides with permission 1

ARDUINO BOARD LINE UP

Transcription:

Microprocessor Systems Networks and Embedded Software Module 4.1.1 by Wolfgang Neff

Components (1) Microprocessor System Microprocessor (CPU) Memory Peripherals Control Bus Address Bus Data Bus 2

Components(2) Microcontroller / System on a Chip Peripheral Microcontroller Port Port Microprocessor Memory Interfaces 3

Components (3) Microprocessor (details: module 4.1.2) Execution Unit Control Unit Registers ALU Bus Interface Unit Control Bus Address Bus Data Bus 4

Instructions Data Components (4) Information Flow Execution Unit Storage Control Unit Microprocessor Registers ALU 007h 006h 005h 004h 003h 002h 001h 000h Bus 5

Memory (1) Memory Access Microprocessor Microprocessor Address = 002h Data = 4 Write = 1 Compiler stuff (not in storage) Name y x Memory Cell Address 0 003h 0 002h 0 001h 0 000h Address = 002h Data = 4 Read = 1 Memory Name Cell Address 0 003h y 4 002h x 0 001h 0 000h 6

Memory (2) Harvard Architecture One storage for instructions Another storage for data Memory Instructions Microprocessor Memory Data 7

Memory (3) Von Neumann Architecture Common storage for instructions and data Sometimes segmented Memory Microprocessor Data Instructions Data Segment Program Segment 8

Memory (4) Memory Hierarchy Motto: the faster the smaller Data is copied between different hierarchies Heavily used data is close to the microprocessor Registers Cache Main Memory Secondary Memory Superfast Very expensive Tiny Very fast Expensive Small Fast Moderate Reasonable Slow Cheap Large 9

Memory (5) Memory Layout Static Data Dynamic Data Code Data Heap Stack Usually immutable Fixed in size, content may change Free and used memory blocks, dynamic allocation Grows and shrinks as needed 10

Memory (6) Loading a program class Complex { }; int inc(int) { }; int i; int main() { Complex z(1,2); i = inc(5); z = z+i; } i = inc(5); z = z+i; int i; Complex z; «return» Code comes here Variables come here Objects come here Function calls come here 11

Peripherals (1) Examples Computers Storage: hard disk drive, SSD Input devices: keyboard, mouse Output devices: monitor, printer, speaker Mobile Phone Storage: flash, SD memory card Input devices: touch screen, camera Further devices: accelerometer, GPS 12

Peripherals (2) Characteristics Independent devices Have their own controller Have their own register set Data exchange necessary Host/Device connection Connected via interface Operate asynchronously Device acts independently from host 13

Peripherals (3) Architecture Software Operating System Device Driver Hardware Data Control Registers Controller Status Peripheral 14

Peripherals (4) Register Set Data Register Used to transfer data to and from the device Example: the text a printer should print Control Register Tells the device what to do Example: print out a color copy, for example Status Register Reports what the device is doing Example: printer has stopped as it is out of paper 15

Interfaces (1) Definitions Port: Pins used by the interface Module: Hardware that implements the interface Examples Digital Ports: GPIO (module 4.2.1) Analog Ports: ADC, DAC (module 4.2.6) Serial Ports: UART, SPI, I 2 C, CAN, USB, Ethernet, (modules 4.2.6 and 5.2.4) 16

Interfaces (2) Modules Microcontrollers have multiple modules ATmega1284: 4 GPIO, 8 ADC, 2 USART, 1 SPI, ATmega4809 : 6 GPIO, 16 ADC, 4 USART, 1 SPI, ATxmega128A1: 11 GPIO, 16 ADC, 8 USART, 4 SPI, Labeling the individual modules Enumeration by numbers: 0, 1, 2, 3, Enumeration by letters: A, B, C, D, 17

Interfaces (3) Modules (continued) Module Type (USART) Module 0 (USART0) Module 1 (USART1) Module 2 (USART2) Data Control Status Data Control Status Data Control Status 18

Interfaces (4) Communication Polling Device is polled if it is ready to receive data Device is polled if new data is available Microprocessor Device ready? Yes/no Device 19

Interfaces (5) Communication (continued) Interrupt Device indicates that it is ready receive data Device indicates that new data is available Microprocessor Device/data ready Indicator line Device 20