MPC8360 Micro Controllers 371-1-2403 Introduction Fall , 2010.

Slides:



Advertisements
Similar presentations
Microprocessors.
Advertisements

1 (Review of Prerequisite Material). Processes are an abstraction of the operation of computers. So, to understand operating systems, one must have a.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /17/2013 Lecture 12: Procedures Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL.
Processor System Architecture
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Lecture 5: Decision and Control CS 2011 Fall 2014, Dr. Rozier.
Computer Architecture Wed: 14:00-14:00, 14/34 Instructor: Jihad El-Sana Office:111, Building:37 Tel:
Execution of an instruction
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
Chapters 5 - The LC-3 LC-3 Computer Architecture Memory Map
ARM programmer’s model and assembler Embedded Systems Programming.
Topics covered: ARM Instruction Set Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
EET 2261 Unit 2 HCS12 Architecture
Embedded Systems Programming
Presented by:IQBAL HUSSAIN ELECTRONICS&COMMUNICATI0N Final year.
ASPPRATECH.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Electrical Engineering Department Engineering College Prince Sattam bin Abdul Aziz University Text Book: - Triebel and Singh, "The 8088 and 8086 Microprocessors",
MICROPROCESSOR INPUT/OUTPUT
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Computer Engineering AddSub page 1 Basic Building Blocks Multiplexer + Demultiplexer Adder.
Execution of an instruction
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 21 & 22 Processor Organization Register Organization Course Instructor: Engr. Aisha Danish.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Processor Organization
Structure and Role of a Processor
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
TM Freescale Confidential Proprietary Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names.
Lecture 2. A Computer System for Labs
CS 230: Computer Organization and Assembly Language
Addressing Modes in Microprocessors
Control Unit Lecture 6.
MPC860.
William Stallings Computer Organization and Architecture 8th Edition
Microprocessor Systems Design I
UNIT – Microcontroller.
ARM Registers Register – internal CPU hardware device that stores binary data; can be accessed much more rapidly than a location in RAM ARM has.
Introduction to microprocessor (Continued) Unit 1 Lecture 2
Lab 3 - Branching & Subroutines
Introduction of microprocessor
Lab 5 – Interrupts vs Polling
Introduction to Microprocessors
Instruction Format MIPS Instruction Set.
Introduction to Assembly Language
Number Representations and Basic Processor Architecture
CSCE 212 Chapter 5 The Processor: Datapath and Control
Computer Organization “Central” Processing Unit (CPU)
BIC 10503: COMPUTER ARCHITECTURE
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Basic Building Blocks Multiplexer Demultiplexer Adder +
COMP541 Datapaths I Montek Singh Mar 18, 2010.
Instruction Format MIPS Instruction Set.
Introduction to Microprocessor Programming
EECE.3170 Microprocessor Systems Design I
Control units In the last lecture, we introduced the basic structure of a control unit, and translated our assembly instructions into a binary representation.
Introduction to Computer Systems
ARM Introduction.
Basic Building Blocks Multiplexer Demultiplexer Adder +
Chapter 7 Microarchitecture
Chapter 7 Microarchitecture
CPU Structure and Function
CS501 Advanced Computer Architecture
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
MIPS Processor.
Presentation transcript:

MPC8360 Micro Controllers 371-1-2403 Introduction Fall , 2010

Course Duties Attending all lab sessions is mandatory. (Approvals for not attending a lab will be given by the instructors only in special cases like reserve duty etc. A short written quiz will be conducted at the beginning of each Lab session. The quiz's material will be published in advance. Failing (less than 60) in the quiz will cause a zero lab grade in that lab session. At the end of each lab each student will get a “lab grade” according to his performance and knowledge during the lab. Final report submission. Final exam – must pass with grade greater than 56.

Grading Passing the final exam (exam grade > 55) is mandatory. In case of failure, the final course grade will be determined solely based on the exam. Section % Final report 15% Lab execution grade 40% Final quiz 45%

Syllabus Lab Number Topic Introduction MPC8360 Architecture ADS introduction CW introduction Programming model Registers and Instruction Set Assembly language 1 Breaking the 32bit Barrier 2 The Load Store Unit 3 Branching and Subroutines 4 Timers 5 Polling & Interrupts 6 DMA 7 Cache memories 8 Final Projext

Freescale Semiconductor We supply the "brains" for all kinds of automotive, consumer, industrial, networking and wireless applications. More than 20,000 employees in more than 20 countries worldwide, about 500 employees in Herzelia ISRAEL. Logitech Harmony remote control Pioneer Receivers Toshiba Portable Media Player

Course Objectives Introduction to the MPC8360 architecture. Assembly language of the PowerPC microprocessor family. Real time embedded coding for the MPC8360.

The MPC8360 MDS Processor Board The MPC8360EA MDS Processor Board is an application development system that provides a complete debugging environment for engineers developing applications for the MPC8360 series of Freescale processors

PC Connection To PC USB

MPC8360 A Simplified Block Diagram E300 Core QUICC Engine …. Communication Ports DDR/DDR2 Controller Interrupt Controller The QUICC Engine™ block handles communication tasks with the outer world. It supports a wide range of communication protocols including ATM, Ethernet, HDLC, TDM, and POS. This block offloads the communication tasks from the core thereby allowing it to do other system tasks. The E300 Core is the system's "brain" it executes instructions (computer programs) and manages the interaction between all the sub units. The core implements a 32-bit the architecture.

The dot (.) suffix enables the update of the CR register The Core Registers General-Purpose Registers (GPRs) 32 user-level GPRs that are 32 bits wide r0-r31 Condition Register (CR) The CR is a 32-bit user-level register that provides a mechanism for testing and branching. The dot (.) suffix enables the update of the CR register

The Core Registers XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit.

The Core Registers XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit.

The following suffixes can be added to a command: The Core Registers XER register 32-bit register contains the summary overflow bit, integer carry bit, overflow bit. The following suffixes can be added to a command: C - records a carry out in CA E - uses CA as an operand O - records an overflow in OV and SO

The Core Registers Link register (LR) The LR can be used to provide the branch target address and to hold the return address after branch and link instructions. The LR is 32 bits wide.   Count register (CTR) The CTR is decremented and tested automatically as a result of branch-and-count instructions. The CTR is 32 bits wide.

MPCxxx Instruction Set Command Variations Instruction Register (IR) Functional Description Affected Registers

MPCxxx Instruction Set 3 4 5 add r3,r4,r5

MPCxxx Instruction Set r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0x1 r4 = ? 0x00000001

MPCxxx Instruction Set EXTS (SIMM) = Extends Signed Immediate r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0xF000 r4 = ? 0xFFFFF000

MPCxxx Instruction Set r0 = 0x00000001 r4 = 0x00001000 addi r4,r0,0x1000 addis r4,r4,0x1000 r4 = ? 0x10001000