DEVELOPMENT SUPPORT Development Support 1-1 Motorola ColdFire

Size: px
Start display at page:

Download "DEVELOPMENT SUPPORT Development Support 1-1 Motorola ColdFire"

Transcription

1 DEVELOPMENT SUPPORT 5307 Development Support 1-1

2 BACKGROUND DEBUG FEATURES REAL-TIME TRACE SUPPORT BDM SUPPORT REAL-TIME DEBUG SUPPORT - CONFIGURABLE HARDWARE BKPT - ADDRESS BKPT WITH RANGE CAPABILITY - DATA BKPT ON BYTE, WORD OR LONGWORD DATA INVERT BREAKPOINTS PROGRAM COUNTER BREAKPOINTS MASKING ON DATA AND PROGRAM COUNTER SINGLE AND DOUBLE LEVEL TRIGGERS ARE AVAILABLE PROGRAMMABLE TRIGGER RESPONSES - SHOW TRIGGER ON DDATA AND CAUSE NO INTERNAL RESPONSE - CAUSE A DEBUG INTERRUPT TO CPU - HALT CPU AND ENTER BDM BDM IS ENTERED FOR A VARIETY OF CONDITIONS AND EVENTS HIGH SPEED SYNCHRONOUS SERIAL BUS FOR COMMANDS & RESPONSES TRANSMISSION AND RECEPTION 5307 Development Support 1-2

3 DEVELOPMENT SUPPORT INTERFACE PINS DSO DSI DSCLK COLDFIRE C P U BKPT PST [3:0] PP[3:0]/ DDATA [3:0] BACKGROUND DEBUG PINS: DSO - DEBUG SERIAL DATA OUT DSI - DEBUG SERIAL DATA IN DSCLK - DEBUG SERIAL CLOCK BKPT - BREAK POINT INPUT BDM IS ENABLED BY ASSERTING BKPT PIN AT RESET BDM MAY BE IF BKPT ASSERTED WITHIN 8-CLK CYCLES AFTER RSTI NEGATES PST[3:0] DEFINITION 0000 CONTINUE EXECUTION 0001 BEGIN EXECUTION OF AN INSTRUCTION 0010 RESERVED 0011 ENTRY INTO USER MODE 0100 BEGIN EXECUTION OF PULSE INSTRUCTION 0101 BEGIN A BRANCH TAKEN INSTRUCTION 0110 RESERVED 0111 BEGIN EXECUTION OF AN RTE INSTRUCTION 1000 OUTPUT 1-BYTE TO DDATA PORT 1001 OUTPUT 2-BYTES TO DDATA PORT 1010 OUTPUT 3-BYTES TO DDATA PORT 1011 OUTPUT 4-BYTES TO DDATA PORT 1100 EXCEPTION PROCESSING 1101 EMULATOR-MODE ENTRY EXCEPTION PROC PROCESSOR STOPPED, WAITING FOR IRQ PROCESSOR IS HALTED OPCODE TRACKING PINS ENCODING 5307 Development Support 1-3

4 BREAKPOINT STATUS FIELD BREAKPOINT CSR [31:28] STATUS 0000 NO BREAKPOINTS ENABLED 0001 WAITING FOR LEVEL 1 BREAK POINT 0010 LEVEL 1 BREAKPOINT TRIGGERED 0011 RESERVED 0100 RESERVED 0101 WAITING FOR LEVEL 2 BREAKPOINT 0110 LEVEL 2 BREAKPOINT TRIGGERED 0111 RESERVED RESERVED 5307 Development Support 1-4

5 DEBUG PROGRAMMING MODEL DSCLK DSI DSO KDATA KADDR STALL CPU KDATA KADDR SERIAL PORT C O N T R O L CONT/STATUS HARDWARE REGISTERS TDR ABLR ABHR CSR DBR DBMR PBR PBMR AABR RDATA C O N T R O L FIFO MUXES PST FROM CPU 4 4 DDATA PST BDM MAY BE USEFUL FOR LOADING A TEST PROGRAM INTO MEMORY. EXTERNAL BREAKPOINT CAN HALT THE CPU BEFORE RESET EXCEPTION. BDM CAN CONFIGURE MEMORY AND REGISTERS AND THEN RESTART CPU WITH THE GO COMMAND Development Support 1-5

6 DEBUG REGISTERS B31...B0 ADDRESS BREAKPOINT REGISTER (ABLR) B31...B0 ADDRESS BREAKPOINT REGISTER (ABHR) B RM - READ/WRITE MASK SZM - SIZE MASK RM SZM TTM TMM R SZ TT TM ADDRESS ATTRIBUTE BREAKPOINT REG.(AABR) ( SETTING A MASK BIT WILL IGNORE COMPARISON) TTM - TRANSFER TYPE MASK TMM - TRANSFER MODIFIER TYPE R = READ/WRITE - COMPARED WITH K_BUS R/W SIGNAL SZ = SIZE - COMPARED WITH K_BUS SIZE SIGNALS TT = TRANSFER TYPE - COMPARED WITH K_BUS TT SIGNALS TM = TRANSFER MODIFIER - COMPARED WITH K_BUS TM SIGNALS 5307 Development Support 1-6

7 DEBUG REGISTERS (CONT d) B31...B0 PC BREAKPOINT REGISTER (PBR) B31...B0 PC BREAKPOINT MASK REGISTER (PBMR) TDR - TRIGGER DEFINITION REGISTER B TRC EBL EDLW EDWL EDWU EDLL EDLM EDUM EDUU DI EAI EAR EAL EPC PCI B EBL EDLW EDWL EDWU EDLL EDLM EDUM EDUU DI EAI EAR EAL EPC PCI B[31:16] DEFINE SECOND LEVEL TRIGGER B[15:0] DEFINE FIRST LEVEL TRIGGER TRC - TRIGGER RESPONSE 0 1 = PROCESSOR HALT 1 0 = DEBUG INTERRUPT 0 0 = SHOW ON DDATA LINES ONLY EBL - ENABLE BREAKPOINT LEVEL 1 = ENABLE GLOBAL BREAKPOINTS TRIGGER 0 = ALL BREAKPOINTS ARE DISABLED EDLW - ENABLE DATA BKPT FOR LONGWORD DATA EDWL - ENABLE DATA BKPT FOR LOWER DATA WORD EDWU - ENABLE DATA BKPT FOR UPPER DATA WORD EDLL - ENABLE DATA BKPT FOR LSB EDLM - ENABLE DATA BKPT FOR MLB DI - DATA BKPT INVERT EAI - ENABLE ADDRESS BKPT INVERTED EAR - ENABLE ADDRESS BKPT RANGE IN ABLR & ABHR EAL - ENABLE BKPT ADDRESS CONTAINED IN ABLR EPC - ENABLE PC BKPT PCI - ENABLE PC BKPT INVERTED 1 = ENABLE TRIGGER OUTSIDE REGION DEFINED BY PBR & PBMR 0 = ENABLE TRIGGER WITHIN REGION DEFINED BY PBR & PBMR EDUM - ENABLE DATA BKPT FOR MUB EDUU - ENABLE DATA BKPT FOR MSB 5307 Development Support 1-7

8 DEBUG CONFIGURATION AND STATUS CSR - CONFIGURATION/STATUS REGISTER B STATUS FOF TRG HALT BKPT RESERVED IPW B MAP TRC EMU DDC RFU BTB END NPL IPI SSM SBD KAD KOD KCD STATUS - BREAKPOINT STATUS 0000 = NO BREAKPOINTS ENABLED 0001 = WAITING FOR LEVEL 1 BREAK POINT 0010 = LEVEL 1 BREAKPOINT TRIGGERED 0101 = WAITING FOR LEVEL 2 BREAKPOINT 0110 = LEVEL 2 BREAKPOINT TRIGGERED FOF - FAULT ON FAULT STATUS 1 = FOF FORCED ENTRY INTO BDM, BIT IS CLEARED WHEN CSR IS READ TRG - HARDWARE BREAKPOINT TRIGGER 1 = HARDWARE BKPT HALTED CPU & FORCED BDM ENTRY BIT IS CLEARED WHEN CSR IS READ HALT - PROCESSOR HALT 1 = CPU EXECUTED HALT & FORCED BDM ENTRY BIT IS CLEARED WHEN CSR IS READ BKPT - BKPT ASSERT 1 = BKPT SIGNAL WAS ASSERTED & FORCED BDM ENTRY BIT IS CLEARED WHEN CSR IS READ IPW - INHIBIT CPU WRITES TO DEBUG REGISTERS BIT CAN ONLY BE SET BY A COMMAND ISSUED BY EXTERNAL DEVELOPMENT SYSTEM 5307 Development Support 1-8

9 DEBUG STATUS & CONFIGURATION (CONT d) B STATUS FOF TRG HALT BKPT RESERVED IPW B MAP TRC EMU DDC UHE BTB 0 NPL IPI SSM MAP - FORCE PROCESSOR REFERENCES IN EMULATOR MODE 1 = FORCE CPU TO MAP REFERENCES INTO SPECIAL ADDRESS 0 = ALL EMULATOR MODE REFERENCES ARE MAPPED TO SUPERVISOR DATA SPACE TRC - FORCE EMULATION MODE ON TRACE EXCEPTION EMU - FORCE CPU TO BEGIN EXECUTION IN EMULATOR MODE THIS BIT IS EXAMINED WHEN RSTI PIN IS NEGATED IPI - IGNORE PENDING INTERRUPTS 1 = IGNORE INTERRUPTS DURING SINGLE-INSTRUCTION-STEP MODE SSM - SINGLE-STEP MODE 1 = EXECUTE 1-INSTRUCTION AND HALT UPON HALT, BDM COMMANDS MAY BE EXECUTED DDC - DEBUG DATA CONTROL TO CAPTURE & DISPLAY DATA ON DDATA PORT 00 = NO OPERAND IS DISPLAYED 01 = CAPTURE ALL M-BUS WRITE DATA 10 = CAPTURE ALL M-BUS READ DATA 11 = CAPTURE ALL M-BUS READ/WRITE DATA UHE - USER HALT ENABLE MAKE HALT INSTRUCTION NON-PRIVILEGED BTB - BRANCH TARGET BYTES TO BE DISPLAYED ON DDATA PORT 00 = 0 BYTES 01 = LOWER 2-BYTES OF TARGET ADDRESS 10 = LOWER 3-BYTES OF TARGET ADDRESS 11 = ALL 4-BYTES OF TARGET ADDRESS NPL - NON-PIPLINED MODE 1 = NO OVERLAP OF INSTRUCTION EXECUTION 5307 Development Support 1-9

10 BACKGROUND MODE Program Execution HW BKPT or HALT Instruction or Fault On Fault or BKPT Signal PST = $F PST = $0 Background mode CPU HALTED WAITING FOR COMMANDS GO COMMAND Commands Responses BACKGROUND MODE IS ENTERED WHEN: BKPT SIGNAL IS ASSERTED HARDWARE BREAK POINT TRIGGERED FAULT ON FAULT CONDITION IS DETECTED HALT INSTRUCTION IS EXECUTED Target System DSCLK MCF5200 PST BKPT DSCLK DSI DSO HALT Development System view/modify registers dump memory etc Development Support 1-10

11 DEBUG MODE INSTRUCTIONS INSTRUCTION SIZE OPERATION! HALT UNSIZED HALT CPU AFTER ALL INSTRUCTIONS COMPLETE, AND DRIVE PST PINS WITH $F *PULSE UNSIZED TRIGGER EXTERNAL LOGIC BY POSTING $4 TO PST PORT WDDATA B, W, L SOURCE DDATA SIGNAL PINS *WDEBUG L WRITES TO DEBUG CONTROL REGISTER * PRIVILEGED INSTRUCTIONS! PRIVILEGE BY DEFAULT 5307 Development Support 1-11

12 BACKGROUND MODE COMMANDS COMMAND OPERATION RDREG Read Data Register RAREG Read Address Register WDREG Write Data Register WAREG Write Address Register RCREG Read System Control Register WCREG Write System Control Register READ Read Memory Location WRITE Write Memory Location DUMP Dump Memory Block FILL Fill Memory Block GO Resume Execution WDMREG Write Debug Register RDMREG Read Debug Register NOP No Operation SYNC Synchronize Instr. Pipeline 5307 Development Support 1-12

Debug Support on the ColdFire Architecture

Debug Support on the ColdFire Architecture Debug Support on the ColdFire Architecture William Hohl, Joe Circello, Klaus Riedel Motorola, Inc. High Performance Embedded Systems 6501 William Cannon Drive West Austin, Texas 78735 ABSTRACT Debug support

More information

SECTION 2 SIGNAL DESCRIPTION

SECTION 2 SIGNAL DESCRIPTION SECTION 2 SIGNAL DESCRIPTION 2.1 INTRODUCTION Figure 2-1 displays the block diagram of the MCF5206 along with the signal interface. This section describes the MCF5206 input and output signals. The descriptions

More information

MCF5307 Device Errata

MCF5307 Device Errata Freescale Semiconductor Device Errata MCF5307ER Rev. 4.2, 08/2004 MCF5307 Device Errata This document identifies implementation differences between particular versions of the MCF5307 processor and the

More information

SECTION 7 SYSTEM INTEGRATION MODULE

SECTION 7 SYSTEM INTEGRATION MODULE SECTION SYSTEM INTEGRATION MODULE. INTRODUCTION This subsection details the operation and programming model of the System Integration Module (SIM) registers, including the interrupt controller and system-protection

More information

Version 2 ColdFire Core Architecture & Microarchitecture Deep Dive

Version 2 ColdFire Core Architecture & Microarchitecture Deep Dive Version 2 ColdFire Core Architecture & Microarchitecture Deep Dive Neeraj Mangla Abstract and Objective This presentation provides detailed information on the V2 ColdFire core architecture and microarchitecture

More information

MCF5307 DRAM CONTROLLER. MCF5307 DRAM CTRL 1-1 Motorola ColdFire

MCF5307 DRAM CONTROLLER. MCF5307 DRAM CTRL 1-1 Motorola ColdFire MCF5307 DRAM CONTROLLER MCF5307 DRAM CTRL 1-1 MCF5307 DRAM CONTROLLER MCF5307 MCF5307 DRAM Controller I Addr Gen Supports 2 banks of DRAM Supports External Masters Programmable Wait States & Refresh Timer

More information

_ V Freescale ColdFire Family On-Chip Emulation. Contents. Technical Notes

_ V Freescale ColdFire Family On-Chip Emulation. Contents. Technical Notes _ V9.12. 225 Technical Notes Freescale ColdFire Family On-Chip Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes

More information

MCF5202 ColdFire Integrated Microprocessor User s Manual

MCF5202 ColdFire Integrated Microprocessor User s Manual nc. MCF5202 ColdFire Integrated Microprocessor User s Manual TM Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or

More information

SECTION 8 EXCEPTION PROCESSING

SECTION 8 EXCEPTION PROCESSING SECTION 8 EXCEPTION PROCESSING Exception processing is defined as the activities performed by the processor in preparing to execute a handler routine for any condition that causes an exception. In particular,

More information

nc. ColdFire is a registered trademark and DigitalDNA is a trademark of Motorola, Inc. I 2 C is a registered trademark of Philips Semiconductors Motor

nc. ColdFire is a registered trademark and DigitalDNA is a trademark of Motorola, Inc. I 2 C is a registered trademark of Philips Semiconductors Motor nc. MCF5307 ColdFire Integrated Microprocessor User s Manual MCF5307UM/D Rev. 2.0, 08/2000 nc. ColdFire is a registered trademark and DigitalDNA is a trademark of Motorola, Inc. I 2 C is a registered trademark

More information

Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 MCU Part: V Mask Set: 00F98R Division Report Generated: Aug 27, 96 17:37

Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 MCU Part: V Mask Set: 00F98R Division Report Generated: Aug 27, 96 17:37 Advanced CUSTOMER ERRATA AND INFORMATION SHEET Page 1 ========================================= 68332.V 00F98R Modules ========================================= Current Module Revision =========================================

More information

CPS104 Computer Organization and Programming Lecture 17: Interrupts and Exceptions. Interrupts Exceptions and Traps. Visualizing an Interrupt

CPS104 Computer Organization and Programming Lecture 17: Interrupts and Exceptions. Interrupts Exceptions and Traps. Visualizing an Interrupt CPS104 Computer Organization and Programming Lecture 17: Interrupts and Exceptions Robert Wagner cps 104 Int.1 RW Fall 2000 Interrupts Exceptions and Traps Interrupts, Exceptions and Traps are asynchronous

More information

Introduction. 2 Signal Description. ColdFire Core. 4 Instruction Cache SRAM. 6 Bus Operation. DMA Controller Module. 8 System Integration Module (SIM)

Introduction. 2 Signal Description. ColdFire Core. 4 Instruction Cache SRAM. 6 Bus Operation. DMA Controller Module. 8 System Integration Module (SIM) Introduction 2 Signal Description 3 ColdFire Core 4 Instruction Cache 5 SRAM 6 Bus Operation 7 DMA Controller Module 8 System Integration Module (SIM) 9 Chip Select Module 0 Parallel Port (General-Purpose

More information

MC68331 DEVICE INFORMATION (Issue 6-17 August, 1995) Rev. A and B Silicon E95B, E93N and F43E Mask Set

MC68331 DEVICE INFORMATION (Issue 6-17 August, 1995) Rev. A and B Silicon E95B, E93N and F43E Mask Set MC68331 DEVICE INFORMATION (Issue 6-17 August, 1995) Rev. A and B Silicon E95B, E93N and F43E Mask Set The following information and errata pertain to Revision A and B samples of the 68331 microcontroller.

More information

Computer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture

Computer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture License: http://creativecommons.org/licenses/by-nc-nd/3./ Hardware interrupt: 5. If in an eternal device (for eample I/O interface) a predefined event occurs this device issues an interrupt request to

More information

Features nc. V3 COLDFIRE PROCESSOR COMPLEX JTAG Instruction Unit Branch Logic CCR General- Purpose Registers A0 A IAG IC1 IC2 IED Instruction Fe

Features nc. V3 COLDFIRE PROCESSOR COMPLEX JTAG Instruction Unit Branch Logic CCR General- Purpose Registers A0 A IAG IC1 IC2 IED Instruction Fe nc. Advance Information MCF5307PB/D Rev. 1, 1/2002 MCF5307 Integrated Microprocessor Product Brief This document provides an overview of the MCF5307 ColdFire processor. It includes general descriptions

More information

Freescale Semiconductor, I

Freescale Semiconductor, I nc. Errata MCF5407DE/D Rev. 2.2, 1/2004 MCF5407 Device Errata This document identifies implementation differences between the MCF5407 processor and the description contained in the MCF5407 User s Manual.

More information

Integrated Microprocessor User s Manual

Integrated Microprocessor User s Manual ColdFire 2/2M Integrated Microprocessor User s Manual Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee

More information

MCF5213. MCF5213 ColdFire Microcontroller Supports MCF5213, MCF5212, & MCF5211. Freescale Semiconductor Data Sheet

MCF5213. MCF5213 ColdFire Microcontroller Supports MCF5213, MCF5212, & MCF5211. Freescale Semiconductor Data Sheet Freescale Semiconductor Data Sheet Document Number: MCF5213DS Rev. 2, 03/2007 MCF5213 ColdFire Microcontroller Supports MCF5213, MCF5212, & MCF5211 The MCF5213 is a member of the ColdFire family of reduced

More information

EE 457 Unit 8. Exceptions What Happens When Things Go Wrong

EE 457 Unit 8. Exceptions What Happens When Things Go Wrong 1 EE 457 Unit 8 Exceptions What Happens When Things Go Wrong 2 What are Exceptions? Exceptions are rare events triggered by the hardware and forcing the processor to execute a software handler HW Interrupts

More information

Chapter 7 Debugging Support

Chapter 7 Debugging Support Chapter 7 Debugging Support The DSP563 modules and features for debugging applications during system development are as follows: JTAG Test Access Port (TAP): Provides the TAP and Boundary Scan functionality

More information

CPU Structure and Function

CPU Structure and Function Computer Architecture Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com http://www.yildiz.edu.tr/~naydin CPU Structure and Function 1 2 CPU Structure Registers

More information

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function William Stallings Computer Organization and Architecture Chapter 11 CPU Structure and Function CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data Registers

More information

ECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts

ECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts Interrupts An interrupt can be compared with a phone call interrupting your task which you will resume when the call is finished You can mask an interrupt just as you can decide not to answer any phone

More information

Version 1 ColdFire Core: Architecture & Microarchitecture Deep Dive

Version 1 ColdFire Core: Architecture & Microarchitecture Deep Dive June 28, 2007 Version 1 ColdFire Core: Architecture & Microarchitecture Deep Dive AC320 Joe Circello Chief ColdFire Architect Abstract and Objective This presentation provides detailed information on the

More information

What are Exceptions? EE 457 Unit 8. Exception Processing. Exception Examples 1. Exceptions What Happens When Things Go Wrong

What are Exceptions? EE 457 Unit 8. Exception Processing. Exception Examples 1. Exceptions What Happens When Things Go Wrong 8. 8.2 What are Exceptions? EE 457 Unit 8 Exceptions What Happens When Things Go Wrong Exceptions are rare events triggered by the hardware and forcing the processor to execute a software handler Similar

More information

27.7 SCI Control Registers

27.7 SCI Control Registers 27.7 SCI Control Registers These registers are accessible in 8-, 16-, and 32-bit reads or writes. The SCI is controlled and accessed through the registers listed in Table 27-3. Among the features that

More information

CPU Structure and Function

CPU Structure and Function CPU Structure and Function Chapter 12 Lesson 17 Slide 1/36 Processor Organization CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data Lesson 17 Slide 2/36 CPU With Systems

More information

William Stallings Computer Organization and Architecture

William Stallings Computer Organization and Architecture William Stallings Computer Organization and Architecture Chapter 11 CPU Structure and Function Rev. 3.2.1 (2005-06) by Enrico Nardelli 11-1 CPU Functions CPU must: Fetch instructions Decode instructions

More information

27 December 2016 Pramod Ghimire. Slide 1 of 16

27 December 2016 Pramod Ghimire. Slide 1 of 16 8259-Programmable Interrupt Controller (8259-PIC) Slide 1 of 16 Programmable Interface Device A Programmable interface device is designed to perform various input/output functions. Such a device can be

More information

RTE-V850E/GP1-IE USER'S MANUAL (REV.1.01) RealTimeEvaluator

RTE-V850E/GP1-IE USER'S MANUAL (REV.1.01) RealTimeEvaluator RTE-V850E/GP1-IE USER'S MANUAL (REV.1.01) RealTimeEvaluator REVISION HISTORY Rev. 1.00 June 20, 2002 Rev. 1.01 November 15, 2002 First edition Revising following chapters * "Measured value of execution

More information

MB68k-100 Motherboard Test Procedure, C

MB68k-100 Motherboard Test Procedure, C MB68k-100 Motherboard Test Procedure, C Set Up Instructions:! DC power supply! Obtain 2 solid core jumper wires for testing o 1 length for pull-up wire, installing one end in A1CON161, pos 61 o 2 length

More information

Application Note AN2247/D Rev. 0, 1/2002 Interfacing the MCF5307 SDRAMC to an External Master nc... Freescale Semiconductor, I Melissa Hunter TECD App

Application Note AN2247/D Rev. 0, 1/2002 Interfacing the MCF5307 SDRAMC to an External Master nc... Freescale Semiconductor, I Melissa Hunter TECD App Application Note AN2247/D Rev. 0, 1/2002 Interfacing the MCF5307 SDRAMC to an External Master Melissa Hunter TECD Applications This application note discusses the issues involved in designing external

More information

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

Accessing I/O Devices Interface to CPU and Memory Interface to one or more peripherals Generic Model of IO Module Interface for an IO Device: CPU checks I/O module device status I/O module returns status

More information

MCF MCF52211 ColdFire Microcontroller Supports MCF52210 / / / Freescale Semiconductor Data Sheet

MCF MCF52211 ColdFire Microcontroller Supports MCF52210 / / / Freescale Semiconductor Data Sheet Freescale Semiconductor Data Sheet Document Number: MCF52211 Rev. 1, 09/2007 MCF52211 ColdFire Microcontroller Supports MCF52210 / 52211 / 52212 / 52213 The MCF52211 is a member of the ColdFire family

More information

Errata to MCF5307 MCF5307. Preface. Semiconductor Products Sector

Errata to MCF5307 MCF5307. Preface. Semiconductor Products Sector Semiconductor Products Sector 06/2000 Rev. 4.0 MCF5307 Errata to MCF5307 Preface This document identiþes implementation differences between particular versions of the MCF5307 processor and the description

More information

Pin Description, Status & Control Signals of 8085 Microprocessor

Pin Description, Status & Control Signals of 8085 Microprocessor Pin Description, Status & Control Signals of 8085 Microprocessor 1 Intel 8085 CPU Block Diagram 2 The 8085 Block Diagram Registers hold temporary data. Instruction register (IR) holds the currently executing

More information

CPU ERRATA CPU1. Bus Error Not Fully Supported by the Data Cache on a Burst

CPU ERRATA CPU1. Bus Error Not Fully Supported by the Data Cache on a Burst MPC823 Device Errata MPC823 Silicon Revision B.0 Mask Set 0H97G March 30, 2000 (Version 5) These errata apply to the MPC823 Revision B.0 (CDR2) silicon. Those errata that are currently scheduled to be

More information

ECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University

ECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University ECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University Prof. Mi Lu TA: Ehsan Rohani Laboratory Exercise #8 Dynamic Branch Prediction

More information

picojava I Java Processor Core DATA SHEET DESCRIPTION

picojava I Java Processor Core DATA SHEET DESCRIPTION picojava I DATA SHEET DESCRIPTION picojava I is a uniquely designed processor core which natively executes Java bytecodes as defined by the Java Virtual Machine (JVM). Most processors require the JVM to

More information

Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors. 10/12/2017 Input/Output Systems and Peripheral Devices (02-2)

Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors. 10/12/2017 Input/Output Systems and Peripheral Devices (02-2) Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors 1 Principle of Interrupt-Driven I/O Multiple-Interrupt Systems Priority Interrupt Systems Parallel Priority Interrupts Daisy-Chain

More information

MACHINE CONTROL INSTRUCTIONS: 1. EI

MACHINE CONTROL INSTRUCTIONS: 1. EI Lecture-33 MACHINE CONTROL INSTRUCTIONS: 1. EI (Enable interrupts): The interrupt system is disabled just after RESET operation. There is an internal INTE F/F (Interrupt enable flipflop) which is reset

More information

MCF MCF52110 ColdFire Microcontroller. Freescale Semiconductor Data Sheet: Technical Data. Supports MCF52110 and MCF52100

MCF MCF52110 ColdFire Microcontroller. Freescale Semiconductor Data Sheet: Technical Data. Supports MCF52110 and MCF52100 Freescale Semiconductor Data Sheet: Technical Data Document Number: MCF52110 Rev. 1, 3/2011 MCF52110 ColdFire Microcontroller Supports MCF52110 and MCF52100 The MCF52110 microcontroller family is a member

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

Chapter 3 (Cont III): Exploiting ILP with Software Approaches. Copyright Josep Torrellas 1999, 2001, 2002,

Chapter 3 (Cont III): Exploiting ILP with Software Approaches. Copyright Josep Torrellas 1999, 2001, 2002, Chapter 3 (Cont III): Exploiting ILP with Software Approaches Copyright Josep Torrellas 1999, 2001, 2002, 2013 1 Exposing ILP (3.2) Want to find sequences of unrelated instructions that can be overlapped

More information

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS UNIT I INTRODUCTION TO 8085 8085 Microprocessor - Architecture and its operation, Concept of instruction execution and timing diagrams, fundamentals of

More information

3.0 BUS CONTROLLER ARCHITECTURE

3.0 BUS CONTROLLER ARCHITECTURE 3.0 BUS CONTROLLER ARCHITECTURE The S MMIT bus controller (SBC) is an interface device linking a MIL-STD-1553 serial data bus to a host microprocessor and/or subsystem. The SBC s architecture is based

More information

Chapter 7 Central Processor Unit (S08CPUV2)

Chapter 7 Central Processor Unit (S08CPUV2) Chapter 7 Central Processor Unit (S08CPUV2) 7.1 Introduction This section provides summary information about the registers, addressing modes, and instruction set of the CPU of the HCS08 Family. For a more

More information

Examining the complete instruction cycle for one instruction illustrates the operation of the P8 CPU. Assume the following conditions: C C C

Examining the complete instruction cycle for one instruction illustrates the operation of the P8 CPU. Assume the following conditions: C C C 5.0 Operation 5.1 The Instruction Cycle The CPU executes instructions that are stored in memory. The process of retrieving instructions and executing them is called the instruction cycle. Because it is

More information

Introduction to Computers - Chapter 4

Introduction to Computers - Chapter 4 Introduction to Computers - Chapter 4 Since the invention of the transistor and the first digital computer of the 1940s, computers have been increasing in complexity and performance; however, their overall

More information

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used to connect devices such as microcontrollers, sensors,

More information

Computer Architecture and Organization (CS-507)

Computer Architecture and Organization (CS-507) Computer Architecture and Organization (CS-507) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 4 Basic Computer Function, Instruction

More information

UNIT- 5. Chapter 12 Processor Structure and Function

UNIT- 5. Chapter 12 Processor Structure and Function UNIT- 5 Chapter 12 Processor Structure and Function CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data CPU With Systems Bus CPU Internal Structure Registers

More information

There are different characteristics for exceptions. They are as follows:

There are different characteristics for exceptions. They are as follows: e-pg PATHSHALA- Computer Science Computer Architecture Module 15 Exception handling and floating point pipelines The objectives of this module are to discuss about exceptions and look at how the MIPS architecture

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

Blog -

Blog - . Instruction Codes Every different processor type has its own design (different registers, buses, microoperations, machine instructions, etc) Modern processor is a very complex device It contains Many

More information

Chapter 12. CPU Structure and Function. Yonsei University

Chapter 12. CPU Structure and Function. Yonsei University Chapter 12 CPU Structure and Function Contents Processor organization Register organization Instruction cycle Instruction pipelining The Pentium processor The PowerPC processor 12-2 CPU Structures Processor

More information

UNIT - II PERIPHERAL INTERFACING WITH 8085

UNIT - II PERIPHERAL INTERFACING WITH 8085 UNIT - II PERIPHERAL INTERFACING WITH 8085 Peripheral Interfacing is considered to be a main part of Microprocessor, as it is the only way to interact with the external world. The interfacing happens with

More information

Mark Redekopp, All rights reserved. EE 357 Unit 10b. Interrupts Timers

Mark Redekopp, All rights reserved. EE 357 Unit 10b. Interrupts Timers EE 357 Unit 10b Interrupts Timers IPL bits Coldfire / M68K Interrupts Coldfire interrupt architecture is based on original M68K 3-bit input (IPL[2:0]) indicating interrupt requests/priorities 000 = No

More information

CPU Structure and Function. Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition

CPU Structure and Function. Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition CPU Structure and Function Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition CPU must: CPU Function Fetch instructions Interpret/decode instructions Fetch data Process data

More information

Special Memory (SM) Bits

Special Memory (SM) Bits C Special memory bits provide a variety of status and control functions, and also serve as a means of communicating information between the CPU and your program. Special memory bits can be used as bits,

More information

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL nc. MMC14EBDIUM/D February 2000 M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL While every effort has been made to ensure the accuracy of all information in this document, Motorola

More information

Instr. execution impl. view

Instr. execution impl. view Pipelining Sangyeun Cho Computer Science Department Instr. execution impl. view Single (long) cycle implementation Multi-cycle implementation Pipelined implementation Processing an instruction Fetch instruction

More information

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 12 Processor Structure and Function

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 12 Processor Structure and Function William Stallings Computer Organization and Architecture 8 th Edition Chapter 12 Processor Structure and Function CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data

More information

ARM processor organization

ARM processor organization ARM processor organization P. Bakowski bako@ieee.org ARM register bank The register bank,, which stores the processor state. r00 r01 r14 r15 P. Bakowski 2 ARM register bank It has two read ports and one

More information

FlexRay controller. Author: Martin Paták

FlexRay controller. Author: Martin Paták FlexRay controller Author: Martin Paták Prague, 2012 Contents 1 FlexRay controller 1 1.1 Overview.................................... 1 1.2 Interface.................................... 2 1.2.1 Overview...............................

More information

Module Introduction! PURPOSE: The intent of this module, 68K to ColdFire Transition, is to explain the changes to the programming model and architectu

Module Introduction! PURPOSE: The intent of this module, 68K to ColdFire Transition, is to explain the changes to the programming model and architectu Module Introduction! PURPOSE: The intent of this module, 68K to ColdFire Transition, is to explain the changes to the programming model and architecture of ColdFire. This module also provides a description

More information

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers. Lecture 5: Computer Organization Instruction Execution Computer Organization Addressing Buses Fetch-Execute Cycle Computer Organization CPU Control Unit U Input Output Memory Components Control Unit fetches

More information

Background Debug Module (BDM) V4 HCS12. Microcontrollers. S12BDMV4/D Rev /2004 MOTOROLA.COM/SEMICONDUCTORS

Background Debug Module (BDM) V4 HCS12. Microcontrollers. S12BDMV4/D Rev /2004 MOTOROLA.COM/SEMICONDUCTORS Background Debug Module (BDM) V4 HCS12 Microcontrollers S12BDMV4/D Rev. 4.05 10/2004 MOTOROLA.COM/SEMICONDUCTORS Revision History Version Number Revision Date Effective Date 4.05 10/04/2004 10/04/2004

More information

ECE260: Fundamentals of Computer Engineering

ECE260: Fundamentals of Computer Engineering Datapath for a Simplified Processor James Moscola Dept. of Engineering & Computer Science York College of Pennsylvania Based on Computer Organization and Design, 5th Edition by Patterson & Hennessy Introduction

More information

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their S08 Highlighted Features Why Do I Need a Slave LIN Interface Controller (SLIC)? Design Challenges Slave synchronization Slave synchronizing to LIN messaging requires a cost versus resource trade-off. Your

More information

MCUXpresso IDE Instruction Trace Guide. Rev May, 2018 User guide

MCUXpresso IDE Instruction Trace Guide. Rev May, 2018 User guide MCUXpresso IDE Instruction Trace Guide User guide 14 May, 2018 Copyright 2018 NXP Semiconductors All rights reserved. ii 1. Trace Overview... 1 1.1. Instruction Trace Overview... 1 1.1.1. Supported Targets...

More information

1 The Attractions of Soft Modems

1 The Attractions of Soft Modems Application Note AN2451/D Rev. 0, 1/2003 Interfacing a Low Data Rate Soft Modem to the MCF5407 Microprocessor The traditional modem has been a box or an add-on card with a phone connection on one end and

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor Practical 1 Date : AIM : Introduction Of Microprocessor 8085. 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within µp to carry out the instruction, which has been decoded.

More information

MCF5213 ColdFire Integrated Microcontroller Product Brief

MCF5213 ColdFire Integrated Microcontroller Product Brief Freescale Semiconductor Product Brief MCF5213PB Rev. 2, 03/2007 MCF5213 ColdFire Integrated Microcontroller Product Brief This document provides an overview of the major features and functional components

More information

Errata to MCF5206e ColdFire Microprocessor User s Manual, rev. 3.0

Errata to MCF5206e ColdFire Microprocessor User s Manual, rev. 3.0 Semiconductor Products Sector nc. Order Number: MCF5206EUMAD Rev. 3, 7/2001 Errata to MCF5206e ColdFire Microprocessor User s Manual, rev. 3.0 This errata describes corrections to the MCF5206e User s Manual.

More information

Using the FADC250 Module (V1C - 5/5/14)

Using the FADC250 Module (V1C - 5/5/14) Using the FADC250 Module (V1C - 5/5/14) 1.1 Controlling the Module Communication with the module is by standard VME bus protocols. All registers and memory locations are defined to be 4-byte entities.

More information

Lecture 10 Exceptions and Interrupts. How are exceptions generated?

Lecture 10 Exceptions and Interrupts. How are exceptions generated? Lecture 10 Exceptions and Interrupts The ARM processor can work in one of many operating modes. So far we have only considered user mode, which is the "normal" mode of operation. The processor can also

More information

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт. SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University

More information

TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide

TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide Literature Number: January 2007 This page is intentionally left blank. Preface About This Manual Notational Conventions

More information

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm Page 1 of 18 Trace Tutorial Overview The objective of this tutorial is to acquaint you with the basic use of the Trace System software. The Trace System software includes the following: The Trace Control

More information

This section covers the MIPS instruction set.

This section covers the MIPS instruction set. This section covers the MIPS instruction set. 1 + I am going to break down the instructions into two types. + a machine instruction which is directly defined in the MIPS architecture and has a one to one

More information

Chapter 4. Instruction Execution. Introduction. CPU Overview. Multiplexers. Chapter 4 The Processor 1. The Processor.

Chapter 4. Instruction Execution. Introduction. CPU Overview. Multiplexers. Chapter 4 The Processor 1. The Processor. COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 4 The Processor The Processor - Introduction

More information

Chapter 15. ARM Architecture, Programming and Development Tools

Chapter 15. ARM Architecture, Programming and Development Tools Chapter 15 ARM Architecture, Programming and Development Tools Lesson 5 ARM 16-bit Thumb Instruction Set 2 - Thumb 16 bit subset Better code density than 32-bit architecture instruction set 3 Basic Programming

More information

MCF MCF52211 ColdFire Microcontroller. Freescale Semiconductor Data Sheet: Technical Data. Supports MCF52210 / / / 52213

MCF MCF52211 ColdFire Microcontroller. Freescale Semiconductor Data Sheet: Technical Data. Supports MCF52210 / / / 52213 Freescale Semiconductor Data Sheet: Technical Data Document Number: MCF52211 Rev. 2, 3/2011 MCF52211 ColdFire Microcontroller Supports MCF52210 / 52211 / 52212 / 52213 MCF52211 LQFP 64 10 mm x 10 mm MAPBGA

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

COMPUTER ORGANIZATION AND DESIGN

COMPUTER ORGANIZATION AND DESIGN COMPUTER ORGANIZATION AND DESIGN 5 Edition th The Hardware/Software Interface Chapter 4 The Processor 4.1 Introduction Introduction CPU performance factors Instruction count CPI and Cycle time Determined

More information

Processor Structure and Function

Processor Structure and Function WEEK 4 + Chapter 14 Processor Structure and Function + Processor Organization Processor Requirements: Fetch instruction The processor reads an instruction from memory (register, cache, main memory) Interpret

More information

are Softw Instruction Set Architecture Microarchitecture are rdw

are Softw Instruction Set Architecture Microarchitecture are rdw Program, Application Software Programming Language Compiler/Interpreter Operating System Instruction Set Architecture Hardware Microarchitecture Digital Logic Devices (transistors, etc.) Solid-State Physics

More information

POLITECNICO DI MILANO. Exception handling. Donatella Sciuto:

POLITECNICO DI MILANO. Exception handling. Donatella Sciuto: POLITECNICO DI MILANO Exception handling Donatella Sciuto: donatella.sciuto@polimi.it Interrupts: altering the normal flow of control I i-1 HI 1 program I i HI 2 interrupt handler I i+1 HI n An external

More information

UNIT II SYSTEM BUS STRUCTURE 1. Differentiate between minimum and maximum mode 2. Give any four pin definitions for the minimum mode. 3. What are the pins that are used to indicate the type of transfer

More information

VME64x Slave Interface IP Core Specifications. Author: Paolo Musico

VME64x Slave Interface IP Core Specifications. Author: Paolo Musico VME64x Slave Interface IP Core Specifications Author: Paolo Musico Paolo.Musico@ge.infn.it Rev. 0.1 December 1, 2005 Rev. Date Author Description 0.1 1/12/05 Paolo Musico First Draft Revision History Contents

More information

ECE468 Computer Organization and Architecture. OS s Responsibilities

ECE468 Computer Organization and Architecture. OS s Responsibilities ECE468 Computer Organization and Architecture OS s Responsibilities ECE4680 buses.1 April 5, 2003 Recap: Summary of Bus Options: Option High performance Low cost Bus width Separate address Multiplex address

More information

Exception Handling. Precise Exception Handling. Exception Types. Exception Handling Terminology

Exception Handling. Precise Exception Handling. Exception Types. Exception Handling Terminology Precise Handling CprE 581 Computer Systems Architecture Reading: Textbook, Appendix A Handling I/O Internal s Arithmetic overflow Illegal Instruction Memory Address s Protection violation Data alignment

More information

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes Course Introduction Purpose: This course provides an overview of the Direct Memory Access Controller and the Interrupt Controller on the SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are

More information

An SPI interface for the 65(C)02 family of microprocessors

An SPI interface for the 65(C)02 family of microprocessors Rev 4/B Dec 30, 2011 65SPI/B An SPI interface for the 65(C)02 family of microprocessors This device was created to provide a basic SPI interface for the 65xx family of microprocessors. Currently, the only

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

Product Brief M68340EVS EVALUATION SYSTEM

Product Brief M68340EVS EVALUATION SYSTEM Order this document by M68340EVS Product Brief M68340EVS EVALUATION SYSTEM The M68340EVS evaluation system (EVS) is a board set designed to provide a low-cost method of evaluating the MC68340 integrated

More information

Design and Implementation of a FPGA-based Pipelined Microcontroller

Design and Implementation of a FPGA-based Pipelined Microcontroller Design and Implementation of a FPGA-based Pipelined Microcontroller Rainer Bermbach, Martin Kupfer University of Applied Sciences Braunschweig / Wolfenbüttel Germany Embedded World 2009, Nürnberg, 03.03.09

More information