Freescale Semiconductor MOTOROLA digital dna M68MMPFB0508 Instruction Manual

Target interface

Advertisement

Quick Links

Freescale Semiconductor, Inc.
MMEVS0508OM/D
Revision 2
MMEVS0508
Target Interface
Revised 2002/4/25
For More Information On This Product,
Go to: www.freescale.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MOTOROLA digital dna M68MMPFB0508 and is the answer not in the manual?

Questions and answers

Summary of Contents for Freescale Semiconductor MOTOROLA digital dna M68MMPFB0508

  • Page 1 Freescale Semiconductor, Inc. MMEVS0508OM/D Revision 2 MMEVS0508 Target Interface Revised 2002/4/25 For More Information On This Product, Go to: www.freescale.com...
  • Page 2 Freescale Semiconductor, Inc. Important Notice to Users While every effort has been made to ensure the accuracy of all information in this document, Motorola assumes no liability to any party for any loss or damage caused by errors or omissions or by statements of any kind in this document, its updates, supplements, or special editions, whether such errors are omissions or statements resulting from negligence, accident, or any other cause.
  • Page 3: Table Of Contents

    Freescale Semiconductor, Inc. Table of Contents General Description Introduction....... 5 MMEVS Features .
  • Page 4 Freescale Semiconductor, Inc. Ta ble o f C onte n ts 3.6.1 Communication Device Specification ....20 3.6.2 Data Format ......21 Debugger Status Bar for the MMEVS .
  • Page 5: General Description

    Freescale Semiconductor, Inc. General Description 1.1 Introduction The M68MMEVS05/08 Motorola Modular Evaluation System (MMEVS) is a tool for developing embedded systems based on an MC68HC05 or MC68HC08 microcontroller unit (MCU). A modular emulation system, the MMEVS provides interactive control of a microcontroller application when connected to your target system.
  • Page 6: System Components

    Freescale Semiconductor, Inc. G e n er a l De s cr ip t ion System Components 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.
  • Page 7: Installation

    Freescale Semiconductor, Inc. Installation 2.1 Introduction Complete MMEVS installation consists of: • Configuring the platform board, • Configuring the emulation module (EM), • Installing the EM, and • 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.)
  • Page 8: Configuring The Platform Board

    Freescale Semiconductor, Inc. Ins t a ll at ion Configuring the Platform Board Figure 2.1 M68MMPFB0508 Platform Board 2.2 Configuring the Platform Board The MMEVS 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.
  • Page 9: Factory Test Header (J1)

    Freescale Semiconductor, Inc. I n s t al la t io n Configuring the Platform Board 2.2.1 Factory Test Header (J1) Figure 2.2 shows the factory configuration of jumper header J1. The jumper between pins 1 and 2 is correct for MMEVS operation.
  • Page 10: Installing The Em

    Freescale Semiconductor, Inc. Ins t a ll at ion Installing the EM Figure 2.3 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.
  • Page 11: Removing The Em

    Freescale Semiconductor, Inc. I n s t al la t io n Removing the EM 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.
  • Page 12: Power Connection

    Freescale Semiconductor, Inc. Ins t a ll at ion Reset Switch 2. The EM has one or two target connectors, on its right side. Connect the target cable’s emulator terminator to the EM target connectors. 3. Connect the target cable’s head terminator to the appropriate target head adapter.
  • Page 13 Freescale Semiconductor, Inc. I n s t al la t io n RS232 Serial Connector Figure 2.4 Serial Connector Table 2.1 Serial Connector and Cable Pin Assignments Connector Pin Mnemonic Signal GROUND TRANSMIT DATA — Serial data input line RECEIVE DATA — Serial data output line REQUEST TO SEND —...
  • Page 14 Freescale Semiconductor, Inc. Ins t a ll at ion RS232 Serial Connector 2–14 MMEVS0508 Target Interface For More Information On This Product, Go to: www.freescale.com...
  • Page 15: Mmevs Target Interface

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.1 Introduction MMEVS Target Interface 3.1 Introduction An advanced feature of Debugger for the embedded systems development world is the ability to load different target components, which implement the interface with target systems.
  • Page 16: General

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.2 General 3.2 General This chapter describes the specific features of the MMEVS0508. The explanations of windows and dialog boxes are with the explanations of corresponding MMEVS0508 features.
  • Page 17: Dynamic Linking

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.4 Interfacing Your System and the Target 3.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.
  • Page 18: Loading The Mmevs0508 Target

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.5 Loading the MMEVS0508 Target Figure 3.2 Hardware Connection 3.5 Loading the MMEVS0508 Target Usually, the PROJECT.INI file specifies the target. To make the MMEVS the target, change the file’s “Target=”...
  • Page 19: Communication Configuration

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.6 Communication Configuration If MotoSIL does not detect a target, the MotoSIL menu remains in the main menu bar, as shown in Figure 3.4: Figure 3.4...
  • Page 20: Communication Device Specification

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.6 Communication Configuration Figure 3.6 To change the connection settings Make sure that host-computer parameter values are correct; make sure that the serial- communication setting is correct.
  • Page 21: Data Format

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.7 Debugger Status Bar for the MMEVS NOTE Saving the communication device and the baud rate through this dialog box overrides environment variables BAUDRATE and COMDEV of the default.env file...
  • Page 22: Communication Baud Rate

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.8 MMEVS0508 Menu Entries 3.8.1 Communication Baud Rate You should specify the baud rate for host-computer-to-MMEVS0508 communication early in a session. The system operates most efficiently at the maximum baud rate that the host computer supports.
  • Page 23: Maximum Baud Rate

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.8 MMEVS0508 Menu Entries 3.8.3 Maximum Baud Rate The maximum baud rate depends on the speed and interrupt load of the host computer. For slow notebook computers, or for computers running in a network, the maximum baud rate may be as low as 19200.
  • Page 24: Personality (.Mem) Files

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.8 MMEVS0508 Menu Entries identifies and sets the memory map through the processor MCU-Id. To open another configuration, click the Open button. To save modifications to the current configuration, click the Save...
  • Page 25 Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.8 MMEVS0508 Menu Entries Figure 3.12 Open personality file This dialog box lets you browse to find and open the necessary.MEM file. If you select another invalid.MEM file, the error message box and the Communication Device Specification dialog box reappear.
  • Page 26: Memory

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.8 MMEVS0508 Menu Entries 3.8.7 Memory The Memory area lets you specify the “Real-Time Memory”. For the MMEVS0508, this is dual-ported memory that you can assigned to any valid RAM or ROM address.
  • Page 27: Default Target Setup

    Freescale Semiconductor, Inc. M M E VS T a rg et Int er f a ce 3.9 Default Target Setup The Target Signals dialog box displays settings that the system reads from the MMEVS0508. Click Ok to close the dialog box, and to write values back to the MMEVS0508.
  • Page 28: Motorola Esl Parameters

    Freescale Semiconductor, Inc. MM E V S T ar g e t I n t e r f ac e 3.10 Motorola ESL Parameters 3.10 Motorola ESL Parameters In normal use, you set these parameters in the PROJECT.INI file once, interactively, during installation.
  • Page 29: Appendix

    Freescale Semiconductor, Inc. Appendix A.1 MMEVS Commands This section explains the commands specific to the MMEVS. Use these commands as you would any others, typing them in the Command Line component or when inserting them into a command file. For further details about commands, please see the Debugger manual appendix, Debugger Commands, as well as the section Command Line Component.
  • Page 30: Target Signal Emulation Command

    Freescale Semiconductor, Inc. App en d ix A.1 MMEVS Commands Without a rate value, the command displays the Communications Baud Rate Specification dialog box for interactive rate selection. If the system does not support the requested rate, the red message, “Error: <baud rate> is not a supported baud rate.”appears in the Command Line window.
  • Page 31: Reset Command

    Freescale Semiconductor, Inc. Ap p en d ix A.2 Other Commands A.1.3 Reset Command RESET A.1.3.1 Short Description resets target MCU A.1.3.2 Syntax RESET [GO|STOP] GO: Resets the MCU and does a Go from Reset. STOP: Resets the MCU and stops (default).
  • Page 32 Freescale Semiconductor, Inc. App en d ix A.2 Other Commands A.2.0.2 Syntax LOADMAP fileName | MCUID fileName: the full pathname of a file that defines a memory map. MCUID: the MCU identifier. If the command includes an MCUID value, the system loads a memory map from the file that matches this value.
  • Page 33 Freescale Semiconductor, Inc. Ap p en d ix A.2 Other Commands in>MEM Type Addresses Comment ------------------------------------------------------- PRU or TOP TOP board resource or the PRU NONE 40.. NONE 50.. 64F NONE 650.. 7FF NONE EEPROM 800.. A7F EEPROM NONE A80..3DFF NONE 3E00..FDFF...
  • Page 34 Freescale Semiconductor, Inc. App en d ix A.2 Other Commands Selects the 2 Mhz oscillator. OSC2MHZ Selects the 4 Mhz oscillator. OSC4MHZ Selects the 8 Mhz oscillator. OSC8MHZ Selects the 16 Mhz oscillator. OSC16MHZ Where source is: EXT Selects an external clock source.
  • Page 35 Freescale Semiconductor, Inc. Index Symbols Removing the EM 11 Reset Switch 12 .MEM 24 Signal Descriptions, Connector 13 BAUD 1 Introduction 5 BAUDRATE 21 Jumper Headers Cables, Connecting Factory Test (J1) 9 Host Computer 11 Port Voltage Control (J2–J4) 9...
  • Page 36 Freescale Semiconductor, Inc. PROTOCOL 6 RESET 3 Reset 26 Reset signal connection 26 SHOWPROT 28 SIG 2 Signals 26 System Components 6 Connections Target 18 Target Setup 27 IDX–2 MMEVS0508 Target Interface For More Information On This Product, Go to: www.freescale.com...

Table of Contents