Freescale Semiconductor MMDS0508 User Manual

MMDS0508
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Target Interface
Revised 2002/04/30
Metrowerks, the Metrowerks logo, and CodeWarrior are registered trademarks of Metrowerks
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Copyright © Metrowerks Corporation. 2002. ALL RIGHTS RESERVED.
The reproduction and use of this document and related materials are governed by a license agreement between Metrowerks Corp. and its licensee. Consult that license agreement before use or reproduction of any portion of this document. If you do not have a copy of the license agreement, contact your Metrowerks representative or call 800-377-5416.
Metrowerks reserves the right to make changes to any product described or referred to in this doc­ument without further notice. Metrowerks makes no warranty, representation or guarantee regard­ing the merchantability or fitness of its products for any particular purpose, nor does Metrowerks assume any liability arising out of the application or use of any product described herein and spe­cifically disclaims any and all liability. Metrowerks software is not authorized for and has not
been designed, tested, manufactured, or intended for use in developing applications where the failure, malfunction, or any inaccuracy of the application carries a risk of death, serious bodily injury, or damage to tangible property, including, but not limited to, use in factory control systems, medical devices or facilities, nuclear facilities, aircraft or automobile navi­gation or communication, emergency systems, or other applications with a similar degree of potential hazard.
Documentation stored on electronic media may be printed for non-commercial personal use only, further to the license agreement related to the product associated with the documentation. Subject to the foregoing non-commercial personal use, no portion of this documentation may be repro­duced or transmitted in any form or by any means, electronic or mechanical, without prior written permission from Metrowerks.
USE OF ALL SOFTWARE, DOCUMENTATION AND RELATED MATERIALS ARE SUB­JECT TO THE METROWERKS END USER LICENSE AGREEMENT FOR SUCH PRODUCT.
How to Contact Metrowerks
Corporate Headquarters Metrowerks Corporation
9801 Metric Blvd. Austin, TX 78758 U.S.A.
World Wide Web
Ordering & Technical Support Voice: (800) 377-5416
http://www.metrowerks.com
Fax: (512) 997-4901

Table of Contents

Freescale Semiconductor, Inc.
For More Information: www.freescale.com
1 General Description 5
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 MMDS Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 System Components . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2Installation 9
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Configuring the Platform Board . . . . . . . . . . . . . . . . . . . . . . 11
2.2.1 Factory Test Header (J1) . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.2 Port Voltage Control Headers (J2–J4) . . . . . . . . . . . . . . . . . . . 12
2.3 Installing the EM . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Removing the EM . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 Making Cable Connections. . . . . . . . . . . . . . . . . . . . . . . . 14
2.5.1 Host Computer Connection . . . . . . . . . . . . . . . . . . . . . . 14
2.5.2 Bus State Analyzer Connection . . . . . . . . . . . . . . . . . . . . . 14
2.5.3 Target Cable Connection . . . . . . . . . . . . . . . . . . . . . . . . 15
2.5.4 Power Connection . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Connector Information 17
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 Reset Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3 RS232 Serial Connector . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4 Logic Cables and Connectors . . . . . . . . . . . . . . . . . . . . . . . 18
3.5 Power Supply Fuse Replacement . . . . . . . . . . . . . . . . . . . . . 20
4 MMDS Target Component 23
4.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.2.1 MMDS0508 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.2.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.3 Definitions, Acronyms and Abbreviations . . . . . . . . . . . . . . . . . . 25
4.3.1 DLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.2 Dynamic Linking . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.3 MMDS0508 Server . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.4 Modal Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
TOC–3MMDS0508 Target Interface
Table of Contents
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
4.3.5 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.6 EM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.4 Interfacing Your System and the Target . . . . . . . . . . . . . . . . . . . 25
4.4.1 Hardware Connection . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.5 Loading the MMDS0508 Target. . . . . . . . . . . . . . . . . . . . . . 26
4.6 Communication Configuration . . . . . . . . . . . . . . . . . . . . . . 27
4.6.1 Communication Device Specification . . . . . . . . . . . . . . . . . . 28
4.6.2 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.7 The Debugger Status Bar for the MMDS . . . . . . . . . . . . . . . . . . 29
4.8 MMDS0508 Menu Entries . . . . . . . . . . . . . . . . . . . . . . . . 29
4.8.1 Communication Baud Rate . . . . . . . . . . . . . . . . . . . . . . . 30
4.8.2 Memory Configuration . . . . . . . . . . . . . . . . . . . . . . . . 31
4.8.3 Personality (.MEM) Files . . . . . . . . . . . . . . . . . . . . . . . 32
4.8.4 Signals Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.8.5 Bus Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.9 Default Target Setup . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.9.1 Motorola ESL Parameters . . . . . . . . . . . . . . . . . . . . . . . 36
4.10 Bus Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.10.1 Introduction to the Bus Analyzer . . . . . . . . . . . . . . . . . . . . 37
4.10.2 Using the Bus Analyzer . . . . . . . . . . . . . . . . . . . . . . . . 38
4.10.3 Collecting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.10.4 Viewing Collected Data . . . . . . . . . . . . . . . . . . . . . . . . 47
4.10.5 Scrolling the Display . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.10.6 Dumping the Bus analyzer data to a file . . . . . . . . . . . . . . . . . . 57
A Appendix 59
A.1 MMDS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
A.1.1 Baud Rate Command . . . . . . . . . . . . . . . . . . . . . . . . . 59
A.1.2 Trigger Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 60
A.1.3 Bus Analyzer Commands . . . . . . . . . . . . . . . . . . . . . . . 66
A.1.4 Target Signal Emulation Commands . . . . . . . . . . . . . . . . . . . 77
A.1.5 Reset Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 77
A.1.6 Other Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 78
TOC–4
MMDS0508 Target Interface

General Description

Freescale Semiconductor, Inc.
For More Information: www.freescale.com

1.1 Introduction

The M68MMDS05/08 Motorola Modular Development System (MMDS) is a tool for developing embedded systems based on an MC68HC05 or MC68HC08 microcontroller unit (MCU). A modular emulation system, the MMDS provides interactive control of a microcontroller application when connected to your target system.
The MMDS environment allows for source-level debugging and simplifies writing and debugging code. These features significantly reduce development time.
A complete MMDS includes a station module, an emulation module (EM), and a target cable assembly. The EM completes MMDS functionality for a particular MCU or MCU family.
1

1.2 MMDS Features

MMDS features include:
• Real-time, non-intrusive, in-circuit emulation
• Real-time bus state analysis
• MC68HC11K1 system controller, for fast command transfer
• Compliance with ECC92 European electromagnetic compatibility standards
• Four complex data breakpoints, each qualified by an address, an address range, data, or externally connected logic clips.
• 32 variables or real-time variables, plus a 32-byte block of real-time memory, mappable anywhere within a 1-kilobyte window over the 64-kilobyte HC05/HC08 memory map.
64 kilobytes of emulation memory, to accommodate the largest available ROM size of current HC05/HC08 MCUs.
1–5MMDS0508 Target Interface
General Description
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

System Components

• 64 hardware instruction breakpoints over the 64-kilobyte memory map
• A personality file for each EM. (Each personality file defines a memory-map.)
• Latch-up resistant design (47- series resistor on I/O connections to the target system) to make power-up sequencing unimportant.
• Built-in bus state analyzer that includes:
• 8K x 64 real-time trace buffer
– Four hardware triggers, for controlling real-time bus analysis and to
provide breakpoints
– Nine triggering modes
– Display of real-time trace data as raw data, disassembled instructions, raw
data and disassembled instructions, or assembly-language source code
– As many as 8190 pre- or post-trigger points
– Trace buffer that can be filled as you single-stepping through user software
– 16-bit time tag, or an optional 24-bit time tag that sacrifices eight logic
clips
– Eight software selections for the time tag clock source, permitting wide
time variance between analyzer events
– 16 general-purpose logic clips, five of which can be used to trigger the bus
state analyzer sequencer
• Four software-selectable internally generated oscillator clock sources
• Built-in power supply with 85 to 264 VAC input
• RS-232 operation speeds as high as 57600 baud
• Compact size: 15.38 inches (390.6 mm) deep, 10.19 inches (258.83 mm) wide, and
2.75 inches (69.85 mm) high. The station module weighs 6.0 pounds (2.72 kg).
For connection instructions, configuration instructions, and other related information, see the installation section of this hardware addendum. For similar information with regard to EMs, see the corresponding EM user's manual.
1.3 System Components
The MMDS components include:
Station module: the MMDS enclosure, containing the platform board and the internal power supply. The access panel in the enclosure top lets you insert an EM easily.
1–6
MMDS0508 Target Interface
General Description
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
System Components
9-lead RS-232 serial cable: the cable that connects the station module to the host- computer RS-232 port.
Serial adapter: a DB9M-to-DB25F RS-232 adapter, for use with a 25-pin host­computer serial port.
Two logic clip cable assemblies: twisted-pair cables that connect the station module to your target system, a test fixture, a clock, an oscillator, or any other circuitry useful for evaluation or analysis. One end of each cable assembly has a molded connector, which fits into the pod A or pod B connector of the station module. Leads at the other end of each cable terminate in female probe tips. Ball clips come with the cables.
Separately purchased components are:
Emulation module (EM): a printed circuit board that completes MMDS functionality for one or more MCUs. The two DIN connectors on the bottom of the EM fit into connectors on the top of the MMDS0508 platform board, providing power and signal connections. The EM also has a connector for the target cable. Each EM comes with its own user’s manual.
Target cable: a flat, flexible cable that connects the MMDS to the target system. The cable’s emulator terminator mates to the EM target connectors; the cable’s head terminator mates to a target head adapter. (A target cable and target head adapter make up a target cable assembly.)
Target head adapter: a target-cable adapter that plugs into the MCU socket of the target system. (For some EMs, the target head adapter plugs into a surface-mount adapter.)
1–7MMDS0508 Target Interface
General Description
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
System Components
1–8
MMDS0508 Target Interface

Installation

Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Installation

2.1 Introduction

Complete MMDS installation consists of:
• Configuring the platform board,
• Configuring the emulation module (EM),
• Installing the EM, and
2
• Making system cable connections.
This section explains all items except EM configuration. (As EM configuration is specific to each EM, you must follow the instructions of your EM user's manual.) Additionally, this sections explains how to remove an EM from the station module.
Figure 2.1
open. Callouts indicate the reset switch and power LED (on the front of the station module), and the logic cable A and B connectors (on the right side of the station module). (Alternate names for the logic cable connectors are pod A and pod B.) If you use logic clip cables, always attach the black clip to ground.
Figure 2.2
Callouts indicate the power cord socket, the power switch, and the 9-pin RS-232 serial connector. The circular, +5 V out connector is reserved for possible future features. (A spacer covers the final enclosure cutout, for a future connector.)
shows the right side of the MMDS station module, with the access panel
shows the left side of the station module, with the access panel closed.
2–9MMDS0508 Target Interface
Installation
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Introduction
Figure 2.1 M68MMDS0508 Station Module (Right Side)
2–10
MMDS0508 Target Interface
Figure 2.2 M68MMDS0508 Station Module (Left Side)
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Power Cord Socket
Power Switch
Installation

Configuring the Platform Board

Panel
9-Pin Serial Connector
+5V Out
2.2 Configuring the Platform Board
The MMDS platform board has four jumper headers, all located near the front. Jumper header J1 is for factory test. Jumper headers J2, J3, and J4 control the voltage levels for ports A through D.
NOTE

2.2.1 Factory Test Header (J1)

Before shipping the MMDS, factory personnel configure the platform board correctly for virtually all users. You should not reconfigure platform-board headers unless your EM user’s manual tells you to.
The diagram in Figure 2.3 shows the factory configuration of jumper header J1. The jumper between pins 1 and 2 is correct for MMDS operation.
2–11MMDS0508 Target Interface
Installation
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Configuring the Platform Board
Figure 2.3 Factory Test Header (J1)
(Ignore the alternate jumper position, which is reserved for factory tests.)

2.2.2 Port Voltage Control Headers (J2–J4)

Jumper headers J2 through J4, near the right front corner of the platform board, set the voltage levels for ports A through D. Header J2 is the port A control; header J3 is the port B control; header J4 is the control for port C or D (whichever pertains to your EM).
The diagram Figure 2.4 shows the factory configuration. The jumpers between pins 1 and 2 of these headers set the +5-volt level for all ports. This is the correct configuration for MMDS operation, unless your EM user's manual says that your EM is a low-voltage board.
Figure 2.4 Port Voltage Control Headers (J2–J4)
If your EM can operate at low voltage, you can configure any of the ports for the low­voltage level. To do so, reposition the corresponding header’s jumper to pins 2 and 3.
2–12
MMDS0508 Target Interface
Installation
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

Installing the EM

2.3 Installing the EM
CAUTION Be sure to turn off power to the MMDS when you install or remove
an EM. This prevents power surges that could damage MMDS circuits.
Follow these steps to install an EM in the MMDS enclosure:
1. Make sure that station module power is off.
2. Unscrew (one quarter turn) the two captive screws of the access panel, then remove the panel.
3. Install the EM on the platform board: Carefully fit the female 96-pin DIN connectors (on the bottom of the EM) onto the corresponding male DIN connectors (on the top of the platform board). Snap the EM onto the plastic standoffs and make sure that the DIN connectors are joined firmly.
4. Connect the target cable, if appropriate.
5. Reposition the access panel, securing it with the screws.
NOTE
Many EM boards have 64-pin female DIN connectors. Like their 96­pin counterparts, these smaller connectors also mate with the male DIN connectors of the platform board. The connector keys ensure proper alignment.

2.4 Removing the EM

Follow these steps to remove an EM from the MMDS enclosure:
1. Make sure that station module power is off.
2. Unscrew (one quarter turn) the two captive screws of the access panel, then remove the panel.
3. Disconnect the target cable from the EM target connectors.
4. Unsnap all plastic standoffs from the edges of the EM.
5. Carefully lift the EM straight up, separating it from the platform board.
6. You are ready to install a different EM or to configure the platform board. When you finish such other actions, reposition the access panel, securing it with the screws.
2–13MMDS0508 Target Interface
Installation
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

Making Cable Connections

2.5 Making Cable Connections
You must connect the station module to the host computer and to line power. According to your specific application, you also may need to connect the EM to your target system, or to connect the logic clip cable assemblies.

2.5.1 Host Computer Connection

Connect the 9-lead serial cable between the MMDS 9-pin serial connector and the COM1 serial port connector of the host computer.
• COM1 is the default serial port. You may use a different host serial port, provided that you use the appropriate software startup command to specify the port number.
• A 9-to-25-pin adapter came with your MMDS. If the host serial port is a 25-pin connector, use this adapter between the port connector and the serial cable.

2.5.2 Bus State Analyzer Connection

If your work session includes bus state analysis, you may need the logic clip cable assemblies. The two logic clip connectors, pod A and pod B, let the analyzer capture external events. Logic clip connections also let you input external clock signals for the emulator and analyzer.
The pod A and pod B connectors are on the right side of the station module. Pod A is nearest the station module power supply. These pod connectors correspond to the cable A and cable B selections available in the bus state analyzer configuration window. The Connector Information section includes pinout information for both logic clip connectors.
If you need only one logic cable assembly, connect it to either pod A or pod B. Orient the cable connector so that its pin 1 connects to pin 1 of the pod, according to the keyed plastic. Connect the other end of the logic cable assembly to an external target point. Optionally, connect the probe tips to the ball clips that come with the cable assembly, then connect the ball clips to appropriate external test points.
NOTE Always connect the black (ground) probe tip to an appropriate target-
system ground point before connecting other clips to target points. The pod A white probe is the external clock input for the emulator; the pod B white probe of pod B is the external clock input for the analyzer.
2–14
MMDS0508 Target Interface
If you need the second logic cable assembly, connect it in the same way to the
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
remaining pod connector of the station module. Make target-system connections as for the first cable.

2.5.3 Target Cable Connection

To connect the MMDS to a target system, you must use a target cable assembly: a target cable and a target head.
Installation
Making Cable Connections
NOTE
Follow these instructions:
1. Make sure that station module power is off; make sure that power is not applied to the target system.
2. Remove the MMDS access panel, for access to the EM.
3. The EM has one or two target connectors, on its right side. Connect the target cable’s emulator terminal to the EM target connectors.
4. Connect the target cable’s head terminator to the appropriate target head adapter.
NOTE
5. Plug the target head adapter into the MCU socket (or surface-mount adapter) of the target system.
6. Replace the access panel. (The target cable must run through the slit in the station-module enclosure.)
Press only on the rigid plastic terminators of the cable. Pressing on the flexible part of the cable can damage the cable.
The EM user’s manual should identify the target head adapter appropriate for your target system. Make sure that the adapter and the target cable mate correctly.

2.5.4 Power Connection

The final MMDS connection is line power. The MMDS power switch is the rocker switch on the left side of the station module. Set the power switch to OFF.
Insert the female end of the power cord into the power cord socket. Then plug the other end of the cord into a line-power outlet and set the power switch to ON. The green LED on the front of the station module lights to confirm system power.
2–15MMDS0508 Target Interface
Installation
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Making Cable Connections
2–16
MMDS0508 Target Interface

Connector Information

Freescale Semiconductor, Inc.
For More Information: www.freescale.com

3.1 Introduction

This section provides pin assignments and signal descriptions for connectors common to all MMDS systems. For similar information about EM connectors, see the corresponding EM user's manual.
Additionally, this section explains the reset switch, and fuse replacement.

3.2 Reset Switch

3
RS-232 handshake signals control MMDS resets. A reset initializes the control board from its startup point. If the host serial port does not implement handshaking, you must reset the MMDS manually.
To do so, find the reset switch, which is recessed behind the small hole in the front of the station module. Insert a probe or stiff wire into the reset switch hole. Press gently to trip the switch.

3.3 RS232 Serial Connector

The diagram Figure 3.1 shows pin numbering for the MMDS serial connector. Table
3.1 lists the signals transmitted on the 9-lead serial cable.
Figure 3.1 RS232 Serial Connector
3–17MMDS0508 Target Interface
Connector Information
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

Logic Cables and Connectors

Table 3.1 . Serial Connector and Cable Pin Assignments
Connector Pin Mnemonic Signal
1 DCD DATA CARRIER DETECT — Output signal that
2 RX RECEIVE DATA — Serial data output line.
3 TX TRANSMIT DATA — Serial data input line.
4 DTR DATA TERMINAL READY — Input signal that
5 GND GROUND
6 DSR DATA SET READY — Output signal that
7 RTS REQUEST TO SEND — Input signal that
indicates detection of an acceptable carrier signal.
indicates on-line/in-line/active status.
indicates on-line/in-line service/active status.
requests permission to transfer data.
8 CTS CLEAR TO SEND — Output signal that indicates
a ready-to-transfer data status.
3.4 Logic Cables and Connectors
The diagram below shows the pin numbering for both pod A and pod B logic cable connectors. Table 3.2 lists the pin assignments.
19 1
• •••••••••
• •••••••••
20 2
3–18
MMDS0508 Target Interface
Table 3.2 . Pod and Logic Cable Pin Assignments
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Pod Pin Pod A Signal Pod B Signal Probe Color
1 LC0 LC8 Brown (BRN)
2GND GND
3 LC1 LC9 Red (RED)
4GND GND
5 LC2 LC10 Orange (ORG)
6GND GND
7 LC3 LC11 Yellow (YEL)
8GND GND
9 LC4 LC12 Green (GRN)
Connector Information
Logic Cables and Connectors
10 GND GND
11 LC5 LC13 Blue (BLU)
12 GND GND
13 LC6 LC14 Purple (PUR)
14 GND GND
15 LC7 LC15 Gray (GRY)
16 GND GND
17 EXT_OSC TT_OSC White
18 GND GND
19 GND GND Black
20 GND GND
Note these points:
• Pins 19 of both pods provide connection to an external ground.
• Pod A pin 17 is the external clock input for the emulator. To use this source, make the desired clock connection to the white probe tip, then use the OSC command to select an external source.
3–19MMDS0508 Target Interface
Connector Information
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

Power Supply Fuse Replacement

• Pod B pin 17 is the external timetag input for the bus state analyzer. To use this source, make the desired clock connection to the white probe tip, then use the TIMETAG command to select an external time tag source for the analyzer.
3.5 Power Supply Fuse Replacement
The station module power switch/connector assembly contains a standard 1/4 x 1 1/4 inch, 1.6-ampere, 250-volt ceramic, time-delay fuse. Figure 3.2 with its door open (for fuse replacement).
Figure 3.2 Power Switch/Connector Assembly
Power Cord Socket
shows this assembly
Fuse Door
Figure 1. Power Switch/Connector Assembly
To replace the fuse, follow these steps:
1. Press the power switch OFF and disconnect the power cord.
3–20
MMDS0508 Target Interface
Power Switch
Fuse
Tab
Connector Information
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Power Supply Fuse Replacement
2. Insert a small screwdriver at the tab on the right edge of the switch/connector assembly. (Figure 1 shows where to insert the screwdriver.) Gently pry open the assembly door, which swings open to the left.
3. Remove the fuse holder from the switch/connector assembly. Remove the fuse from the holder.
4. Insert the replacement fuse into the holder. Then re-install the holder in the switch/ connector assembly. Make sure that the fuse holder arrow points down. Close the assembly door.
5. Reconnect the power cord. This completes fuse replacement.
3–21MMDS0508 Target Interface
Connector Information
Freescale Semiconductor, Inc.
For More Information: www.freescale.com
Power Supply Fuse Replacement
3–22
MMDS0508 Target Interface

MMDS Target Component

Freescale Semiconductor, Inc.
For More Information: www.freescale.com

4.1 Introduction

MMDS Target Component
4.1 Introduction
An advanced feature of the debugger for the embedded systems development world is the ability to load different target components, which implement the interface with target systems. This document introduces the MMDS0508 Modular Development System for the MC68HC05 and MC68HC08 MCU families.
4
The MMDS is a Motorola interface that the debugger uses to communicate with an external system (also called a target system).
This chapter describes MMDS0508 features, including memory mapping and the bus analyzer.
With this interface, you can download an executable program from the debugger environment. The destination of this program is an external target system, based on a Motorola MCU, that executes the program. The debugger receives feedback of real target-system behavior.
The debugger fully supervises and monitors the target-system MCU. That is, the debugger controls the CPU execution. You can read and write in internal or external memory (even when the CPU is running); you can single-step, run, or stop processes in the CPU.
NOTE
Uninvolved Components As an external MCU executes the code, the MMDS target component cannot provide memory statistics. This means that you cannot use the MMDS target component for profiling, coverage analyzing, watchpoints, or I/O Simulation.
4–23MMDS0508 Target Interface
MMDS Target Component
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

4.2 General

4.2 General
This chapter describes the specific features of the MMDS0508, including emulation memory mapping, as well as the function and purpose of the bus analyzer. The explanations of windows and dialog boxes are with the explanations of corresponding MMDS0508 features.

4.2.1 MMDS0508

The MMDS0508 is an emulator system, for CPU05 or CPU08 MCUs, that provides emulation memory and a bus state analyzer.

4.2.2 Configuration

The functions above are specific for the MMDS0508, so are available only with this emulator component. To use these features select the corresponding menu commands shown in Figure 4.1, such as MMDS0508 > ...
Figure 4.1 MMDS0508 Menu
These functions are part of the MMDS0508 Motorola Modular Development System. Their supporting libraries consist of dialog boxes and routines to interface the debugger and the hardware.
4–24
MMDS0508 Target Interface
MMDS Target Component
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

4.3 Definitions, Acronyms and Abbreviations

4.3 Definitions, Acronyms and Abbreviations

4.3.1 DLL

Dynamic Link Library: A Microsoft Windows library file for dynamic linking.

4.3.2 Dynamic Linking

Dynamic Linking: A Windows process that links a function call in one module to the actual function (in the library module), at run time.

4.3.3 MMDS0508 Server

The MMDS hardware access library that interfaces across the RS-232 port to the MMDS0508 station.

4.3.4 Modal Dialog

A dialog that requires a response before you can continue.

4.3.5 MCU

Micro Controller Unit

4.3.6 EM

Emulation Module
4.4 Interfacing Your System and the Target
The MMDS0508 box connects to an RS-232 serial port of your system.

4.4.1 Hardware Connection

Use the cables that came with the MMDS0508 to connect the host computer to the MMDS0508 box (the diagram below depicts this connection). Configure the host
4–25MMDS0508 Target Interface
MMDS Target Component
Freescale Semiconductor, Inc.
For More Information: www.freescale.com

4.5 Loading the MMDS0508 Target

computer to be a data terminal, so that it sends data on the TxD lead and receives data on the RxD lead (as shown in Figure 4.2 explains).
Figure 4.2 Hardware connection
and as the MMDS0508 hardware manual
4.5 Loading the MMDS0508 Target
Usually, the PROJECT.INI file specifies the target. To make the MMDS the target, change the file’s “Target=” line to “Target=Motosil”. The MotoSIL driver automatically detects the MMDS. However, if the driver detects nothing, an error message informs you that the target is not connected to the expected port. Additionally, the Communications Device Specification dialog box appears, so that you can set the correct baud-rate and communication-port parameter values. See the Communication Configuration section of this document for more details.
Another way to load the MMDS0508 target is selecting Set Target... from the Component Menu (below) as shown in Figure 4.3 list of possible targets.
Figure 4.3 Set Target
, then choosing MotoSIL from the
4–26
MMDS0508 Target Interface
Loading...
+ 60 hidden pages