SlideShare a Scribd company logo
ECE 265
Introduction to Microcontroller Based
Systems
(A first course in computer architecture)
9/28/2010
1
ECE265
 Joanne E. DeGroat, OSU
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/2010
2
ECE265
 Joanne E. DeGroat, OSU
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/2010
3
ECE265
 Joanne E. DeGroat, OSU
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/2010
4
ECE265
 Joanne E. DeGroat, OSU
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/2010
5
ECE265
 Joanne E. DeGroat, OSU
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/2010
6
ECE265
 Joanne E. DeGroat, OSU
A little more modern
 Charles Babbage 1792-1871
 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 1815-1864
 Boolean Algebra
9/28/2010
7
ECE265
 Joanne E. DeGroat, OSU
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/2010
8
ECE265
 Joanne E. DeGroat, OSU
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/2010
9
ECE265
 Joanne E. DeGroat, OSU
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/2010
10
ECE265
 Joanne E. DeGroat, OSU
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 (1912-1954) work – the Turing Machine
(1936).
 Both von Neumann and Turing wrote papers on
stored program computers.
9/28/2010
11
ECE265
 Joanne E. DeGroat, OSU
Some Early von Neumann
architectures
 ORDVAC (U of Ill) - 1951
 IAS machine (Princeton) - 1952
 MANIAC I (Las Alamos) - 1952
 ILLIAC (U of Ill) - 1952
 AVIDAC (Argonne National Labs) – 1953
 ORACLE at Oak Ridge Ntl Lab– 1953
 JOHNNIAC at RAND Corp – 1954
 BESK in Stockholm – 1953
 PERM in Munich - 1956
9/28/2010
12
ECE265
 Joanne E. DeGroat, OSU
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/2010
13
ECE265
 Joanne E. DeGroat, OSU
The Harvard Architecture
9/28/2010
ECE265
14
 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.
 Joanne E. DeGroat, OSU
Microprocessor vs.
Microcontroller
9/28/2010
ECE265
15
 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
 Joanne E. DeGroat, OSU
Lecture summary
9/28/2010
ECE265
16
 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
 Joanne E. DeGroat, OSU
Assignment
9/28/2010
ECE265
17
 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

More Related Content

Similar to Lecture 1 introduction to microcontroller systems

Embedded controls
Embedded controlsEmbedded controls
Embedded controlscantos_rpi
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
Edhole.com
 
CS4961-L1.ppt
CS4961-L1.pptCS4961-L1.ppt
CS4961-L1.ppt
MarlonMagtibay2
 
CSC 101 2016_2017.pptx
CSC 101 2016_2017.pptxCSC 101 2016_2017.pptx
CSC 101 2016_2017.pptx
AbubakarBelloBada
 
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptxonur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
sivasubramanianManic2
 
Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019
Mousuf Zaman C
 
Computer systems
Computer systemsComputer systems
Computer systems
Zainab&Sons
 
Bt0068, computer organization and architecture
Bt0068, computer organization and architectureBt0068, computer organization and architecture
Bt0068, computer organization and architecturesmumbahelp
 
Day 1
Day   1Day   1
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
TinaIngale
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operate
thegodofmischief999
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
siraj497688
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics Intro
Jafar Nesargi
 
Topic 1 The 8051 Microcontrollers.pdf
Topic 1 The 8051 Microcontrollers.pdfTopic 1 The 8051 Microcontrollers.pdf
Topic 1 The 8051 Microcontrollers.pdf
JannathJebaHena
 
Computer Fundamentals lecture 1 Basic components of computer system.pptx
Computer Fundamentals lecture 1 Basic components of computer system.pptxComputer Fundamentals lecture 1 Basic components of computer system.pptx
Computer Fundamentals lecture 1 Basic components of computer system.pptx
dbmscse61
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
Pradhan Rishi Sharma
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
Duy-Hieu Bui
 

Similar to Lecture 1 introduction to microcontroller systems (20)

Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Embedded controls
Embedded controlsEmbedded controls
Embedded controls
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
CS4961-L1.ppt
CS4961-L1.pptCS4961-L1.ppt
CS4961-L1.ppt
 
CSC 101 2016_2017.pptx
CSC 101 2016_2017.pptxCSC 101 2016_2017.pptx
CSC 101 2016_2017.pptx
 
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptxonur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
 
Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019
 
Computer systems
Computer systemsComputer systems
Computer systems
 
Bt0068, computer organization and architecture
Bt0068, computer organization and architectureBt0068, computer organization and architecture
Bt0068, computer organization and architecture
 
Day 1
Day   1Day   1
Day 1
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operate
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics Intro
 
Topic 1 The 8051 Microcontrollers.pdf
Topic 1 The 8051 Microcontrollers.pdfTopic 1 The 8051 Microcontrollers.pdf
Topic 1 The 8051 Microcontrollers.pdf
 
Computer Fundamentals lecture 1 Basic components of computer system.pptx
Computer Fundamentals lecture 1 Basic components of computer system.pptxComputer Fundamentals lecture 1 Basic components of computer system.pptx
Computer Fundamentals lecture 1 Basic components of computer system.pptx
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
 
Chap01_1473751047_598099.ppt
Chap01_1473751047_598099.pptChap01_1473751047_598099.ppt
Chap01_1473751047_598099.ppt
 

Recently uploaded

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 

Recently uploaded (20)

weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 

Lecture 1 introduction to microcontroller systems

  • 1. ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/2010 1 ECE265
  • 2.  Joanne E. DeGroat, OSU 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/2010 2 ECE265
  • 3.  Joanne E. DeGroat, OSU 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/2010 3 ECE265
  • 4.  Joanne E. DeGroat, OSU 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/2010 4 ECE265
  • 5.  Joanne E. DeGroat, OSU 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/2010 5 ECE265
  • 6.  Joanne E. DeGroat, OSU 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/2010 6 ECE265
  • 7.  Joanne E. DeGroat, OSU A little more modern  Charles Babbage 1792-1871  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 1815-1864  Boolean Algebra 9/28/2010 7 ECE265
  • 8.  Joanne E. DeGroat, OSU 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/2010 8 ECE265
  • 9.  Joanne E. DeGroat, OSU 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/2010 9 ECE265
  • 10.  Joanne E. DeGroat, OSU 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/2010 10 ECE265
  • 11.  Joanne E. DeGroat, OSU 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 (1912-1954) work – the Turing Machine (1936).  Both von Neumann and Turing wrote papers on stored program computers. 9/28/2010 11 ECE265
  • 12.  Joanne E. DeGroat, OSU Some Early von Neumann architectures  ORDVAC (U of Ill) - 1951  IAS machine (Princeton) - 1952  MANIAC I (Las Alamos) - 1952  ILLIAC (U of Ill) - 1952  AVIDAC (Argonne National Labs) – 1953  ORACLE at Oak Ridge Ntl Lab– 1953  JOHNNIAC at RAND Corp – 1954  BESK in Stockholm – 1953  PERM in Munich - 1956 9/28/2010 12 ECE265
  • 13.  Joanne E. DeGroat, OSU 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/2010 13 ECE265
  • 14.  Joanne E. DeGroat, OSU The Harvard Architecture 9/28/2010 ECE265 14  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.
  • 15.  Joanne E. DeGroat, OSU Microprocessor vs. Microcontroller 9/28/2010 ECE265 15  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
  • 16.  Joanne E. DeGroat, OSU Lecture summary 9/28/2010 ECE265 16  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
  • 17.  Joanne E. DeGroat, OSU Assignment 9/28/2010 ECE265 17  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