ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/2010 1 ECE265.

Slides:



Advertisements
Similar presentations
§4.1 The von Neumann Architecture Douglas Wilhelm Harder, M.Math. LEL Department of Electrical and Computer Engineering University of Waterloo Waterloo,
Advertisements

Stored Program Architecture
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
© 2010 Kettering University, All rights reserved..
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
1 Cankaya University Electronics and Communication Engineering Department ECE 425 Microprocessor I Course Outline Instructor: Assist. Prof. Dr. Orhan Gazi.
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
COMS W1004 Introduction to Computer Science June 11, 2008.
Stored Program Concept: The Hardware View
Skills: none Concepts: computer components, stored program computer, machine language, register, fetch-execute cycle, von Neumann architecture, CPU history.
Computer Organization and Assembly language
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Introduction to Computers. Are Computers Important? OF COURSE!
Atmega32 Architectural Overview
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Computer Structure.
EEL-4746 Microprocessor-based System Design Fall 2004 Semester Dr. Michael P. Frank.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
Wilhelm Schickhard (1623) Astronomer and mathematician Automatically add, subtract, multiply, and divide Blaise Pascal (1642) Mathematician Mass produced.
9/22/2010Lecture 1 - Introduction1 ECE 5465 Advanced Microcomputers.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
ECE Lecture 1 1 Introduction to Microcontrolllers Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
IT253: Computer Organization Lecture 1: Introduction Tonga Institute of Higher Education.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
1 8/29/05CS150 Introduction to Computer Science 1 Professor: Shereen Khoja
Lecture #30 Page 1 ECE 4110– Sequential Logic Design Lecture #30 Agenda 1.von Neumann Stored Program Computer Architecture Announcements 1.N/A.
Computer Science 516 Week 3 Lecture Notes. Computer Architecture - Common Points This lecture will cover some common things which characterize computer.
Lecture 1 Introduction to Computing Machinery. Colossus Joseph Marie Jacquard Charles Babbage Augusta Ada Countess of Lovelace.
2 nd Year - 1 st Semester Asst. Lect. Mohammed Salim Computer Architecture I 1.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
Computer Organization & Assembly Language © by DR. M. Amer.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 15, 2004 Lecture Number: 10.
ECE 265 Midterm Review 12/1/ ECE265. Administrivia  The grade for quiz 3 was not entered into to Carmen before I handed them back.  I realize.
Computer organization Practical 1. Administrative Issues The course requirements are: –To be nice and open minded –To pass the exam (there is a boolean.
Computer Architecture 2 nd year (computer and Information Sc.)
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
LECTURE#2 INTRODUCTION TO COMPUTERS, HISTORY AND APPLICATIONS INSTRUCTOR: M. MATEEN YAQOOB.
MICROOCESSORS AND MICROCONTROLLER:
Introduction to Computing BBA-I/BSCS-I Instructor: M. Mateen Yaqoob.
Lecture 7: Overview Microprocessors / microcontrollers.
9/22/2010Lecture 1 - Introduction1 ECE 5465 Advanced Microcomputers.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Evolution of the Computer. Zeroth Generation- Mechanical 1.Blaise Pascal –Mechanical calculator only perform Von Leibiniz –Mechanical.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
Gujarat technological university active learning assignment ON ARCHITECTURE OF AVR MICROCONTROLLER at c. K. pithawala college of engineering and technology.
William Stallings Computer Organization and Architecture 6th Edition
Introduction to Computing
Computer Organization and Machine Language Programming CPTG 245
COURSE OUTCOMES OF Microprocessor and programming
Atmega32 Architectural Overview
IT253: Computer Organization
GC101 Introduction to computers and programs
Lecture on Microcomputer
Microprocessor and Assembly Language
Computer Science 210 Computer Organization
COMS 161 Introduction to Computing
ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/ ECE265.
Introduction to Microprocessor Programming
COMS 361 Computer Organization
GCSE OCR 1 The CPU Computer Science J276 Unit 1
A Top-Level View Of Computer Function And Interconnection
Presentation transcript:

ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/ ECE265

Lecture Overview  Outline of the course  Syllabus  General guidelines and policies  A basic overview of computer architecture  The Von Neumann Architecture  The Harvard architecture  Microprocessors and Microcontrollers 9/28/ ECE265

The Syllabus  This is ECE 265 – Introduction to Microprocessor Based Systems  Objective – A basic understanding of computer architecture, specifically microcontrollers, along with an understanding of the uses and application of microcontrollers. 9/28/ ECE265

General guidelines and policies  Generally a quiz each week. Typically on Wednesday. Quiz will not necessarily be announced each week. Lowest Grade dropped.  NO MAKEUP QUIZZES  Homework due two classes after assigned. NO LATE HOMEWORKS will be accepted. Homework will be delivered to a dropbox in CARMEN. Dropbox will not close but no submissions after due date will be graded.  Midterm exam will be announced one week prior.  Final exam is during Finals Week  Monday March 12 11:30-1:18 in this room.  Other details on syllabus 9/28/ ECE265

A Basic Overview of Computer Architecture  For your reference you can find much of this information on Wikipedia.  But can you trust wikipedia?  When was the first computer created????? 9/28/ ECE265

Early computing technology  Early computing could be traced back to the abacus. When was the abacus in use?  Around 2700 B.C.  In the mid 1600’s Blaise Pascal designed and implemented a mechanical calculator.  Note: Today we use voltage level to represent a logical TRUE and FALSE. There is no reason that the physical position of a mechanical component cannot do the same thing. 9/28/ ECE265

A little more modern  Charles Babbage  The Difference Engine  The Difference Engine 2 Basically a programmable calculator Calculated artillery tables  The Analytic Engine – a more advanced machine Used punch cards for input A precursor to the modern computer  Boole  Boolean Algebra 9/28/ ECE265

Still, a little more modern  The von Neumann architecture – 1940s and 50s  A stored-program computer that uses a central processing unit and a single separate storage structure that hold both instructions and data. 9/28/ ECE265

Basic operation of architecture  Instructions are executed in sequence  First step during execution  MEM(PC)  IR  Send contents of PC (Program counter) to memory  Memory responds with the contents at that address placing it on the data bus.  Increment the PC (PC+1->PC)  The values on the data bus are loaded into the instruction register 9/28/ ECE265

Decode Instruction and execute  Say the instruction was a load immediate  This means that the next word in the instruction stream is the data that we want loaded into the accumulator  Operation is now  MEM(PC)  Accum  Also increment the PC 9/28/ ECE265

More von Neumann  Earliest computers had fixed programs – such as a desk calculator  The von Neumann architecture introduced the concept of a stored program. In fact, in early computers, they often wrote programs that self modified.  Self-modifying code is now seen as a very bad programming practice (also, it really isn’t needed).  von Neumann’s was very familiar with Alan Turing’s ( ) work – the Turing Machine (1936).  Both von Neumann and Turing wrote papers on stored program computers. 9/28/ ECE265

Some Early von Neumann architectures  ORDVAC (U of Ill)  IAS machine (Princeton)  MANIAC I (Las Alamos)  ILLIAC (U of Ill)  AVIDAC (Argonne National Labs) – 1953  ORACLE at Oak Ridge Ntl Lab– 1953  JOHNNIAC at RAND Corp – 1954  BESK in Stockholm – 1953  PERM in Munich /28/ ECE265

Early Microprocessors  The Intel 4004 – 1971  16-pin DIP package  92,000 instructions per sec  10.8 microseconds per instruction  Processor had a small address space for data and a small address space for instructions  Designed for use in calculators  Was the core element for the early electronic calculators – early calculators did basic arithmetic.  Early microprocessors were often programmed in assembler or machine code. Compilers and many modern high level programming languages just didn’t exist. 9/28/ ECE265

The Harvard Architecture 9/28/2010ECE  In the traditional von Neumann architecture memory holds both programs and data  In the Harvard Architecture you have separate memory spaces for data and programs. (term that came into use during the late 1990s)  This is not really a new concept as the 4004 had separate data and program memory address spaces.

Microprocessor vs. Microcontroller 9/28/2010ECE  Basically a features issue.  Microprocessor – (the physical processor chip)  Composed of control unit, register, arithmetic and logic units  NO Memory, MaybeTimers, No direct external I/O ports Does have pins for a data bus and an address bus  When implemented in a PC, add a keyboard for input, a monitor, a mouse, a printer, etc.  Mircocontroller  Central core of microprocessor but limited capabilities in regards to registers, memory size, and speed.  On board memory  Several Timers  I/O configurable ports  In implementation, may or may not have a keyboard, rather a keypad/switches for input or other types of control, often does not have monitor

Lecture summary 9/28/2010ECE  Have covered  What will be covered by this course and how the course will operate  The syllabus, general guidelines and policies  An introduction to the history of computing – computer are not new  The von Neumann architecture  Other architecture focuses

Assignment 9/28/2010ECE  What is a Turing machine?  HW1 - Write up what a Turing machine is and how a Turing Machine executes a program. (submit to dropbox HW1) Write 2/3 to 1 ½ pages.  Due dates on web page.  There are many sources for this assignment  Google web search  Wikipedia  Library