Motorola M68EM05P18 User Manual
Motorola M68EM05P18 User Manual

Motorola M68EM05P18 User Manual

Emulation module

Advertisement

Quick Links

M68EM05P18UM/D
M68EM05P18
EMULATION MODULE
USER'S MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Motorola M68EM05P18

  • Page 1 M68EM05P18UM/D M68EM05P18 EMULATION MODULE USER’S MANUAL...
  • Page 3 M68EM05P18 Emulation Module User’s Manual © Motorola, Inc., 1996; All Rights Reserved...
  • Page 4 Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other application in which the failure of the Motorola product could create a situation where personal injury or death may occur.
  • Page 5 Revision History Revision History This table summarizes differences between this revision and the previous revision of this emulation module user’s manual. Previous None Revision Current Original release Revision Date 06/96 M68EM05P18UM/D MOTOROLA...
  • Page 6 Revision History M68EM05P18UM/D MOTOROLA...
  • Page 7: Table Of Contents

    Operation Setting M68EM05P18 Jumper Headers and Switches ... .21 Clock Source Select Header, W1 ......22 Reset Select Header, W2 .
  • Page 8 Contents ..........43 M68EM05P18 Schematics ....... . .43...
  • Page 9: Contents

    Target Cable Connector Pin Assignments ....15 Logic Analyzer Connector Pin Assignments ....17 M68EM05P18UM/D MOTOROLA General Description...
  • Page 10: Introduction

    M68EM05P18 emulation module. The module can be installed in any of three Motorola development systems. To configure your M68EM05P18 for use as part of an MMDS05 or an MMEVS05/MMEVS08, follow the instructions given in MMDS/MMEVS Configuration and Operation on page 19. To...
  • Page 11 General Description Emulation Components Separately purchased Motorola modular development tool options include: • An MMEVS platform board (M68MMPFB0508) — The MMEVS is an economical development tool that provides real-time in-circuit emulation. The unit's integrated design environment includes an editor, an assembler, a user interface, and a source-level debugging program.
  • Page 12: Emulation Module Layout

    General Description Emulation Module Layout Emulation Module Layout Figure 1 shows the layout of the M68EM05P18. W1 selects the clock-signal source. Jumper header W2 controls the path of a target reset. Target connector J2 is the interface to a target system and uses a separately purchased target cable assembly.
  • Page 13: Target Cable Assemblies

    General Description Target Cable Assemblies Target Cable Assemblies To connect your M68EM05P18 to a target system, you need a separately purchased target cable assembly. Cable assemblies support both MC68HC805P18 and MC68HC05P18 emulation and are available for two MCU packages: dual in-line plastic (DIP) and small outline integrated circuit (SOIC).
  • Page 14 ADAPTER (OPTIONAL) TO TARGET SYSTEM SOIC MCU FOOTPRINT 28-PIN DIP FLEX CABLE: 28-PIN SOIC M68CBL05A TARGET HEAD ADAPTER: FLEX CABLE: M68TA05P9P28 M68CBL05A TARGET HEAD ADAPTER: M68TA05P9P28 DIP TO SOIC ADAPTER: M68DIP28SOIC Figure 2. Target Cable Assembly M68EM05P18UM/D General Description MOTOROLA...
  • Page 15: Connector Information

    General Description Connector Information Connector Information The connectors on the M68EM05P18 module provide access to the user mode emulation signals (J2) as well as select internal signals (J1). Connector J2 is used for a cable interface to a user’s target system, while connector J1 is used to connect a logic analyzer.
  • Page 16 TARGET RESET — Active-low input signal that starts a system reset TARGET OSCILLATOR 1 — A possible clock source input for the M68EM05P18 board. System bus frequency is OSC1 ÷ 2. Use of this T_OSC1 signal is controlled by jumper header W1.
  • Page 17: Logic Analyzer Connector Pin Assignments

    Connector Pin This connector provides easy access to many of the signals used Assignments internally. Table 2 lists signal descriptions for this connector. LA11 LA10 LA12 LA13 LR/W V CC RESET Figure 4. Connector J1 Pin Assignments M68EM05P18UM/D MOTOROLA General Description...
  • Page 18 E CLOCK — Internally generated clock signal used as a timing reference. The frequency of E is 1/2 the frequency of input clock OSC1. RESET — Active-low signal will be asserted during internally or RESET externally caused resets. M68EM05P18UM/D General Description MOTOROLA...
  • Page 19: Contents

    Introduction ..........20 Setting M68EM05P18 Jumper Headers and Switches ... .21 Clock Source Select Header, W1 .
  • Page 20: Introduction

    Introduction Introduction The following paragraphs explain how to configure and use your M68EM05P18 as part of an MMDS or MMEVS system. For other parts of system installation and configuration, see either the MMDS05 Operations Manual (MMDS05OM/D) or MMEVS05/MMEVS08 Operations Manual (MMEVS0508OM/D). If you use your M68EM05P18 as part of an HC05EVS, refer to HC05EVS Configuration and Operation on page 31 for corresponding information.
  • Page 21: Setting M68Em05P18 Jumper Headers And Switches

    Setting M68EM05P18 Jumper Headers and Switches Setting M68EM05P18 Jumper Headers and Switches Your M68EM05P18 has two jumper headers — W1 and W2 — and an 8-position DIP switch, SW1, for the port A pullup/interrupt mask options. Table 3 provides a quick reference for configuration options. Refer to the paragraphs that follow for a more detailed explanation.
  • Page 22: Clock Source Select Header, W1

    MMDS/MMEVS Configuration and Operation Setting M68EM05P18 Jumper Clock Source Jumper header W1 determines the clock-signal source. This diagram Select Header, W1 illustrates the jumper header where the pin marked COMMON is always connected to one of the three clock source pins via the fabricated jumper.
  • Page 23: Reset Select Header, W2

    The fabricated jumper in the EVS position enables the emulation software to control the direction of resets. This is the only correct W2 configuration for an M68EM05P18 that is part of an MMDS or MMEVS. TARGET RESET...
  • Page 24: Port A Interrupt Mask Option Control Switch, Sw1

    MMDS/MMEVS Configuration and Operation Setting M68EM05P18 Jumper Port A Interrupt The eight positions of switch SW1 enable or disable the port A interrupt Mask Option mask options. Each position controls one port A line. A switch in the left Control Switch, position, OFF, disables the option;...
  • Page 25: Remaining System Installation

    • Ensure that the power to the development tool is off. • If installing the M68EM05P18 in an MMDS05 station module, remove the panel from the station module top. • Fit together EM connectors P1 and P2 (on the bottom of the board) and platform board DIN connectors.
  • Page 26: Personality File Usage

    0 to bit 0 at location $3FF0. This should be the first check when code is not operating as expected. The MC68HC(8)05P18 MCU is emulated on the M68EM05P18 emulation module. The resident MCU (socket XU5) should be an EEPROM device (an MC68HC805P18).
  • Page 27: Mask Option Control

    DIP switch SW1. The top position controls the port A0 pin pullup/interrupt option and the bottom position controls the port A7 pin pullup/interrupt option. Each option will be enabled if its respective position is ON. M68EM05P18UM/D MOTOROLA MMDS/MMEVS Configuration and Operation...
  • Page 28: Port A Pullups/Interrupts

    A interrupts and, if none are low, then the interrupt was driven by an external IRQ. M68EM05P18UM/D MMDS/MMEVS Configuration and Operation MOTOROLA...
  • Page 29: Port C Bit 7 Sharing With The A/D Subsystem

    Alternately, the array can be modified using memory altering commands of the debugger. The commands that will modify the array are assemble (ASM), block fill (BF), load S19 file (LOAD), and memory modify (MM). M68EM05P18UM/D MOTOROLA MMDS/MMEVS Configuration and Operation...
  • Page 30 MMDS/MMEVS Configuration and Operation M68EM05P18UM/D MMDS/MMEVS Configuration and Operation MOTOROLA...
  • Page 31: Contents

    Introduction ..........32 Setting M68EM05P18 Jumper Headers and Switches ... .33 Clock Source Select Header, W1 .
  • Page 32: Introduction

    Introduction The following paragraphs explain how to configure and use your M68EM05P18 as part of an HC05EVS. For other parts of system installation or configuration, see the HC05EVS Operations Manual (HC05EVSOM/D). If you use your M68EM05P18 as part of an MMEVS05 or MMDS05, refer to MMDS/MMEVS Configuration and Operation on page 19 for corresponding information.
  • Page 33: Setting M68Em05P18 Jumper Headers And Switches

    Setting M68EM05P18 Jumper Headers and Switches Setting M68EM05P18 Jumper Headers and Switches Your M68EM05P18 has two jumper headers — W1 and W2 — and an 8-position DIP switch, SW1, for the port A pullup/interrupt mask options. Table 4 provides a quick reference for configuration options. Refer to the paragraphs that follow for a more detailed explanation.
  • Page 34: Clock Source Select Header, W1

    The user supplied source through the target cable should be a CMOS level square wave. NOTE: The W1 configuration between MMDS05 and COMMON is not correct for an M68EM05P18 that is part of an HC05EVS system. M68EM05P18UM/D HC05EVS Configuration and Operation...
  • Page 35: Reset Select Header, W2

    JUMPER TARGET Alternatively, you can enable the target system to reset the H05EVS. To do so: • Reposition the M68EM05P18 W2 jumper to the TARGET position, • Insert a fabricated jumper into the HC05EVS platform board header J3. • Provide RESET signal to connector J2 pin 2 (T_RST*)
  • Page 36: Interrupt Mask Control Switch, Sw1

    HC05EVS Configuration and Operation Setting M68EM05P18 Jumper Headers Interrupt Mask The eight positions of switch SW1 enable or disable the port A interrupt Control Switch, mask options. Each position controls one port A line. A switch in the left position, OFF, disables the option; a switch in the right position, ON, enables the option.
  • Page 37: Remaining System Installation

    FABRICATED JUMPERS To install the M68EM05P18 on the platform board, fit together EM connectors P1 and P2 (on the bottom of the board) and platform board connectors P3 and P4. Snap the corners of the EM onto the plastic standoffs.
  • Page 38: Mc68Hc(8)05P18 Emulation

    0 to bit 0 at location $3FF0. This should be the first check when code is not operating as expected. The MC68HC(8)05P18 MCU is emulated on the M68EM05P18 emulation module. The resident MCU (socket XU5) should be an EEPROM device (an MC68HC805P18).
  • Page 39: Mask Option Control

    DIP switch SW1. The top position controls the port A0 pin pullup/interrupt option and the bottom position controls the port A7 pin pullup/interrupt option. Each option will be enabled if its respective position is ON. M68EM05P18UM/D MOTOROLA HC05EVS Configuration and Operation...
  • Page 40: Port C Bit 7 Sharing With The A/D Subsystem

    MCU pin. To prevent the port C bit 7 source from affecting the V function, port C bit 7 should be made an REFH input (by clearing the DDRC7 bit) before enabling the A/D. M68EM05P18UM/D HC05EVS Configuration and Operation MOTOROLA...
  • Page 41: Hc05Evs Limitations

    HC05EVS Configuration and Operation HC05EVS Limitations HC05EVS Limitations Limitations that apply to using your M68EM05P18 in an HC05EVS are explained here. 1. CLI/RTI. You cannot trace a clear interrupt mask (CLI) or return from interrupt (RTI) instruction with an interrupt enabled and pending, due to MCU interrupt handling.
  • Page 42 HC05EVS Configuration and Operation M68EM05P18UM/D HC05EVS Configuration and Operation MOTOROLA...
  • Page 43: Contents

    Contents M68EM05P18 Schematics ....... . .43 Sheet 1 of 4......... . .45 Sheet 2 of 4.
  • Page 44 Schematics M68EM05P18 Schematics M68EM05P18UM/D Schematics MOTOROLA...
  • Page 45 M68EM05P18 Schematics (Sheet 1 of 4) R E V I S I O N S M68EM05P18 NOTES, UNLESS OTHERWISE SPECIFIED DESCRIPTION DATE VCC PIN LOCATIONS : EMULATION MODULE NEW REV OF PWB 3/20/95 VCC IS APPLIED TO PIN 8 OF ALL 8-PIN IC’s, PIN 14 OF ALL 14-PIN IC’s, PIN 16 OF ALL...
  • Page 46 Schematics M68EM05P18 Schematics M68EM05P18UM/D Schematics MOTOROLA...
  • Page 47 Schematics M68EM05P18 Schematics M68EM05P18UM/D MOTOROLA Schematics...
  • Page 48 Schematics M68EM05P18 Schematics M68EM05P18UM/D Schematics MOTOROLA...
  • Page 49 Schematics M68EM05P18 Schematics M68EM05P18UM/D MOTOROLA Schematics...
  • Page 50 Schematics M68EM05P18 Schematics M68EM05P18UM/D Schematics MOTOROLA...
  • Page 51 Schematics M68EM05P18 Schematics M68EM05P18UM/D MOTOROLA Schematics...
  • Page 52 Schematics M68EM05P18 Schematics M68EM05P18UM/D Schematics MOTOROLA...
  • Page 53 Note Page M68EM05P18UM/D MOTOROLA Schematics...
  • Page 54 Note Page M68EM05P18UM/D Schematics MOTOROLA...
  • Page 56 Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur.

Table of Contents