MOTOROLA M68ICS08AB User Manual

M68ICS08ABUM/D

M68ICS08AB

IN-CIRCUIT SIMULATOR
Februrary 2000
HARDWARE
USER’S MANUAL
© MOTOROLA, Inc., 1998-1999; All Rights Reserved
Important Notice to Users
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including, without limitation, consequential or incidental damages. “Typical” parameters can and do vary in different applications. All operating parameters, including “typicals” must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended,or authorizedforuseascomponentsinsystemsintended 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. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injuryor death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part.
Trademarks
This document includes these trademarks: Motorola and the Motorola logo are registered trademarks of Motorola, Inc.
IBM is a registered trademark of International Business Machines Corporation. Windows is a registered trademark of Microsoft Corporation.
CASM08W, ICS08RKW, PROG08SW, ICD08SW, and WinIDE software are ã P & E Microcomputer
Systems, Inc., 1996; all rights reserved.
Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
1-1 INTRODUCTION 1-1
OVERVIEW 1-1
ABICS Product Components 1-2
M68ICS08AB HARDWARE 1-2
Specifications 1-3
ABICS INTERFACE MODULE OVERVIEW 1-4
Board Interface Connectors 1-5 MCU Subsystem 1-6
TARGET CABLES 1-11
FLEX Cable 1-11 MON08 Cable 1-12
ABOUT THIS OPERATOR’S MANUAL 1-12
Chapter Organization 1-12 Document Conventions 1-13
HARDWARE QUICK START INSTRUCTIONS 1-14 CUSTOMER SUPPORT 1-14
2-1 HARDWARE INSTALLATION 2-1
OVERVIEW 2-1 CONFIGURING THE IN-CIRCUIT SIMULATOR BOARD 2-2 INSTALLING THE HARDWARE 2-3 CONNECTING TO A TARGET SYSTEM 2-3
3-1 USING THE MON08 INTERFA CE 3-1
OVERVIEW 3-1 HEADER PLACEMENT AND LAYOUT 3-1 CONNECTING TO THE IN-CIRCUIT SIMULATOR 3-3 DISABLING THE TARGET-SYSTEM INTERFACE 3-4
A-1 TECHNICAL REFERENCE & TROUBLESHOOTING A-1
OVERVIEW A-1
CPU32XIPB/D -1
FUNCTIONAL DESCRIPTION A-2
ICS08AB32 Board A-2
TROUBLESHOOTING THE QUICK START A-4 TROUBLESHOOTING MON08 MODE A-7 CONNECTOR PIN ASSIGNMENTS A-11 TARGET-CABLE PIN ASSIGNMENTS A-17 PARTS LIST A-21 BOARD LAYOUT AND SCHEMATIC DIAGRAMS A-23
B-1 GLOSSARY B-1
-2 CPU32XIPB/D
1-1. ABICS Board Layout ................................................................................................. 1-4
1-2. ICS Functional Overview ........................................................................................... 1-5
1-3. MC68HC908AB32 In-Circuit Simulator Block Diagram .......................................... 1-6
1-4. FLEX Cable .............................................................................................................. 1-12
3-1. MON08 Target System Connector Layout ................................................................. 3-3
3-2. Target System Stand-Alone Connection .................................................................... 3-4
A-1. IC508AB32 Board Layout ....................................................................................... A-24
CPU32XIPB/D -3
-4 CPU32XIPB/D
M68ICS08AB Product Components 1-2 M68ICS08AB Specifications 1-3 Target Interface 1-10 FLEX Cable Connectors 1-11 MON08 Cable Connectors 1-12 P9 Configuration Header – DTR switch on-board regulator 2-2
P4 Configuration Header – Target Cable Reset Pin Function 2-2 P6 Configuration Header – Oscillator Source 2-3 MON08 Target System Connector P1 3-2
MON08 Target System Connector P2 3-3 Target Connector P7 A-11 Target Connector P8 A-13 MON08 Connector J2 A-15 FLEX Target Cable (M68CBL05C)
for QFP Target Head Adapters A-17 Target MON08 Cable A-21 ICS08AB32 Parts List A-21
CPU32XIPB/D -5
-6 CPU32XIPB/D

1.1 OVERVIEW

This chapter provides an overview of the Motorola M68ICS08AB in-circuit simulator (ABICS) and a quick start guide to setting up a development project.
The ABICS board, a 107 ´ 109-mm PCB (printed circuit board), is a stand­alone development and debugging aid for designers using MC68HC908AB32 microcontroller unit (MCU) devices. The ABICS contains both the hardware (the M68ICS08AB) and software (ICD08SZã) needed to develop and simulate source code for, and to program, Motorola’s MC68HC908AB32 microcontrollers. Refer to the M68ICS08AB IN-CIRCUIT SIMULATOR SOFTW ARE OPERATOR’S MANUAL for detailed information about the ICD08SZ software.
The ABICS and the ICS08AB software form a complete simulator and limited real-time I/O (input/output) emulator for the MC68HC908AB32 MCU devices. When the ABICS is connected to a host PC and target hardware, the actual inputs and outputs of the target system can be used during simulation of code.
CHAPTER 1

INTRODUCTION

The ABICS connects to the target machine via a Motorola M68CLB05C FLEX cable. It connects to the software host via a single RS-232 connection and a standard DB-9 serial cable.
Use the ABICS with any IBM Windows 3.x-, Windows 95-, or Windows 98­based computer with a serial port.
M68ICS08ABUM/D 1-1
CHAPTER 1 – INTRODUCTION

1.1.1 ABICS Product Components

The complete ABICS system includes hardware, software, and documentation. Table 1-1 shows a list of the M68ICS08AB (ABICS) product components.
Table 1-1. M68ICS08AB Product Components
Part Number Description
ICS08AB Software development package ICS08ABW ICS Simulator MC68HC908AB32 MCU M68ICS08AB Hardware board M68ICS08ABSOM/D
M68ICS08ABHOM/D
M68ICS08AB IN-CIRCUIT SIMULATOR SOFTWARE OPERATOR’S MANUALM
M68ICS08AB IN-CIRCUIT SIMULATOR HARDWARE OPERATOR’S MANUAL

1.2 M68ICS08AB HARDWARE

The M68ICS08AB hardware includes:
Test socket for the Motorola M68HC908AB32 MCU
ICS board MCU packages supported: – 64-pin QFP (quad flat pack)
3.0-volt to 5.0-volt (VDD) on-board regulator for level shift.
RS-232 to interface the ABICS to the host serial connector
One 2 ´ 8-pin, 0.1-inch spacing connectors to connect to a remote target via the MON08 debug circuit
1-2 M68ICS08ABUM/D

1.2.1 Specifications

Table 1-2 summarizes the M68ICS08AB hardware specifications.
Temperature:
Relative humidity 0 to 95% (non-condensing) Power requirement +5 Vdc, from included AC/DC adapter
CHAPTER 1 – INTRODUCTION
Table 1-2. M68ICS08AB Specifications
Characteristic Specification
Operating Storage
0to 40C –40to +85C
M68ICS08ABUM/D 1-3
CHAPTER 1 – INTRODUCTION

1.3 ABICS INTERFACE MODULE OVERVIEW

The ABICS includes a single 107 x 109-mm printed circuit board (PCB) (M68ICS08AB). Figure 1-1 shows a diagram of the ABICS board. For an enlarged view of this board, refer to Section A.8 BOARD LAYOUT AND SCHEMATIC DIAGRAMS.
Figure 1-1. ABICS Board Layout
1-4 M68ICS08ABUM/D

1.3.1 Board Interface Connectors

The development system interface is via the single system connector P2, which is a 9-pin, D-type, through-hole, female, right angle connector (Amp part number AMP-9726-A) mounted on the top side of the PCB.
The ABICS user target interface is via the target header connector J1, J2, two 40-pin shrouded headers. J1, J2 are positioned to easily interface to a Motorola M68CLB05C FLEX cable. The FLEX cable connects to the host system through the appropriate target head adapter.
The ABICS board uses two supply voltages:
Self-tracked +3.0-volt to +5.0-volt regulator supply for the ABICS and
level translation devices
A +5-V supply for the remainder of the logic
The interface to the host development system uses +5-V TTL (transistor-to­transistor logic) signaling levels. The interface to the target system uses signaling levels based on the user-selected supply.
CHAPTER 1 – INTRODUCTION
Figure 1-2 shows a functional overview of the system.
RS-232
PC Host
ICS Interface MCU
Figure 1-2. ICS Functional Overview
Voltage
Adjustment
M68ICS08ABUM/D 1-5
CHAPTER 1 – INTRODUCTION

1.3.2 MCU Subsystem

The MCU subsystem consists of the MC68HC908AB32 microcontroller,clock generation , monitor mode control logic that places and holds the ABICS in monitor mode, the bus voltage level translation buffers, and processor operating voltage variable regulator.
1.3.2.1 Block Diagram of Simulator Board
Figure 1-3 shows a block diagram of the ABICS simulator board. The individual blocks are described in the subsections following the diagram.
Figure 1-3. MC68HC908AB32 In-Circuit Simulator Block Diagram
1-6 M68ICS08ABUM/D
1.3.2.2 M68HC908AB32 MCU
The MCU is an MC68HC908AB32 and is available in one package only:
64-pin QFP
The QFP package mounts in a clam-shell socket. The on-board MCU (the test MCU) simulates and debugs the MCU’s interface
to its peripherals and to other devices on the target board through a variety of connections. Depending on the connection, the MCU is used in one of three operating modes:
In the ICS socket for programming and simple simulation
In the socket and connected to the target for emulation
On the target for MON08 debug operation
1.3.2.3 Clocks
CHAPTER 1 – INTRODUCTION
The ABICS contains a 4.1952-MHz crystal oscillator. When the remote target connection is made, the user may opt to feed the output from the ABICS crystal (SP-OSC) to the external clock input (OSC1) of the ABICS via W5, a 2-pin shunt.
1.3.2.4 Board Reset
The ABICS includes two reset sources:
An output from the POR (Power-On Reset) circuit via the host system
software
An internal reset exception operation of the processor
The host system resets the ICS by cycling power to most of the ICS circuitry, including the POR circuit. RS-232 handshake line DTR is used for this purpose.
The RESET function of the ABICS is both an input and an output. The ABICS drives its RESET pin low after encountering several different exception conditions. W3 is providedto allowyou to select whether the target system can reset the MCU on the ABICS (jumper between pins 1 and 2) or whether the target system receives a reset signal from the ABICS (jumper between pins 2 and 3).
M68ICS08ABUM/D 1-7
CHAPTER 1 – INTRODUCTION
RST* is not a bidirectional, open-drain signal at the target connectors. Removing the jumper leaves the RST-IN* signal pulled up to MCU operating voltage.
1.3.2.5 Device Configuration Selection
The operation mode of the ABICS processor is selected at the rising edge of the RESET signal. The ABICS requires that the processor operate in monitor mode. To set monitor mode operation, the IRQ* line to the ABICS is level shiftedtoapplyVHIto the processor on the rising edge of reset. The VHIis a signal name that is specified as minimum VDD+ 2.5 V and maximum 9 V, with the highest VDDof 3.3 V, which gives a range of minimum 5.8 V and maximum 9 V.
The ABICS RST* pin is the main mode select input and is pulled to logic 0, then logic 1 (processor VDD), to select MCU monitor mode. The host software must communicate security bytes to the MCU to resume execution out of reset. Communication to the monitor ROM is via standard, non-return-to-zero (NRZ) mark/space data format on PTA0. The MCU maintains monitor mode and disables the COP module through continued application of VHIon either IRQ* or RST*.
Six commands may be issued by the host software in control of the MCU in monitor mode: read, write, iread, iwrite, readsp,andrun. Each command is echoed back through PTA0 for error checking. These commands are described in the M68ICS08AB IN-CIRCUIT SIMULATOR SOFTWARE
OPERATOR’S MANUAL.
The MCU bus clock is CGMXCLK/2.
1.3.2.6 Level Translation
The ABICS has an operation voltage range of +3.0 to +5.0 volts while the host developmentsystem interface is an RS-232 (com) port. U2 on the ICS converts 5 V logic signals to RS-232 levels. Transistors Q9-Q10 translate 5 V logic levels to the MCU operating voltage (3.0-5.0 V).
1-8 M68ICS08ABUM/D
1.3.2.7 ABICS Operating Voltage, Variable Selector
To provide the ABICS with power input that matches your target environment, the ABICS includes a on-board regulator. The ABICS monitors the user’s target system power via the EVDD pin of FLEX cable. EVDD pin is connected to power supply of user’s target system via target adapter. If the EVDD pin is floated, the regulator output 5.0Vdc. The ABICS doesn’t power the target system.
The on-board regulator is activated by the RS-232 handshake line DTR. To activate the regulator mannually, set jumper W9.
1.3.2.8 Host System Connector
The host system interface is via a 9-pin DB-9 serial connection plug DEKL­9SAT-F.
CHAPTER 1 – INTRODUCTION
M68ICS08ABUM/D 1-9
CHAPTER 1 – INTRODUCTION
1.3.2.9 Target Interface Connector
The user target interface connector is two 40-pin shrouded headers (J1, J2). Table 1-3 shows the target interface pins.
Table 1-3. Target Interface J1
Pin Description Pin Description
1 GND 2 TGT_IRQ* 3PTC24GND 5TGT_PTC06 PTF1 7 NC 8 PTF3
9 VDD 10 NC 11 LVDD 12 PTF5 13 PTD7 14 PTB7 15 PTD5 16 PTD1 17 PTH1 18 AVSS/VREFL 19 GND 20 PTD3 21 PTB2 22 PTA7 23 PTB4 24 GND 25 PTB6 26 PTA4 27 NC 28 PTA2 29 NC 30 TGT_PTA0 31 PTF6 32 PTG2 33 PTE1 34 PTG0 35 PTE3 36 GND 37 PTE5 38 GND 39 PTE7 40 GND
1-10 M68ICS08ABUM/D
CHAPTER 1 – INTRODUCTION
Table 1-4. Target interface J2
Pin Description Pin Description
1PTC52PTC4 3TGT_PTC34 RST* 5TGT_PTC16 PTF0 7OSC18PTF2
9 GND 10 PTF4 11 GND 12 PTF7 13 VREFH 14 GND 15 PTD6 16 PTD0 17 PTD4 18 VDDAREF 19 PTH0 20 PTD2 21 PTB1 22 PTB0 23 PTB3 24 PTA6 25 PTB5 26 PTA5 27 GND 28 PTA3 29 NC 30 PTA1 31 NC 32 GND 33 PTE0 34 PTG1 35 PTE2 36 EVDD 37 PTE4 38 GND 39 PTE6 40 GND
M68ICS08ABUM/D 1-11
CHAPTER 1 – INTRODUCTION

1.4 TARGET CABLES

A generic cable (Motorola part number M68CLB05C) connects between the ICS module and target adapter(s) for the different user package targets.

1.4.1 FLEX Cable

The FLEX cable connects to the host system through the appropriate target head adapter.
1.4.1.1 Cable Connections
Table 1-5 shows the connectivity between the two ends of the FLEX cable and the usage of the lines in this application.
Table 1-5. FLEX Cable Connectors
M68ICS08AB
Single
PTC4 NA 2 1 PTC5 NA 1 2
TGT_IRQ* 2NA3
GND 1NA4 TGT_RST* NA 4 5 TGT_PTC3 NA 3 6
GND 4NA7
PTC2 3NA8 PTF0 NA 6 9
TGT_PTC1 NA 5 10
PTF1 6NA11
TGT_PTC0 5NA12
PTF2 NA 8 13
Connector P1 Pin
Number
M68ICS08AB
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
OSC1 NA 7 14 PTF3 8NA15
NC 7NA16
1-12 M68ICS08ABUM/D
CHAPTER 1 – INTRODUCTION
Table 1-5. FLEX Cable Connectors
M68ICS08AB
Single
PTF4 NA 10 17
GND 19 NA 18
NC 10 NA 19
VDD 9NA20
PTF7 NA 12 21
GND NA 11 22 PTF5 12 NA 23 LVDD 11 NA 24
GND 24 NA 25
VERFH NA 13 26
PTB7 14 NA 27 PTD7 13 NA 28 PTD0 NA 16 29
Connector P1 Pin
Number
M68ICS08AB
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
PTD6 NA 15 30 PTD1 16 NA 31 PTD5 15 NA 32
VDDAREF NA 18 33
PTD4 NA 17 34
VERFL 18 NA 35
PTH1 17 NA 36 PTD2 NA 20 37 PTH0 NA 19 38 PTD3 20 NA 39
GND 38 NA 40 PTB1 NA 21 41 PTB0 NA 22 42 PTB2 21 NA 43
M68ICS08ABUM/D 1-13
CHAPTER 1 – INTRODUCTION
Table 1-5. FLEX Cable Connectors
M68ICS08AB
Single
PTA7 22 NA 44 PTB3 NA 23 45 PTA6 NA 24 46 PTB4 23 NA 47
GND 40 NA 48 PTB5 NA 25 49 PTA5 NA 26 50 PTB6 25 NA 51 PTA4 26 NA 52
GND NA 9 53 PTA3 NA 28 54
NC 27 NA 55
PTA2 28 NA 56
Connector P1 Pin
Number
M68ICS08AB
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
NC NA 29 57
PTA1 NA 30 58
NC 29 NA 59
TGT_PTA0 30 NA 60
NC NA 31 61
GND NA 14 62 PTF6 31 NA 63 PTG2 32 NA 64 PTE0 NA 33 65 PTG1 NA 34 66 PTE1 33 NA 67 PTG0 34 NA 68 PTE2 NA 35 69 EVDD NA 36 70
1-14 M68ICS08ABUM/D
CHAPTER 1 – INTRODUCTION
Table 1-5. FLEX Cable Connectors
M68ICS08AB
Single
PTE3 35 NA 71
GND 36 NA 72
PTE4 NA 37 73
GND NA 27 74
PTE5 37 NA 75
GND NA 32 76
PTE6 NA 39 77
GND NA 38 78
PTE7 39 NA 79
GND NA 40 80
Connector P1 Pin
Number
M68ICS08AB
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
M68ICS08ABUM/D 1-15
Loading...
+ 52 hidden pages