Monitor ROM Module MTT48 V2.1 17 - 1 MONITOR ROM MODULE (MON)

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

I/O Organization popo.
INPUT-OUTPUT ORGANIZATION
Microprocessors.
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Parul Polytechnic Institute
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
System Overview MTT48 V Motorol a MOTOROLA 68HC08 INTRODUCTION AND SYSTEM OVERVIEW.
MC68HC11 System Overview. System block diagram (A8 version)
External Interrupt Module MTT EXTERNAL INTERRUPT REQUEST MODULE (IRQ)
Processor System Architecture
68HC11 Polling and Interrupts
ECE 372 – Microcontroller Design Parallel IO Ports - Interrupts
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Clock Generation Module MTT CLOCK GENERATION MODULE (CGM)
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Emulated EEPROM Function for Data storage (ref. 908LJ12)
UNIT 8 Keypad Interface Contact Closure Counter Exceptions (Interrupts and Reset)
Input/Output mechanisms
created by :Gaurav Shrivastava
Chapter 6: Interrupts and Resets
M Semiconductor Products Sector Computer Operating Properly Module Detail Slide #1 of 7 Tutorial Introduction PURPOSE -To explain how to configure and.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
HC08 ARCHITECTURE DETAILS
Internal Input/Output Devices (I/O Subsystems)
Interrupts and reset operations. Overview  Introduction to interrupts – What are they – How are they used  68HC11 interrupt mechanisms – Types of interrupts.
Direct Memory Access Module MTT M DIRECT MEMORY ACCESS MODULE (DMA)
Low Power Modes MTT48 V LOW POWER OPERATION.
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
1 Interrupts, Resets Today: First Hour: Interrupts –Section 5.2 of Huang’s Textbook –In-class Activity #1 Second Hour: More Interrupts Section 5.2 of Huang’s.
I/O Ports MTT I/O PORTS. I/O Ports MTT Module Objectives Configure any pin as either input or output Read or write data from/to port.
Appendix B: System Development Example MTT48 V2.1 B - 1 APPENDIX B: SYSTEM DEVELOPMENT.
Serial Communications Interface Module Slide #1 of 19 MC68HC908GP20 Training PURPOSE -To explain how to configure and use the Serial Communications Interface.
Lecture 1: Review of Computer Organization
System Integration Module MTT Motoola SYSTEM INTEGRATION MODULE (SIM)
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
Resets & Interrupts MTT CPU08 Core Motorola CPU08 RESETS & INTERRUPTS.
I/O Organization Competency – C6. Important facts to remember when I/O devices are to be connected to CPU There is a vast variety of I/O devices. Some.
بسم الله الرحمن الرحيم MEMORY AND I/O.
EPROM/OTPROM Module MTT48 V EPROM PROGRAMMING.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
HCS12 Technical Training Module 15 – Break Module Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other.
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Low-Voltage Inhibit Module MTT M LOW VOLTAGE INHIBIT MODULE (LVI)
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Introduction to Microcontroller Technology
Seminar On 8085 microprocessor
HCS12 Exceptions Maskable Interrupts
68HC11 Interrupts & Resets.
Timer and Interrupts.
Sega Dreamcast Visual Memory Unit FPGA Implementation
Dr. Michael Nasief Lecture 2
8259 Chip The Intel 8259 is a family of Programmable Interrupt Controllers (PIC) designed and developed for use with the Intel 8085 and Intel 8086 microprocessors.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Introduction to Microprocessors and Microcontrollers
Resets & Interrupts.
Interrupts.
Chapter 9 Bootloader.
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Presentation transcript:

Monitor ROM Module MTT48 V MONITOR ROM MODULE (MON)

Monitor ROM Module MTT48 V Module Objective Understand how to use the Monitor ROM, which alllows complete testing of the MCU through a single-wire interface with a host computer.

Monitor ROM Module MTT48 V MONITOR MODULE 68HC08 CPU System Integration Module (SIM) Clock Generation Module (CGM) Timer Interface Module (TIM) Direct Memory Access Module (DMA) Serial Communications Interface (SCI) Internal Bus (IBUS) Serial Peripheral Interface (SPI) Random Access Memory (RAM) Electronically Programmable Memory (EPROM) LVI COP Monitor ROM IRQ BREAK RESET Normal User-Mode Pin Functionality One Pin Dedicated to Serial Communication between Monitor ROM and Host Computer Standard Mark/Space Non-Return-to-Zero (NRZ) Communication with Host Computer 4800 Baud–28.8 kBaud Communication with Host Computer Execution of Code in RAM or ROM (E)EPROM/OTPROM Programming

Monitor ROM Module MTT48 V Monitor Mode (MON) Operation Receives and executes commands from a host computer –Communicates via a standard RS-232 interface –Communication is standard non-return-to-zero (NRZ) All communication between Host and MCU is through the PTA0 pin –A level-shifting and multiplexing interface is required between PTA0 and Host. –PTA0 used in a wired- OR configuration and requires a pulll-up resistor To indicate MCU is ready to receive command –MCU sends break signal(10 consecutive logic zeros) to host computer –Break signal also provides timing reference for host to determine necessary baud rate(must be identical). °baud rate range: 4800 baud to 28.8 Kbaud Monitor ROM immediately echoes each received byte back to the PTA0 pin for error checking

Monitor ROM Module MTT48 V Monitor Mode Selection Three external pins examined at rising edge of RST Conditions for entering Monitor operating mode Enter Monitor mode by either –Executing a software interrupt instruction(SWI) or –Applying a logic zero and then a logic one to the RST pin Reset vector fetched from $FEFE - $FEFF rather than $FFFE - $FFFF Executes program in monitor ROM, $FE10 - $FEFF IRQ1/Vpp PIN PTC0 PIN PTC1 PIN PTA0 PIN PTC3 PIN Mode CGMOUT Bus Frequency Monitor V DD + V HI CGMOUT/2 CGMXCLK/2 or CGMVCLK/2 CGMXCLK

Monitor ROM Module MTT48 V Sample Circuit to enter Monitor Mode

Monitor ROM Module MTT48 V Mode Differences COP MODES FUNCTIONS MONITOR USER BREAK VECTOR LOW BREAK VECTOR HIGH RESET VECTOR LOW RESET VECTOR HIGH SWI VECTOR LOW SWI VECTOR HIGH $FFFE $FEFF ENABLED $FEFC$FEFD $FFFD $FFFC $FFFD $FFFC $FEFE $FFFF DISABLED $FEFC

Monitor ROM Module MTT48 V Monitor ROM Commands READ Read memory WRITE Write memory IREAD Indexed Read IWRITE Indexed Write READSP Read Stack Pointer RUN Run User Program Command Description

Monitor ROM Module MTT48 V Operand Specifies 2-bute address in high byte:low byte order Returns contents of specified address $4A Data Returned Opcode Command Sequence Description Read Byte from Memory Operand Specifies 2-bute address in high byte:low byte order; low byte followed by data byte None $49 Data Returned Opcode Command Sequence Description Write Byte from Memory READ(Read memory) Command WRITE(Write memory) Command

Monitor ROM Module MTT48 V Operand Specifies 2-bute address in high byte:low byte order Returns contents of next two address $1A Data Returned Opcode Command Sequence Description Read next 2 bytes in memory from last address access Operand Specifies single data byte None $19 Data Returned Opcode Command Sequence Description Write to last address accessed + 1 IREAD(Indexed Read) Command IWRITE(Indexed Write) Command

Monitor ROM Module MTT48 V Operand None Returns stack pointer in high byte:low byte order $OC Data Returned Opcode Command Sequence Description Reads Stack Pointer Operand None $28 Data Returned Opcode Command Sequence Description Executes RTI intstruction READSP(Read Stack Pointer) Command RUN(Run User Program) Command