CECS 347 Microprocessors and Controllers II Chapter 1 - An Overview of Computing Systems Instructor: Eric Hernandez.

Slides:



Advertisements
Similar presentations
Developing an AVR Microcontroller System
Advertisements

Microprocessors Typical microprocessor controlled devices: Camera, mobile phone, stereo, mp3 player, electronic toys… High-level microprocessor controlled.
Fall 2012SYSC 5704: Elements of Computer Systems 1 MicroArchitecture Murdocca, Chapter 5 (selected parts) How to read Chapter 5.
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
Microprocessors. Von Neumann architecture Data and instructions in single read/write memory Contents of memory addressable by location, independent of.
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
The Evolution of RISC A Three Party Rivalry By Jenny Mitchell CS147 Fall 2003 Dr. Lee.
RISC vs CISC CS 3339 Lecture 3.2 Apan Qasem Texas State University Spring 2015 Some slides adopted from Milo Martin at UPenn.
Embedded Systems Programming
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
9/20/6Lecture 2 - Prog Model1 MicroBaby A simple micro-controller encompassing all the basics Start this class by organizing into groups.
The 8051 Microcontroller Architecture
ASPPRATECH.
Prardiva Mangilipally
Structure of Computer Systems Course 12 RISC architecture.
Microcontroller based system design
© 2009 Acehub Vista Sdn. Bhd Introduction to ARM ® Processors.
Computer Organization and Assembly language
Microcontroller: Introduction
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
RISC and CISC by Eugene Clewlow. Overview History of CISC and RISC CISC and RISC  Philosophy  Attributes and disadvantages Summation.
Cisc Complex Instruction Set Computing By Christopher Wong 1.
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
ARM processors Adam Hoover. ARM processors Family of 32-bit microcontroller processors ARM has changed their name several times: What is it? Who makes.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Camera Interfacing using ARM7
Processor Organization and Architecture
CPU, CONTROL UNIT, ALU BY: GROUP 10 (MT - 2A) Grado, Crystell Joy
Information and Communication Technology Fundamentals Credits Hours: 2+1 Instructor: Ayesha Bint Saleem.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Chun Chiu. Overview What is RISC? Characteristics of RISC What is CISC? Why using RISC? RISC Vs. CISC RISC Pipelines Advantage of RISC / disadvantage.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Slide 1 – CPU Acronym Definition The CPU is a small square unit that sits behind a fan, the fan keeps the CPU from over heating. The CPU (Central Processing.
Microcontroller System Design Introduction- 1  Seattle Pacific University Take a microprocessor/ microcontroller chip How to Succeed in Life – The micro.
1 Computer Architecture Part II-B: CPU Instruction Set.
RISC and CISC. What is CISC? CISC is an acronym for Complex Instruction Set Computer and are chips that are easy to program and which make efficient use.
Introduction to Microprocessors
MICROOCESSORS AND MICROCONTROLLER:
Lecture 7: Overview Microprocessors / microcontrollers.
9/20/6Lecture 2 - Prog Model1 MicroBaby A simple micro-controller encompassing all the basics Start this class by organizing into groups.
The Principle and Application of Microcontrollers
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
CHAPTER 2 Instruction Set Architecture 3/21/
Popular Microcontrollers and their Selection by Lachit Dutta
SHRI S’AD VIDYA MANDAL INSTITUTE OF TECHNOLOGY
ARM Processor.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING
Microprocessor and Microcontroller Fundamentals
Microcontrollers & GPIO
Modified Harvard Architectures
INTRODUCTION TO MICROPROCESSORS
Overview Introduction General Register Organization Stack Organization
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
INTRODUCTION TO MICROPROCESSORS
INTRODUCTION TO MICROPROCESSORS
Chapter 1: The 8051 Microcontrollers
Central Processing Unit
RISC and CISC.
8051 Supplement.
EECE.3170 Microprocessor Systems Design I
Wireless Embedded Systems
CHAPTER 1 THE 8051 MICROCONTROLLERS
ARM Processor.
Presentation transcript:

CECS 347 Microprocessors and Controllers II Chapter 1 - An Overview of Computing Systems Instructor: Eric Hernandez

Introduction General Purpose Microprocessor – CPU vs Microcontroller – MCU Whats the difference?

CPU vs MCU General Purpose CPU – CPU (Central Processing Unit) Microcontroller – MCU (Micro-Controller Unit) No Internal: RAM ROM I/O MCU Contains: CPUTimers RAMADC/DAC ROM I/O Ports Everything conveniently on one chip or IC – Integrated Circuit

We will be using a Microcontroller that has the ARM architecture Specifically the LPC2148 Even though the LPC2148 is made by Phillips, inside is an ARM processor

So now our MCU looks more like this Phillips pays for this Then Phillips adds what they want to and puts it all on one chip

Then and Now In November 1971, The first microprocessor, the Intel 4004, was introduced Today, of the processors produced about 99% are Microcontrollers! Initially 4 bit, then 8 bit (think of the 8051), then 16 bit and now 32 bit (ARM) architectures Of the 13 billion microprocessor-based chips shipped in 2007, nearly 3 billion were ARM based ARM chips are found in 95% of all cell phones

ARM Offerings Since 1994, ARM has continued to offer new generations of microprocessors ARM6 ARM7 ARM9 ARM10 ARM11 and then to the newer generations, Cortex

ARM Offerings

Our MCU The Philips LPC2148 uses the ARM7TDMI The ARM7TDMI is still widely used and will lay the foundation for us

Processor Architecture Overview - CISC Early processor architectures reflected the architectural concept of the time and were greatly influenced by the design tools available to support the development Complex Instruction Set Computers (CISC) were typically microprogrammed machines that would execute a sequence of microinstructions for every macroinstruction (machine instruction) Capability was increased by adding microinstruction to make more complicated instructions Performance was increased by increased speed and power (fans and even water helped to cool the system)

Processor Architecture Overview - RISC Reduced Instruction Set Computers (RISC) primarily came out of Stanford and Berkeley in the 1980’s (Hennessy and Patterson text authors) Goal was a simplified architecture that would rapidly execute the instructions - the goal would be that one instruction would be completed on every clock This is contrasted to the CISC architecture where one instruction could take over 30 clocks to finish RISC - rapidly execute simplified instructions

CISC vs. RISC CISC Multiword instructions Many clocks per instruction Microcoded control unit Operands available throughout memory space RISC Single word instructions One clock per instruction (goal) Pipelined architecture Hardwired control unit Operands always registers All memory interface through LOADs and STOREs (load/store architecture)

The ARM Processor History Acorn Computers were developed in the UK intending to service the educational demand Original computer utilized the 6502 (same as the Apple II and Nintendo) Desire for a more powerful processor and teaming with Apple led to the development of the ARM processor and the founding of ARM Ltd. Acorn RISC Machine became Advanced RISC Machine (ARM) Initially targeted for the Apple Newton PDA In 1993 ARM introduced the ARM7TDMI (T: THUMB (16 bits) mode, D: Debug, M: Hardware Multiplier, I: ICE)

Development Board &products_id=28&osCsid=ebe77041c1d2b14c1e f0 LPC2148 Development Board - $60

LPC2148 Contains 512KB of internal flash 32+8K RAM, 60Mhz Max Freq. USB 2.0 device, 2xUARTs RTC 2x10bit ADCs, 1xDAC, 6xPWM, 2xI2C, 1xSPI, 2x32- bit TIMERS, FAST I/0 support and WDT. In System Programming (ISP)

Two ways to program JTAG UART - Serial Port Programming through the Serial Port is similar to how we developed on the 8051

Where to get a JTAG To use the JTAG you must have a JTAG adapter. Ebay has clones for sale that cost $20 Benefits: Download programs to your target hardware Examine memory and registers Single-step through programs and insert multiple breakpoints Run programs in real-time Program Flash Memory On-the-fly debug