M68ICS08ABUM/D
NON-DISCLOSURE AGREEMENT REQUIRED
M68ICS08AB
In-Circuit Simulator
User’s Manual
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
User’s Manual M68ICS08AB In-Circuit Simulator
2MOTOROLA
Users Manual
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. Motorola further assumes no liability
arising out of the application or use of any information, product, or system described herein: nor any
liability for incidental or consequential damages arising from the use of this document. Motorola disclaims
all warranties regarding the information contained herein, whether expressed, implied, or statutory,
including implied warranties of merchantability or fitness for a particular purpose. Motorola makes no
representation that the interconnection of products in the manner described herein will not infringe on
existing or future patent rights, nor do the descriptions contained herein imply the granting or license to
make, use or sell equipment constructed in accordance with this description.
Trademarks
This document includes these trademarks:
Motorola and the Motorola logo are registered trademarks
of Motorola, Inc.
Windows and Windows 95 are registered trademarks of Microsoft Corporation in the U.S. and other
countries.
Intel is a registered trademark of Intel Corporation.
Motorola, Inc., is an Equal Opportunity / Affirmative Action Employer.
For an electronic copy of this book, visit Motorola’s web site at htt p:/ /mcu.motsps.com/documentation
© Motorola, Inc., 2000; All Rights Reserved
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Table of Contents 3
Sect ion 1. Gener al Inf orm a tion
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 ABICS Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2.1 ABICS Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.2 ICS Interface Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 Hardware and Software Requirements. . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.5 About This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.6 Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Section 2. Preparation and Installation
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2 Hardware Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2.1 ABICS Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2.2 Configuring ABICS Jumper Headers . . . . . . . . . . . . . . . . . . . . . . 18
2.2.3 Target Interface Connection Options. . . . . . . . . . . . . . . . . . . . . . . 21
2.2.4 Host Computer - ABICS Interconnection (P2) . . . . . . . . . . . . . . . 21
2.2.5 Power Connector (P1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3 Connecting the ABICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.4 Connecting the ABICS to the Target System. . . . . . . . . . . . . . . . . . . 23
2.5 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Section 3. Support Information
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.2 MCU Subsystem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Users Manual M68ICS08AB In-Circuit Simulator
Table of Contents
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
4 Table of Conten ts MOTOROLA
Table of Contents
3.3 ABICS Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.1 ICS08AB Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.3.2 M68HC908AB32 MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.3 Clocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.4 Board Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.5 Device Configuration Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3.6 Level Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3.7 ABICS Operating Voltage, Variable Selector . . . . . . . . . . . . . . . . 29
3.4 ABICS Connector Signal Definitions. . . . . . . . . . . . . . . . . . . . . . . . . 30
3.4.1 Target Flex Cable Interface Connectors J1 and J2 . . . . . . . . . . . . 30
3.4.2 Target Flex Cable Interface Connectors J1 and J2 . . . . . . . . . . . . 31
3.4.3 Target MON08 Interface Connector J3 . . . . . . . . . . . . . . . . . . . . . 38
3.4.4 Power Connector P1 Pin Assignments. . . . . . . . . . . . . . . . . . . . . . 39
3.4.5 Host Computer - ABICS Interconnection (P2) . . . . . . . . . . . . . . . 40
3.5 Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.6 ABICS Board Layout and Schematic Diagrams. . . . . . . . . . . . . . . . . 43
Section 4. Using the MON08 Interface
4.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.2 Target System Header Placement and Layout . . . . . . . . . . . . . . . . . . 45
4.3 Connecting to the In-Circuit Simulator . . . . . . . . . . . . . . . . . . . . . . . 46
4.4 Disabling the Target-System Interface . . . . . . . . . . . . . . . . . . . . . . . . 47
Appendix A. S-Record Information
A.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
A.2 S-Record Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
A.3 S-Record Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
A.4 S Record Creation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
A.5 S-Record Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Table of Contents
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Table of Contents 5
Appendix B. Quick Start Hardware Configuration Guide
B.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
B.2 Installing the Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
B.3 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
B.4 Connecting to a Target System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Glossary
Index
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
6 Table of Conten ts MOTOROLA
Table of Contents
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
List of Figures
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA List of Figures 7
1-1 M68ICS08AB ABICS In-circuit Simulator Board . . . . . . . . . . . . . . 12
2-1 P2 Host Computer to ABICS Interconnection. . . . . . . . . . . . . . . . . . 21
2-2 P1 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3-1 FLEX Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3-2 . P1 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3-3 . P2 Host Computer to ABICS Interconnection . . . . . . . . . . . . . . . . . 40
3-4 ABICS Board Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4-1 . Target System Stand-Alone Connection. . . . . . . . . . . . . . . . . . . . . . 47
Users Manual M68ICS08AB In-Circuit Simulator
List of Figures
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
8 List of Figures MOTOROLA
List of Figures
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
List of Tables
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA List of Tables 9
Table 1-1. ABICS Product Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 1-2. Hardware Connector Components . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 1-3. Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 1-4. ABICS Board Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 2-1 ABICS Jumper Header Description . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 2-2. Cable/Connector Options for MCUs. . . . . . . . . . . . . . . . . . . . . . . 17
Table 3-1 J1 Target Flex Connector Pin Assignment Descriptions . . . . . . . . 27
Table 3-2 J2 Target Flex Connector Pin Assignment Descriptions . . . . . . . . 28
Table 3-3 FLEX Cable Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 3-4 J3 MON08 Target Connector Pin Assignment Descriptions . . . . . 34
Table 3-5. Power Connector P1 Pin Assignment Descriptions . . . . . . . . . . . 35
Table 3-6 RS-232C Communication Connector P2 Pin Assignment. . . . . . . 36
Table 3-7. ABICS Parts List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Table 4-1. MON08 Target System Connector P1. . . . . . . . . . . . . . . . . . . . . . 41
Table 4-2. MON08 Target System Connector P2. . . . . . . . . . . . . . . . . . . . . . 42
Table 4-3 ABICS Jumper Header Description . . . . . . . . . . . . . . . . . . . . . . . . 52
Table 4-4 Cable/Connector Options for MCUs . . . . . . . . . . . . . . . . . . . . . . . 53
Users Manual M68ICS08AB In-Circuit Simulator
List of Tab les
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
10 List of Tables MOTOROLA
List of Tables
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA General Information 11
Users Manual M68ICS08AB In-Circuit Simulator
Section 1. General Informatio n
1.1 Introduction
This section provides general information about the Motorola M68ICS08AB
in-circuit simulator (ABICS)(Figure 1-1).
The ABICS board is a stand-alone development and debugging tool. It contains
the hardware and software needed to develop and simulate source code and to
program Motorolas MC68HC908AB32 microcontroller (MCU).
The ABICS and its software form a complete editor, assembler, programmer,
simulator, and limited real-time input/output emulator for the MCU. When
connection is made between a host PC (personal computer) and target hardware
(your prototype product), actual inputs and outputs of the target system may be
used during code simulation.
The ABICS can interface with any IBM Windows 95-based computer (or
later version) through connection of a single RS-232 serial port using a DB-9
serial cable.
Connection to the target system is accomplished by a ribbon cable, a Motorola
M6CLB05C flex cable, or a MON08 cable. The flex cable is used when an
MCU is resident on the ABICS for emulation or simulation, and the MON08
cable is used to debug or program a target systems MCU, directly, when the
MCU resides on the target hardware.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
12 General Information MOTOROLA
General Information
Figure 1-1 M68ICS08 AB ABICS In-circuit Simulator Board
The ABICS is a low-cost development system that supports editing,
assembling, in-circuit simulation, in-circuit emulation, and FLASH memory
programming. Its features include:
Editing with WINIDE
Assembling with CASM08Z
Programming FLASH memory with PROG08SZ
Simulating in-circuit and stand-alone MC68HC908AB32 MCUs with
ICS08ABZ software, providing:
Simulation of all instructions, memory, and peripherals
Simulation of pin inputs from the target system
Installation of conditional breakpoints, script files, and logfiles
Debugging and emulation (limited real-time) with ICD08SZ, including:
Loading code into RAM
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
General Information
Introduction
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA General Information 13
Executing real-time in RAM or FLASH
Placing one hardware breakpoint in FLASH
Placing multiple breakpoints in RAM
On-line help documentation for all software
Software integrated into the WinIDE environment, allowing function
key access to all applications
MON08 emulation connection to the target system allowing:
In-circuit emulation
In-circuit simulation
In-circuit programming
Four modes of operation:
Standalone using the ABICS as a standalone system without a
target board
Simulation using the ABICS as an in-circuit simulator/emulator
with a target cable
Evaluation - using the ABICS for real-time evaluation of the MCU
and to debug user developed hardware and software
Programming using the ABICS as a programmer
With the ICD08SZ debugging software, code may be run directly out of
the MCUs internal FLASH at real-time speeds.
With the WinIDE, CASM08Z, editor, simulator, and assembler software
- the function is as a limited real-time emulator.
With the PROG08SZ software - the function is to program MCU FLASH
memory.
With the ICS08ABZ simulation software, the MCU provides the
required input/output information that lets the host computer simulate
code, performing all functions except for maintaining port values. (The
internal FLASH memory on the device is downloaded with a program
that generates the appropriate port values.) The ICS08ABZ software on
the host computer lets the host computer become a simulator.
With using the ICD08SZ debugging software, code can be run directly
out of the MCUs internal FLASH at real-time speeds.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
14 General Information MOTOROLA
General Information
Timing is accomplished through a 4.9152 MHz crystal
1.2 ABICS Components
The complete ABICS system includes hardware, software, and docum entation.
Table 1-1 lists the ABICS product components.
Table 1 -1. ABICS Product Components
Part Number Description
ICS08AB ABICS software development package
ICS08ABZ ABICS simulator
ICD08SZ ABICS debugger/emulator
MC68HC908AB32 MCU
M68CBL05C Flex target cable
KRISTA 22-122 Serial cabl e
FRIWO 11.8999-P5 ABICS Power supply
M68ICS08AB ABICS Hardware board
M68ICS08SOM/D In-circuit simulator software operators manual
M68ICS08ABUM/D In-circuit simulator hardware operators manual
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
General Information
ABICS Components
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA General Information 15
1.2.1 ABICS Hardware
Table 1-2 lists the ABICS hardware components.
1.2.2 ICS Interface Software
Windows-optimized software components are referred to, collectively, as the
ABICS software (part number ICS08AB). It is a product of P&E
Microcomputer Systems, Inc., and is included in the ABICS kit (Table 1-3).
Table 1-2. Hardware Connector Components
Components Description
XU1 Test socket for the Motorola MC68HC908AB32 MCU:
64-pin QFP (quad flat pack)
J1 &J2 Two 2-row × 20-pin, 0.1-inch spacing connectors to connect
the ABICS to a target using the M68CBL05C flex cable
J3 One 2-row × 8-pin, 0.1-inch spacing connector to connect to a
remote target via the MON08 debug circuit.
P1 +5 Vdc input voltage (VDD)
P2 RS-232 to interface the ABICS to the host serial connector
P3 Power Terminal
Table 1-3. Software Components
Components Description
WINIDE.EXE Integrated development environment (IDE) software
interface for editing and performing software or
in-circu it simulation
CASM08Z.EXE CASM08Z command-line cross-assembler
ICS08ABZ.EXE In-circuit/stand-alone simulator software for the
MC68HC908AB32 MCU
PROG08SZ.EXE FLASH memory programming software
ICD08SZ.EXE In-circuit debugging software for limited, real-time
emulation
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
16 General Information MOTOROLA
General Information
1.3 Hardware and Software Requirements
The ABICS software requires this minimum hardware and software
configuration:
Windows 95 or later version operating system
Approximately 2 Mbytes of available random-access memory (RAM)
and 5 Mbytes of free disk space
An RS232 serial port for communications between the ABICS and the
host computer
1.4 Specificati ons
Table 1-4 summarizes the ABICS hardware specifications.
1.5 About This Manual
The procedural instructions in this manual assume that the user is familiar with
the Windows interface and selection procedures.
1.6 Customer Support
To obtain information about technical support or ordering parts, call the
Motorola help desk at 800-521-6274.
Table 1 -4. ABICS Board Specifications
Characteristic Specification
Temperature:
Operating
Storage 0° to 40°C
40° to +85°C
Relative humidity 0 to 95%, non-condensing
Power requirement +5 Vdc, from included ac/dc adapter
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 17
Users Manual M68ICS08AB In-Circuit Simulator
Section 2. Preparation and Installation
2.1 Introduction
This section provides information and instruction for configuring, installing,
and readying the M68ICS08AB (ABICS) for use.
2.2 Hardware Preparation
This paragraph explains:
Limitations of the ABICS
Configuration of the ABICS
Installation of the ABICS
Connection of the ABICS to a target system
ESD CAUTION: Ordinary amounts of static electricity from clothing or the work environment
can damage or degrade electronic devices and equipment. For example, the
electronic components installed on the printed circuit board are extremely
sensitive to electrostatic discharge (ESD). Wear a grounding wrist strap
whenever handling any printed circuit board. This st rap provides a conductive
path for safely discharging static electricity to ground.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
18 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
2.2.1 ABICS Limitations
These sub-paragraphs describe system limitations of the ABICS.
2.2.1.1 Port A0
Port A0 is used for host to MCU communications, so it is unavailable for
emulation.
2.2.1.2 DDRA Bit 0 to 1
Setting DDRA bit 0 to 1 will stop communications with the simulation or
debugger software and will require a system reset to regain communication with
the MCU.
2.2.1.3 Port bits PTC0, PTC1, and PTC3
Port bits PTC0, PTC1, and PTC3 are temporarily disconnected from the target
system during reset.
2.2.1.4 RST* signal
RST* signal is limited because the signal is not a bidirectional, open-drain
signal. It is emulated as either an input or output when using the target
connectors or as two pins (one input and one output) when using the MON08
cable.
2.2.2 Configuring ABICS Jumper Headers
The ABICS supports four configuration options: standalone, simulation,
evaluation, and programming.
Standalone ICS08ABZ.exe running on the host computer (the ABICS
is not connected.) Emulation of the MCU CPU, registers, and I/O ports
are done within the host computer environment.
Simulation Host computer connected to the ABICS via the RS-232
cable and ICS08ABZ.exe running on the host computer. This provides
access to the M68HC(9)08AB MCU, internal registers, and I/O ports.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Preparation and Installation
Hardware Preparation
M68ICS08AB In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 19
Evaluation Host computer connected to the ABICS and the ABICS
connected to the target system via the flex cable. This method provides
limited real-time evaluation of the MCU and debugging user developed
hardware and software.
Programming Host computer connected to the ABICS, and the
ABICS connected to the target system via the MON08 cable, if the MCU
is resident on the target system. Use the PROG08SZ.exe to program the
MCU FLASH module. In the programming mode there is limited
evaluation.
Eight jumper headers (Table 2-1) on the ABICS are used to configure the
hardware options.
CAUTION: The ABICS can be set to operate at a variety of voltages. When configuring the
ABICS jumper headers, care must be exercised to ensure that the voltages
selected for the board match those of the target device. Failure to do so can
result in damage to either or both of the pieces of equipment.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
20 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
Table 2-1 ABICS Jumper Header De scription
Jumper
Header
(No W1 & W2)
Type
(Factory
Default Shown) Description
W3
Target Reset
Select
Jumper on position 1&2: RST_IN from target resets on-board ripple
counters and MCU.
Jumper on position 2&3: ICS RST_OUT (from RST*) resets target.
W4
TGT_OSC No Jumper: Disconnects OSC1 input to OSC input of target adapter
Jumper: Connects OSC1 input to OSC input of target adapter.
W5
OSC No Jumper: Disconnects on-board oscillator to OSC1 input of MCU
Jumper: Selects on-board oscillator.
W6
VREFH
Jumper on position 1&2: Selects on-board VDD as ADC reference high
signal.
Jumper on position 2&3: Selects VREFH signal from target as ADC
reference high signal.
W7
VDDAREF
Jumper on position 1&2: Selects on-board VDD as ADC power supply.
Jump er on p o si ti o n 2& 3: S e le cts VD D AREF signal f r om t a rg et as ADC
power supply.
W8
AVSS
Jumper on position 1&2: Selects on-board GND (Common) as ADC
common and reference voltage.
Jumper on position 2&3: Selects AVSS/VREFL signal from target as
ADC common and reference voltage.
W9
PWR_ON No Jumper: DTR turns on regulator.
Jumper: Disable DTR control; on-board regulator always on.
W10
EVDD
(On-board regulator reference input)
No Jumper: Pin 1 target power used as reference input.
Jumper: Pin 2 is GND (Common).
3
1
1
2
1
2
3
1
3
1
3
1
1
2
1
2
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Preparation and Installation
Hardware Preparation
M68ICS08AB In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 21
2.2.3 Target Interface Connection Op tions
There are two ways to connect the ABICS simulator board to your target
system:
Flex cable low-noise target interface connection
MON08 cable target interface connection with MCU FLASH
programming and limited emulation
Table 2-2 is a quick reference for defining the cable/connector setup to use with
the ABICS.
Refer to Section 3, Support Information for pin assignments and signal
definition.
2.2.4 Host Computer - ABICS Interconnection (P2)
The host computer to ABICS interface is via the single system connector P2,
which is a 9-pin, D-type connector (Amp part number AMP-9726-A)
(Figure 2-1), mounted on the top side of the board.
Connection requires the cable assembly supplied with your ABICS kit, a
DB9-male-to-female, 6-ft. (3 m) long serial cable.
Figure 2-1 P2 Host Computer to ABICS Interconnection
Table 2 -2. Cable/Connector Options for MCUs
MCU Flex Cable MON08
Cable
MC68HC908AB32 J1 and J2 J3
RXD
TXD
GND
1
2
3
4
5
6
7
8
9
DTR
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
22 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
2.2.5 Power Connector (P1)
Connect +5-Vdc power directly to the ABICS via connector J3 (Figure 2-2)
using the provided power supply.
Figure 2-2 P1 Power Connector
2.3 Connecting the ABICS
The following steps provide instructions for connecting the ABICS to the host
PC and power connection.
ESD CAUTION: Ordinary amounts of static electricity from clothing or the work environment
can damage or degrade electronic devices and equipment. For example, the
electronic components installed on the printed circuit board are extremely
sensitive to electrostatic discharge (ESD). Wear a grounding wrist strap
whenever handling any printed circuit board. This st rap provides a conductive
path for safely discharging static electricity to ground.
a. Configure the jumpers W-3 through W-10 (Table 2-1) on the ABICS for your
application.
b.Install an MCU into the appropriate socket, for your application, onto the
ABICS board.
Note: Observe the pin 1 orientation with the silkscreened dot. The top (label
side) of the MCU package must be visible when looking at the component side
of the board.
c. Plug the serial cable into P2 on the ABICS.
d. Plug the serial cable into the COM port on the host PC.
NOTE: Steps e. through g. should not be completed until all connections to the target
are completed (Paragraph 2.4).
e. Connect the power cable to P1 on the ABICS board.
GND
+5 Vdc
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Preparation and Installation
Connecting the ABICS to the Target System
M68ICS08AB In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 23
f. Plug the power cable into an ac power outlet, using one of the country-specific
adapters.
g. The ABICS green power LED lights.
2.4 Connecting the ABICS to the Target System
Connect the ABICS to the target system using one of these methods:
Emulating using a flex cable for low-noise
When emulating, connect the 80-pin M68CLB05C flex cable to the
connectors labeled J1and J2 on the simulator board. Attach the other end
of the cable to the appropriate connector on the target system. Target
head adapters are available.
Using a MON08 cable to debug the target system.
NOTE: An MCU must be installed in the target system. No MCU should on the ABICS.
Connect the MON08 debug interface cable to the appropriate MON08
debug interface connector, J3, for communication with the target
systems MCU. Attach the other end of the cable to the appropriate
connector on the target system.
NOTE: For more detailed information on the MON08, refer to Section 4 of this manual.
2.5 Installi ng the Software
For instructions for installing the ICS08 software, refer to P&E Microcomputer
Systems, Inc., M68ICS08HC08 In-Circuit Simulator Operator’s Manual,
Motorola document order number M68ICS08SOM/D, and you may refer to
http://www.pemicro.com/ics08/index.html#docs.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
24 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 25
Users Manual M68ICS08AB In-Circuit Simulator
Sectio n 3. Support Information
3.1 Introduction
This section includes data and information that may be useful in the design,
installation, and operation of your application.
3.2 MCU Subsystem
The MCU subsystem consists of the MC68HC908AB32 microcontroller, clock
generation and selection, 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.
The on-board MCU (the test MCU) simulates and debugs the MCUs inte rface
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 FOUR operating
modes:
In the ABICS socket simple simulation
In the ABICS socket for programming
In the ABICS socket connected to the target for emulation
In the target for MON08 debug operation
3.3 ABICS Functional Description
NOTE: For the following discussion on the theory of operation of the ABICS, refer to
the schematic diagrams in Paragraph 3.6, Figures 3-5 to 3-11 of this section.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
26 Support Information MOTOROLA
Support Information
3.3.1 ICS08AB B oard
The core component of the board is the MC68HC908AB32 MCU. The MCU
may be plugged-in to either the ABICS board or to a target system board for test
or evaluation.
When the MCU resides on the ABICS board, the board may be used as an
in-circuit emulator or simulator for the MC68HC908AB32. For this
configuration, a low-noise flexible target cable is run from the board to the
target system. The cable (Motorola part number M68CBL05C), is terminated in
connectors for target head adapters.
When the MCU resides on a target system board, communication with the MCU
is over a 16-pin MON08 cable (Motorola part number 01-RE91008W01).
Either version of the MCU may be supported when using the MON08 cable.
When using the ICD08SZ simulation software, the MCU provides the required
input/output information that lets the host computer to simulate code,
performing all functions except for maintaining the port values. The internal
FLASH/EEPROM memory on the device is downloaded with a program that
generates the appropriate port values.
The ICD08SZ software on the host computer allows the host computer to
become a simulator. When the ICS requires port data, the computer requests the
data through the hosts serial connection to the core MCU. The core MCU
responds by sending the data to the host via the serial connection. It is this
arrangement that allows a re al-world inte rface for the in-circuit simulator. The
clock runs the MCU at a 4.9512-MHz external clock rate. However, note that
the simulation speed will be slower than this rate, because the host computer is
the simulator.
When using the ICD08SW debugging software, code may be run directly out of
the MCUs internal FLASH at real-time speeds.
When using the PROG08SZ programming software, the MCUs
FLASH/EEPROM memory can be programmed. Socket XU1 supports the
64-pin QFP version of the part. The ICS08AB32 also supports in-circuit
programming of either version of the part through the MON08 cable.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Functional Description
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 27
The ICS08AB32 board also provides +5 Vdc power, +8.0 Vdc power for the
VTST voltage required to enter monitor mode, a 4.9152-MHz clock signal, and
host PC RS-232 level translation.
3.3.2 M68HC908AB32 MCU
The MCU is an MC68HC908AB32 and is availabl e in one package, the 64-pin
QFP, which mounts in a clam-shell socket.
The on-board MCU (the test MCU) simulates and debugs the MCUs inte rface
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 four
operating modes:
In the ICS socket for programming
In the ICS socket for simple simulation
In the socket and connected to the target for emulation
On the target for MON08 debug operation
3.3.3 Clocks
The ABICS contains a 4.1952-MHz crystal oscillator. When the remote target
connection is made, the user m ay opt to feed the outp ut from the ABICS crystal
(SP-OSC) to the external clock input (OSC1) of the ABICS via W5, a 2-pin
jumper.
3.3.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 ABICS by cycling power to most of the ICS circuitry,
including the POR circuit. RS-232 handshake line DTR is used for t his purpose.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
28 Support Information MOTOROLA
Support Information
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 provided to allow you to select whether the target system may
reset the MCU on the ABICS or whether the target system receives a reset
signal from the ABICS.
RST* is not a bidirectional, open-drain signal at the target connectors.
Removing the jumper leaves the RST_IN* signal pulled up to THE MCU
operating voltage.
3.3.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 shifted to
apply VHI to the processor on the rising edge of reset. VHI is a signal name that
is speci fied as minimum VDD +2.5 V and maximum 8 V, with the highest VDD
of 3.3 V, yielding a range of minimum 5.8 V and maximum 8 V.
The ABICS RST* pin is the main mode select input and is pulled to logic 0, then
logic 1 (processor VDD), to select the 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 m odule through continued application of VHI on either IRQ*
or RST*.
Six commands may be issued by the host software in control of the MCU in
monitor mod: read, write, iread, iwrite, readsp, readsp, and run. Each command
is echoed back through PTA0 for error checking. These commands are
described in the M68ICS08AB In-circuit Simulator Software Operators
Manual.
3.3.6 Level Translation
The ABICS has an operation voltage range of +3.0 to +5.0 volts while the host
development system interface is an RS-232 (com) port. U2 on the ICS converts
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Functional Description
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 29
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).
3.3.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 users target
system power via the EVDD pin of the FLEX cable. EVDD pin is connected to
the power supply of the users target system via the target adapter. If the EVDD
pin is floated, the regulator output 5.0Vdc.
The on-board regulator is activated by the RS-232 handshake line DTR. To
activate the regulator mannually, set jumper W9.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
30 Support Information MOTOROLA
Support Information
3.4 ABICS Connector Signal Definitions
The tables in this section describe the pin assignments for the connectors on the
ABICS board.
3.4.1 Target Flex Cable Interface Connectors J1 and J2
Table 3-1 and Table 3-1 describe the pin assignments for the flexible cable
ABICS board connectors J1 and J2.
A generic cable (Motorola part number M68CBL05C) connects between the
ICS module and target adapter(s) for the different user package targets.
The FLEX cable has two 2 × 40, 0.1-inch center connector (P1, P2) at the end,
which connects to the ICS module. At the opposite end, it has two 2 × 20,
0.5-inch center connector (P3), which connects to the target adapter.
Table 3-3 shows the connectivity between the two ends of the FLEX cable and
the usage of the lines in this application.
.
Figure 3-1 FLEX Cable
PIN 1
P1
PIN 80
Approximately 15
P2 PIN 1
PIN 41
PIN 40
P3
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Connector Signal Definitions
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 31
3.4.2 Target Flex Cable Interface Connectors J1 and J2
Table 3 -1 J1 Target Flex Connector Pin Assignmen t Descriptions
Pin
No. Schematic Direction Signal Description
1Common
2 TGT_IRQ* In External interrupt request
3 PTC2 Bidirectional General purpose I/O
4Common
5 TGT_PTC0 Bidirectional General purpose I/O
6 PTF1 Bidirectional General purpose I/O/ TimerA channel 3
7N/C
8 PTF3 Bidirectional General purpose I/O
9 VDD Logical chip power supply
10 N/C
11 LVDD Voltage supplied by voltage regulator (board or target)
12 PTF5 Bidirectional General purpose I/O/ Timer B channel 1
13 PTD7 Bidirectional General purpose I/O
14 PTB7 Bidirectional General purpose I/O
15 PTD5 Bidirectional General purpose I/O
16 PTD1 Bidirectional General purpose I/O
17 PTH1 Bidirectional General purpose I/O
18 TGT_AVSS/VR
EFL In ADC common & reference voltage
19 Common
20 PTD3 Bidirectional General purpose I/O
21 PTB2 Bidirectional General purpose I/O
22 PTA7 Bidirectional General purpose I/O
23 PTB4 Bidirectional General purpose I/O
24 Common
25 PTB6 Bidirectional General purpose I/O
26 PTA4 Bidirectional General purpose I/O
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
32 Support Information MOTOROLA
Support Information
Table 3 -2 J2 Target Flex Connector Pin Assignmen t Descriptions
27 Not Connected
28 PTA2 Bidirectional General purpose I/O
29 Not Connected
30 TGT_PTA0 Bidirectional General purpose I/O
31 PTF6 Bidirectional General purpose I/O
32 PTG2 Bidirectional General purpose I/O with key wakeup feature
33 PTE1 Bidirectional General purpose I/O/ SCI Transmit Data
34 PTG0 Bidirectional General purpose I/O with key wakeup feature
35 PTE3 Bidirectional General purpose I/O/ Timer A Channel 1
36 Common
37 PTE5 Bidirectional General purpose I/O/ SPI data path
38 Common
39 PTE7 Bidirectional General purpose I/O
40 Common
Pin
No. Schematic Direction Signal Description
Pin
No. Schematic Direction Signal Description
1 PTC5 Bidirectional General purpose I/O
2 PTC4 Bidirectional General purpose I/O
3 TGT_PTC3 Bidirectional General purpose I/O
4RST In/Out
Reset signal from target
Reset signal to target
5 TGT_PTC1 Bidirectional General purpose I/O
6 PTF0 Bidirectional General purpose I/O/ Timer A Channel 2
7 OCS1 Bidir ectional External cl oc k in/o ut
8 PTF2 Bidirectional General purpose I/O/ Timer B Channel 2
9Common
10 PTF4 Bidirectional General purpose I/O/ Timer B Channel 0
11 Common
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Connector Signal Definitions
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 33
12 PTF7 Bidirectional General purpose I/O
13 TGT_VREFH In ADC reference voltage
14 Common
15 PTD6 Bidirectional General purpose I/O/ Timer External Input clock
16 PTD0 Bidirectional General purpose I/O
17 PTD4 Bidirectional General purpose I/O
18 TGT_VDDAREF In ADC Power Supply
19 PTH0 Bidirectional General purpose I/O withe key wakeup feature
20 PTD2 Bidirectional General purpose I/O
21 PTB1 Bidirectional General purpose I/O
22 PTB0 Bidirectional General purpose I/O
23 PTB3 Bidirectional General purpose I/O
24 PTA6 Bidirectional General purpose I/O
25 PTB5 Bidirectional General purpose I/O/ ADC Channel
26 PTA5 Bidirectional General purpose I/O
27 Common
28 PTA3 Bidirectional General purpose I/O
29 Not Connected
30 PTA1 Bidirectional General purpose I/O
31 Not Connected
32 Common
33 PTE0 Bidirectional General purpose I/O/ SCI Transmit Data
34 PTG1 Bidirectional General purpose I/O with keyboard wakeup feature
35 PTE2 Bidirectional General purpose I/O/ SCI Transmit Data
36 EVDD In Target supplied power
37 PTE4 Bidirectional General purpose I/O/ SPI Slave select
38 Common
39 PTE6 Bidirectional General purpose I/O/ SPI data path
40 Common
Pin
No. Schematic Direction Signal Description
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
34 Support Information MOTOROLA
Support Information
Table 3-3 FLEX Cable Connecto rs
Single ICS08AB32
Connector P1 Pin
Number
ICS08AB32
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
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
OSC1 NA 7 14
PTF3 8NA15
NC 7NA16
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
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Connector Signal Definitions
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 35
VERFH NA 13 26
PTB7 14 NA 27
PTD7 13 NA 28
PTD0 NA 16 29
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
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
Table 3-3 FLEX Cable Connecto rs
Single ICS08AB32
Connector P1 Pin
Number
ICS08AB32
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
36 Support Information MOTOROLA
Support Information
GND NA 9 53
PTA3 NA 28 54
NC 27 NA 55
PTA2 28 NA 56
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
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
Table 3-3 FLEX Cable Connecto rs
Single ICS08AB32
Connector P1 Pin
Number
ICS08AB32
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Connector Signal Definitions
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 37
GND NA 40 80
Table 3-3 FLEX Cable Connecto rs
Single ICS08AB32
Connector P1 Pin
Number
ICS08AB32
Connector P2 Pin
Number
Target Head
Adapter Pin
Number
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
38 Support Information MOTOROLA
Support Information
3.4.3 Target MON08 Interface Connector J3
The MON08 interface connector, J3 (Table 3-4), is used when the MCU is
mounted on the target. Refer to Section 4 Using the MON08 for detailed
information.
Table 3-4 J3 MON08 Target Connector Pin Assignment
Descriptions
Pin
No. Schematic Direction Signal Description
1 RST_OUT* Out Reset signal to target
2Common
3 RST_IN* In Reset signal from target
4RST* OutTo MCU
5 TGT_IRQ Out Interrupt request to target MCU
6 IRQ* IN External interrupt request
7Not
Connected
8Not
Connected
9 TGT_PTA0 Bidirectional General purpose I/O
10 PTA0 Bidirectional General purpose I/O
11 TGT_PTC0 Bidirectional General purpose I/O
12 PTC0 Bidirectional General purpose I/O
13 TGT_PTC1 Bidirectional General purpose I/O
14 PTC1 Bidirectional General purpose I/O
15 TGT-PTC3 Bidirectional General purpose I/O
16 PTC3 Bidirectional General purpose I/O
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Connector Signal Definitions
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 39
3.4.4 Power Connector P1 Pin Assignments
Figure 3-2. P1 Power Connector
Table 3-5. Power Connector P1 Pin Assignment Descriptions
Pin
No. Mnemonic Signal
1VCC
+5 VDC POWER Input voltage (+5 Vdc @ 1.0 A) from the provided
power supply used by the ABICS logic circuits
2 GND Common
3 GND Common
GND
+5 Vdc
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
40 Support Information MOTOROLA
Support Information
3.4.5 Host Computer - ABICS Interconnection (P2)
The host computer to ABICS interface is via the single system connector P2
(Figure 3-2), which is a 9-pin, D-type connector (Amp part number
AMP-9726-A) (Table 3-7).
Connection requires the cable assembly supplied with your ABICS kit, a
DB9-male-to-female, 6-ft. (3 m) long serial cable.
Figure 3-3. P2 Host Computer to ABICS Interconnection
RXD
TXD
GND
1
2
3
4
5
6
7
8
9
DTR
Table 3-6 RS-232C Communication Connector P2 Pin Assignment Descriptions
Pin
No. Mnemonic Signal
2 RXD RECEIVE DATA Output for sending serial data to the DTE device
3TXD
TRANSMIT DA T A Input for receiving serial data output from the DTE
device
4DTR
DATA TERMINAL READY Input for receiving
on-line/in-service/active status from the DTE device
5 GND Common
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
Parts List
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 41
3.5 Parts List
Table 3-7. ABICS Parts List (Sheet 1 of 2)
Reference
Designator Description Manufacturer Part Number
C1 Capacitor, 100pF AEC Z5U-101
C2, C3, C4, C7, C17 Capacitor, 10uF Truth 85C +80-20%
C5, C6, C9, C10,
C11, C13, C14, C15,
C16, C18 Capacitor, 0.1 uF AVX SR215E104MAA
C12 Capacitor,.001uF, ceramic AEC Z5U-102
D1 1A 20V Schottky Rectifier MOTOROLA 1N5817
D2 Zener Transi ent Volt age
Suppressors MOTOROLA SA 5.0
D3, D4, D5, D6, D9,
D10, D11, D12,
D13, D14 Diode SEMTECH 1N4148
D7 LED KINGBRIGHT L-934YD
D8 LED KINGBRIGHT L-934GD
F1 FUSE BUSSMAN GMA 1.5A 250V
J2, J1 Header, 2x20, 200, Target Head MOBICON PHDS-40G1
J3 Header, 2x8, 100, MON08 MOBICON PHDS-16G1
P1 Power Jack WEALTH DS-210A
P2 Connector DB9 MOBICON DB9SR
P3 Power Terminal RDI 2SV-02
Q1, Q2, Q8 Transistor, PNP MOTOROLA BC557B
Q3, Q5, Q6, Q7, Q9,
Q10, Q11, Q12, Q13,
Q15 Transistor, NPN MOTOROLA BC54 7B
Q4 TMOS Power FET, N-Channel
Enhancement-Mode Silicon Gate MOTOROLA MTD3055EL
Q14 Transistor, NPN MOTOROLA MPS236 9A
R1 resistor, 0.1R, 5% UNION 1/4W 5% MF
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
42 Support Information MOTOROLA
Support Information
R2, R3, R6, R7, R8,
R9, R16 Resistor, 100K, 5% UNION 1/4 W 5% CF
R4, R5, R34, R35,
R41 Resistor, 1K, 5% UNION 1/4 W 5% CF
R10 Resistor, 1M, 5% UNION 1/4 W 5% CF
R13, R14, R15, R17,
R18, R19, R20, R21,
R24, R25, R26, R30,
R31, R32, R33, R37,
R38, R39, R40, R42
Resistor, 10K, 5% UNION 1/4 W 5% CF
R22 Resistor, 2K, 5% UNION 1/4 W 5% CF
R28, R29 Resistor, 470K, 5% UNION 1/4 W 5% CF
U1 Single Operational Amplifier MOTOROLA MC33172
U2 EIA-232/V.28 CMOS
Driver/Receiver MOTOROLA MC145407
U5 CMOS Quad 2-input Analog
Multiplexer MOTOROLA MC14551
U6 Monolithis WFR, Binary Counter MOTOROLA MC74HC4020
U7 Non-inverting 3- State Buffer MOTOROLA MC74HC125
W3 Header, 3x1, 100 3M 2403-6112TG
W4, W5, W6, W7,
W8, W9, W10 Header, 2x1, 100 3M 2402-6112TG
XU1 Socket, 68HC908AB32FU64 YAMAICHI 1C51-0644-892
Y1 4.9152 MHz Oscillator HOSONIC HO-12C4.9152M
XF1 Fuse Clip, 5mm Diameter LITTLEFUSE 100-54
Z1-Z4 Rubber Adhesive Bumpers SPC TECHNOLOGY 2565
Z5-Z10 .100 Jumper Shunt 3M 929951-00
Table 3-7. ABICS Parts List (Sheet 2 of 2)
Reference
Designator Description Manufacturer Part Number
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Support Information
ABICS Board Layout and Schematic Diagrams
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Support Information 43
3.6 ABICS Board Layout and Schematic Diagrams
Figure 3-4 ABICS Board Layout
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
* DENOTES ACTIVE-LOW SIGNAL
[ ] DENOTE VECTORED SIGANLS
INTERRUPTED LINES CODES WITH THE
SAME LETTER OR LETTER COMIBINATIONS
ARE ELECTRICALLY CONNECTED.
4.
NOTES:
INTERPRET DIAGRAM IN ACCORDANCE
WITH AMERICAN NATIONAL STANDARDS
INSTITUTE SPECIFICATIONS, CURRENT
REVISION, WITH THE EXCEPTION OF LOGIC
BLOCK SYMBOLOGY.
DEVICE TYPE NUMBER IS FOR REFERENCE
ONLY. THE NUMBER VARIES WITH THE
MANUFACTURER.
5.
RESISTANCE VALUES ARE IN OHMS.
RESISTORS ARE 1/4 WATT, 5%
CAPACITANCE VALUES ARE IN
MICROFARADS
1. UNLESS OTHERWISE SPECIFIED:
SPECIAL SYMBOL USAGE:
2.
COMPUTER GENERATED DRAWING : DO NOT REVISE MANUALLY
3.
DATEZONE
A
APPROVEDREV
REVISIONS
Modified after testing
0
DESCRIPTION
3-Dec-1999Original Revision
15-Jan-2000
27-Mar-2000BAdd buffer at MON08
Connector
CHANGES:
8 JUNE 2000: R13 on page 3, 10K -> 5K, reference ECO20
Correct port direction of off-page connector RST*, RST_IN*
B
AB32 In-Circuit Simulator - ABICS
71
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
4 4
3 3
2 2
1 1
PTA0
Decoupling capacitors for ICs
All capacitors are 0.1uF @
50V
B
AB32 In-Circuit Simulator - Monitor Mode Circuit
72
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
IRQ* VTST_IRQ
TGT_IRQ*
VTST_RST
RST*
RST_OUT*
PTC3
OSC1
PTC0
TGT_PTC1
TGT_PTC3
PTC1
TGT_PTC0
PGMRL
RST_IN*
PTA0
VDDLVDD
LVDD
LVDD LVDD
LVDD
VDD
LVDD
LVDD
+
C9
0.1uF
R33
10K
Q8
BC557
1
2
3
Q13
BC547
1
2
3
TP1
VTST_IRQ
1
U7D
74HC125A
1211
13
Q15
BC547
12
3
Q7
BC547
1
2
3
R39
10K
D13
1N4148
2 1
D9
1N4148
21
U6
74HC4020
10
11
9
7
5
4
6
13
12
14
15
1
2
3
16
8
CLK
RST
Q1
Q4
Q5
Q6
Q7
Q8
Q9
Q10
Q11
Q12
Q13
Q14
VDD
VSS
R42
10K
D12
1N4148
2 1
D6
1N4148
2 1
D4
1N4148
2 1
D5
1N4148
2 1
R18
10K
R20
10K
R30
10K
U7C
74HC125A
98
10
R40
10K
D3
1N4148
21
R31
10K
TP2
VTST_RST
1
R32
10K
D11
1N4148
2 1
R38
10K
+
C10
0.1uF
D10
1N414821
+
C18
0.1uF
C12
.001uF
R37
10K
Q12
BC547
1
2
3
U7A
74HC125A
2 3
14
1
7
+
C6
0.1uF
+
C14
0.1uF
R19
10K
U7B
74HC125A
56
4
U5
MC14551
15
1
2
3
6
10
11
12
9
14
4
5
13
16
8
7
W0
W1
X0
X1
Y0
Y1
Z0
Z1
CTL
W
X
Y
Z
VDD
VSS
VEE
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
4 4
3 3
2 2
1 1
+5V SUPPLY
OUTPUT
VDD FROM TARGET
VDD SUPPLY
(3 - 5V)
PC
FEMALE
B
AB32 In-Circuit Simulator - Power Supply
73
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
DTR
pcRXD
pcTXD
PTA0
VTST_IRQ
VTST_RST
PGMRL
PGMRL
VDD
VDD
VDD
VDD
VDD
VDD
EVDD
LVDD
LVDD
R2 100K
P2
CONNECTOR DB9
5
9
4
8
3
7
2
6
1
R25
10K
R1
0.1
R8
100K
R24
10K
R4
1K
R26
10K
R5
1K
Q3
BC547
1
23
C1 100pF
W9
PWR_ON
1
2
R21
10K
D14
1N4148
21
Q10
BC547
1
2
3
R9
100K
R6
100K
R41
1K
U2
MC145407
20
18
1
3
15
16
13
14
11
12
19
17
4
2
6
5
8
7
10
9
C1 +
C1 -
C2 +
C2 -
DI1
DO1
DI2
DO2
DI3
DO3
VCC
VDD
VSS
GND
TX1
RX1
TX2
RX2
TX3
RX3
R7
100K
F1
FUSE
1 3
2 4
P1
PWR_JACK
1
2
3
+
C17
10uF
20V
Q9
BC547
1
2
3
TP3
MCU_VDD
1
Q2
BC557
1
23
Q1
BC557
12
3
Q4
MTD3055EL
2 3
1
Q6
BC547
12
3
D2
SA5.0
2 1
D1
1N5817
2 1
D8
LED
GREEN
21
+
-
U1A
MC33172
3
21
84
R29
470
+
C7
10uF
20V
+
C2
10uF
20V
+
C3
10uF
20V
+
C4
10uF
20V
R28
470
D7
LED
YELLOW
21
Q5
BC547
1
23
R22
2K7
R3
100K
W10
EVDD
1
2
P3
PWR_TERMINAL
1
2
R10
1M
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
4 4
3 3
2 2
1 1
B
AB32 In-Circuit Simulator - Power-On Reset and OSC
74
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
SP_OSC
RST*
VDD
VDDLVDD
LVDDVDD
R15
10K
Q14
MPS2369A
3
2
1
R35
1k
C11
0.1uF
Q11
BC547
1
23
R14
10K
+
-
U1B
MC33172
5
67
84
R13
5K
R17
10K
R16
100K
+
C5
0.1uF
Y1
4.9152MHz
1
7
14
8
NC
GND
VCC
OUT
R34
1k
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
4 4
3 3
2 2
1 1
B
AB32 In-Circuit Simulator - MCU Socket
75
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
PTA1
PTA2
PTA3
PTA4
PTA5
PTA6
PTA7
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7
PTD0
PTD1
PTD2
PTD3
PTD4
PTD5
PTD6
PTD7
PTH1
PTH0
PTG2
PTG1
PTG0
PTE7
PTE6
PTE5
PTE4
PTE3
PTE2
PTE1
PTE0
PTF6
PTF5
PTF7
PTF4
PTF3
PTF2
PTF1
PTF0
PTC2
PTC4
PTC5
VDDAREF
VREFH
AVSS/VREFL
IRQ*
RST*
OSC1
PTA0
PTA[1..7]
PTB[0..7]
PTD[0..7]
PTH[0..1]
PTC0
PTC3
PTC1
PTG[0..2]
PTE[0..7]
PTF[0..7]
PTC[2..5]
LVDDLVDD
XU1
MC68HC908AB32FU
3
4
15
7
8
10
11
12
13
14
19
21
22
23
24
25
26
27
28
30
56
55
54
53
52
51
49
48
42
47
46
45
44
43
41
39
38
37
36
35
9
6
1
2
5
16
17
18
20
29
31
40
34
3332
50
57
58
59
60
61
62
63
64
RST
PTF0/TACH2
PTE2/TACH0
PTF3/TBCH3
PTF4/TBCH0
PTF7
PTF5/TBCH1
PTF6
PTE0/TxD
PTE1/RxD
PTE6MOSI
VSS
VDD
PTG0/KBD0
PTG1/KBD1
PTG2/KBD2
PTA0
PTA1
PTA2
PTA4
VSSA
VDDA
VREFH
PTD7
PTD6/TACLK
PTD5
PTH1/KBD4
PTH0/KBD3
PTD0
PTD3
PTD2
VSSAD
VDDAD
PTD1
PTB7/ATD7
PTB5/ATD5
PTB4/ATD4
PTB3/ATD3
PTB2/ATD2
PTB1/ATD1
NC
PTF2/TBCH2
PTC4
IRQ1
PTF1/TACH3
PTE3/TACH1
PTE4/SS
PTE5/MISO
PTE7/SPSCK
PTA3
PTA5
PTB6/ATD6
PTB0/ATD0
PTA7PTA6
PTD4/TBCLK
CGMXFC
OSC2
OSC1
PTC0
PTC1
PTC2/MCLK
PTC3
PTC5
C15
0.1UF
+
C16
0.1uF
+
C13
0.1uF
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
4 4
3 3
2 2
1 1
B
AB32 In-Circuit Simulator - Target Connector
76
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
PTA7
PTA6
PTA5
PTA4
PTA3
PTA2
PTA1
PTG2
PTG1
PTG0
PTF5
PTF7
PTF4
PTF3
PTF2
PTF1
PTF0
PTF6
PTC4
PTC2
TGT_PTC3
TGT_PTC0
TGT_PTC1
PTC5
PTB6
PTB2
PTE7
PTD2
PTB4
PTD0
PTE2
PTB7
PTD5
PTD4
PTH1
PTE6
PTD3
PTE4
PTE1
PTB3
PTD1
PTH0
PTD7
PTB0
PTE3
PTE5
PTB1
PTD6
PTE0
PTB5
TGT_PTA0
TGT_PTC0
TGT_PTC1
TGT_PTC3
PTA[1..7]
OSC1
PTH[0..1]
PTB[0..7]
PTD[0..7]
TGT_AVSS/VREFL
TGT_VDDAREF
PTG[0..2]
PTE[0..7]
PTF[0..7]
TGT_IRQ*
RST_OUT*
SP_OSC
PTC[2..5]
TGT_PTA0
TGT_VREFH
TGT_PTC0
TGT_PTC1
TGT_PTC3
AVSS/VREFLVDDAREFVREFH
TGT_VREFH TGT_VDDAREF TGT_AVSS/VREFL
RST_IN*
EVDDVDD
LVDDLVDD
LVDD
W7
VDDAREF
1
2
3
1
2
3
W5
OSC
1
2
W4
TGT_OSC
1
2
W8
AVSS
1
2
3
1
2
3
W6
VREFH
1
2
3
1
2
3
J1
40-Pin Connector
1 2
3
54
76
9
11
8
13
10
15
17
12
19
14
21
23
16
25
18
27
29
20
31
22
33
35
24
37
26
39
28
30
32
34
36
38
40
J2
40-Pin Connector
1 2
3
54
76
9
11
8
13
10
15
17
12
19
14
21
23
16
25
18
27
29
20
31
22
33
35
24
37
26
39
28
30
32
34
36
38
40
W3
TGT_RST*
1
23
1
2
3
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
TGT_PTA0
RST*
PTC3
RST_OUT*
RST_IN*
PTC1
TGT_IRQ*
PTC0
IRQ*
TGT_PTC1
TGT_PTC0 PTA0
GND
TGT_PTC3
B
AB32 In-Circuit Simulator - MON08 Connector
77
B
Edward Chui
C.H. Choy 4/11/00
4/11/00
Title
Document Number Rev
Sheet of
THIS DOCUMENT CONTAINS INFORMATION FROM
MOTOROLA AND SHALL NOT
BE USED FOR ENGINEERING DESIGN,
PROCUREMENT OR MANUFACTURE IN WHOLE
OR IN PART WITHOUT CONSENT OF
MOTOROLA
DRAWN:
CHECKED:
APPROVED:
DATE:
DATE:
DATE:
Size
TGT_PTC0
TGT_PTA0
TGT_PTC1
TGT_PTC3 PTC3
PTC0
PTC1
PTA0
RST*
IRQ*
RST_OUT*
RST_IN*
TGT_IRQ*
J3
MONO8 CONNECTOR
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Using the MON08 Interface 45
Users Manual M68ICS08AB In-Circuit Simulator
Section 4. Using the MON08 Interface
4.1 Introduction
The MON08 debugging interface may be used to debug and program a target
systems MCU directly. The target system must be connected to the ABICS
boards MON08 interface connector. This section explains how to connect to
the MON08 interface on the target board.
4.2 Target System Header Placement and Layout
Two headers must be placed on the target board:
P1 16-pin header such as Berg Electronics part number 67997-616
P2 1-pin header such as Berg Electronics part number 68001-601
Table 4-1 and Table 4-2 show the target-system interconnections for P1 and
P2.
Table 4-1. MON08 Target System Connector P1
Pin
No. M68ICS08AB
Label Direction Target System Connection
1RST
-OUT Out to target Connect to logic that is to receive the RST signal.
2 GND Ground Connect to common (VSS).
3RST-IN In from target Connect to all logic that generates resets.
4RST
Bidirectional Connect to MCU RST pin and P1 pin 1. No other target-system
logic should be tied to this signal. It will swing from 0 to +7.5 Vdc.
5TGT-
IRQ In from target Connect to logic that generates interrupts.
6IRQ
Out to target Connect to MCU IRQ pin. No other target-system logic should be
tied to this signal. It will swing from 0 to +7.5 Vdc.
7NC
8NC
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
46 Using the MON08 Interface MOTOROLA
Using the MON08 Interface
4.3 Connecting to the In-Circuit Simulator
Using the 16-pin cable provided with the ABICS kit, connect one end of the
cable to the ABICS board at J3. Connect the other end to connector P1 on the
target-system board. The pin-1 indicators on each cable end must correspond to
the pin-1 indicators on the headers. P2 is not used when connecting to the
ABICS board.
9 TGT-PTA0 Bidirectional Connect to user circuit that would normally be connected to PTA0
on the MCU. This circuit will not be connected to the MCU when
the in-circuit simulator is being used.
10 PTA0 Bidirectional Connect to MCU PTA0 pin. No other target-system logic should be
tied to this signal. Host I/O present on this pin.
11 TGT_PTC0 Bidirectional Connect to user circuit that would normally be connected to
PTC0 on the MCU.
12 PTC0 Bidirectional Connect to MCU PTC0 pin. No other target-system logic
should be tied to this signal. Held at Vdd during reset and for
256 cycles after reset.
13 TGT-PTC1 Bidirectional Connect to user circuit that would normally be connected to
PTC1 on the MCU.
14 PTC1 Bidirectional Connect to MCU PTC1 pin. No other target-system logic
should be tied to this signal. Grounded during reset.
15 TGT-PTC3 Bidirectional Connect to user circuit that would normally be connected to
PTC3 on the MCU.
16 PTC3 Bidirectional Connect to MCU PTC3 pin. No other target-system logic
should be tied to this signal. Grounded during reset.
Table 4-1. MON08 Target System Connector P1 (Continued)
Pin
No. M68ICS08AB
Label Direction Target System Connection
Table 4-2. MON08 Target System Connector P2
Pin
No. M68ICS08AB
Label Direction Target System Connection
1RST
Bidirectional Connect to MCU RST pin and P2 pin 4. No other target system
logic should be tied to this signal. It will swing from 0 to +7.5 Vdc.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Using the MON08 I nterface
Disabli ng the Targ et- S ystem Inter fac e
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Using the MON08 Interface 47
4.4 Disabling the Target-System Interface
To use the target system in a stand-alone fashion (without the ABICS board
connected), jumper the pins on the target boards connectors, as shown in
Figure 4-1. This reconnects the target MCU to the appropriate circuits on the
target system.
Figure 4-1. Target System Stand-Alone Connection
For production boards, a further enhancement of this scheme would be to
include cutable traces between the pins of P1 and P2, as shown in Figure 4-1.
The traces may be cut when debugging is necessary. To return the board to
stand-alone use, jumpers may be installed as shown.
P1
12
15 16
P2
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
48 Using the MON08 Interface MOTOROLA
Using the MON08 Interface
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 49
Users Manual M68ICS08AB In-Circuit Simulator
Appendix A. S-Record Information
A.1 Introdu ct i on
The Motorola S-record format was devised to encode programs or data files in
a printable format for transport between computer platforms. The format also
provides for editing of the S records and monitoring the cross-platform transfer
process.
A.2 S-Record Contents
Each S record is a character string composed of several fields which identify:
Record type
Record length
Memory address
Code/data
Checksum
Each byte of binary data is encoded in the S record as a 2-character hexadecimal
number:
The first character represents the high-order four bits of the byte.
The second character represents the low-order four bits of the byte.
The five fields that comprise an S record are shown in Table A-1.
The S-record fields are described in Table A-2.
Table A-1. S-Record Fields
Type Record
Length Address Code/Data Checksum
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
50 S-Record Information MOTOROLA
S-Record Informatio n
Each reco rd may be terminated wi th a CR/LF/NULL. Additionally, a n S record
may have an initial field to accommodate other data such as line number
generated by some time-sharing systems.
Accuracy of transmission is ensured by the record length (byte count) and
checksum fields.
A.3 S-Record Types
Eight types of S records have been defined to accommodate the several needs
of the encoding, transport, and decoding functions. The various Motorola
upload, download, and other record transport control programs, as well as cross
assemblers, linkers, and other file-creating or debugging programs, util ize only
those S records which serve the purpose of the program.
For specific information on which S records are supported by a particular
program, consult the user manual for the program.
Table A-2. S-Record Field Contents
Field Printable
Characters Contents
Type 2 S-record type S0, S1, etc.
Record
Length 2Character pair count in the record, excluding the
type and record length.
Address 4, 6, or 8 2-, 3-, or 4-byte address at which the data field is
to be loaded into memory.
Code/Data 0 2n
From 0 to n bytes of executable code, memory
loadable data, or descriptive information. For
compatibility with teletypewriter, some programs
may limit the number of bytes to as few as 28
(56 printable characters in the S record).
Checksum 2
Least significant byte of the ones complement of
the sum of the values represented by the pairs of
characters making up the record length,
address, and the code/data fields.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
S-Record Information
S Record Creation
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 51
NOTE: The ICS08ABZ supports only the S0, S1, and S9 record types. All data before
the S1 record is ignored. Thereafter, all records must be S1 type until the S9
record, which terminates data transfer.
An S-record format may contain the record types in Table A-3.
Only one termination record is used for each block of S records. Normally, only
one header record is used, although it is possible for m ultiple header records to
occur.
A.4 S Record Creation
S-record format programs may be produced by dump utilities, debuggers, cross
assemblers, or cross linkers. Several programs are available for downloading a
file in the S-record format from a host system to an 8- or 16-bit
microprocessor-based system.
A.5 S-Record Example
A typical S-record format, as printed or displayed, is shown in this example:
Example:
Table A-3. Record Types
Record Type Description
S0 Header record for each block of S records. The code/data field
may contain any descriptive information identifying the following
block of S records. The address field is normally 0s.
S1 Code/data record and the 2-byte address at which the code/data
is to reside.
S2 S8 Not applicable to ICS08ABZ
S9
Termination record for a block of S1 records. Address field may
optionally contain the 2-byte address of the instruction to which
control is to be passed. If not specified, the first interplant
specification encountered in the input will be used. There is no
code/data field.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
52 S-Record Information MOTOROLA
S-Record Informatio n
S00600004844521B
S1130000285F245F2212226A00042429008237C2A
S11300100002000800082529001853812341001813
S113002041E900084#42234300182342000824A952
S107003000144ED492
S9030000FC
In the example, the format consists of:
An S0 header
Four S1 code/data records
An S9 termination record
A.5.1 S0 Header Record
The S0 header record is described in Table A-4.
A.5.2 First S1 Record
The first S1 record is described in Table A-5.
Table A-4. S0 Header Record
Field S-Record
Entry Description
Type S0 S-record type S0, indicating a header record
Record
Length 06 Hexadecimal 06 (decimal 6), indicating six
character pairs (or ASCII bytes) follow
Address 00
00 4-character, 2-byte address field; zeroes
Code/Data 48
44
52
Descriptive information identified these S1
records:
ASCII H
D
R — “HDR
Checksum 1B Checksum of S0 record
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
S-Record Information
S-Record Example
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 53
The 16 character pairs shown in the code/data field of Table A-5 are the ASCII
bytes of the actual program.
The second and third S1 code/data records each also contain $13 (19T)
character pairs and are ended with checksum 13 and 52, respectively. The fourth
S code/data record contains 07 character pairs and has a checksum of 92.
A.5.3 S9 Termination Record
The S9 termination record is described in Table A-6.
Table A-5. S1 Header Record
Field S-Record
Entry Description
Type S1 S-record type S1, indicating a code/data record
to be loaded/verified at a 2-byte address
Record
Length 13 Hexadecimal 13 (decimal 19), indicating 19
character pairs, representing 19 bytes of binary
data, follow
Address 0000 4-character, 2-byte address field; hexadecimal
address 0000 indicates location where the
following data is to be loaded
Code/Data
Opcode Instruction
28
24
22
22
00
29
08
5F
5F
12
6A
04
00
23
24
7C
BHCC
BCC
BHI
BHI
BRSET
BHCS
BRSET
$0161
$0163
$0118
$0172
0, $04, $012F
$010D
4, $23, $018C
Checksum 2A Checksum of the first S1 record
Table A-6. S9 Header Record
Field S-Record
Entry Description
Type S9 S-record type S9, indicating a termination record
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
54 S-Record Information MOTOROLA
S-Record Informatio n
A.5.4 ASCII Characters
Each printable ASCII character in an S record is encoded in binary. Table A-5
gives an example of e nc oding for the S1 rec ord. The binary data is transmitt ed
during a download of an S record from a host system to a 9- or 16-bit
microprocessor-based system. For example, the first S1 record in Table A-5 is
sent as shown here.
Record
Length 03 Hexadecimal 04, indicating three character pairs
(three bytes ) follow
Address 00
00 4-character, 2-byte address field; zeroes
Code/Data Ther e is no code/d ata in an S9 record.
Checksum FC Checksum of S9 record
Table A-6. S9 Header Record
Field S-Record
Entry Description
TYPE LENGTH ADDRESS CODE/DATA ... CHECKSUM
S1130000285F
... 2A
533131333030303032383546... 3241
0101 0011 0011 0001 0011 0001 0011 0011 0011 0000 0011 0000 0011 0000 0011 0000 0011 0010 0011 1000 0011 0101 0100 0110 ... 0011 0010 0100 0001
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 55
Users Manual M68ICS08AB In-Circuit Simulator
Appendix B. Quick Start Hardware Configuration Guide
B.1 Introdu ct i on
This quick start guide explains the:
Configuration of the M68ICS08AB in-circuit simulator (ABICS) board
Installation of the hardware
Connection of the board to a target system
There are four methods for configuring the ABICS: standalone, simulation,
evaluation, and programming.
Standalone ICS08MRZ.exe is running on the host computer (the
ABICS is not connected). Emulation of the MC68HC908AB32 MCU,
registers, and I/O ports is within the host computer environment.
Simulation Host computer is connected to the ABICS via the RS-232
cable, and the ICS08MRZ.exe is running on the host computer. This
provides access to the MC68HC908AB32 MCU, internal registers, and
I/O ports.
Evaluation Host computer is connected to the ABICS, and the ABICS
is connected to the target system via the flex cable. This method provides
limited real-time evaluation of the MCU and debugging user developed
hardware and software.
Programming Host computer is connected to the ABICS, and the
ABICS is connected to the target system via the MON08 cable. Use the
PROG08SZ.exe to program the MCU FLASH module. In the
programming mode there is limited evaluation.
ESD CAUTION: Ordinary amounts of static electricity from clothing or the work environment
can damage or degrade electronic devices and equipment. For example, the
electronic components installed on the printed circuit board are extremely
sensitive to electrostatic discharge (ESD). Wear a grounding wrist strap
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
56 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
whenever handling any printed circuit board. This st rap provides a conductive
path for safely discharging static electricity to ground.
B.1.1 ABICS Configurable Jumper Headers
Configure the seven jumper headers on the ABICS for your application
according to the tables in this section.
Table 4-3 ABICS Jumper Header Description
Jumper
Header
(No W1 & W2)
Type
(Factory
Default Shown) Description
W3
Target Reset
Select
Jumper on position 1&2: RST_IN from target resets on-board ripple
counters and MCU.
Jumper on position 2&3: ICS RST_OUT (from RST#) resets target.
W4
TGT_OSC No Jumper:
Jumper: Connects OSC1 input to OSC input of target adapter.
W5
OSC No Jumper: No effect.
Jumper: Selects on-board oscillator.
W6
VREFH
Jumper on position 1&2: Selects on-board VDD as ADC reference high
signal.
Jumper on position 2&3: Selects VREFH signal from target as ADC
reference high signal.
W7
VDDAREF
Jumper on position 1&2: Selects on-board VDD as ADC power supply.
Jump er on p o si ti o n 2& 3: S e le cts VD D AREF signal f r om t a rg et as ADC
power supply.
W8
AVSS
Jumper on position 1&2: Selects on-board GND as ADC ground and
reference voltage .
Jumper on position 2&3: Selects AVSS/VREFL signal from target as
ADC grpimd amd reference voltage.
W9
PWR_ON No Jumper: DTR turns on regulator.
Jumper: Disable DTR control; board always on.
3
1
1
2
1
2
3
1
3
1
3
1
1
2
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Quick Start Hardware Configuration Guide
Installing the H ardware
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 57
B.1.2 Target Interface Cable Connections
Below (Table 4-4) is a quick reference for defining the cable/connector setup to
use with the MC68HC908AB32
Table 4-4 Cable/Connector Options for MCUs
B.1.3 Host Computer ABICS Interconnection (P2)
Connect the DB9 serial cable. Connect one end of this cable to your host PC and
the other end to connector P2 on the ABICS board.
B.2 Installing the Hardware
For installing Motorola development tools, the following steps provide
installation instructions for the ABICS hardware.
To prepare the ABICS for use with a host PC:
1. Install an MCU into the M68ICS08AB board.
Install an MCU (provided with the ABICS package) into the
M68ICS08AB board in the appropriate socket, observing the pin 1
orientation with the silkscreened dot. The top (label side) of the MCU
package must be visible when looking at the component side of the
board.
2. Connect the board to the host PC.
W10
EVDD No Jumper: Pin 1 is target powere used as reference input.
Jumper: Pin 2 is GND.
Jumper
Header
(No W1 & W2)
Type
(Factory
Default Shown) Description
1
2
MCU Flex Cable MON08
Cable
MC68HC908AB32 J1 and J2 J3
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
58 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
Locate the 9-pin connector labeled P2 on the board. Using the cable
provided, connect it to a serial COM port on the host PC.
3. Apply power to the board.
Connect the 5-volt power supply to the round connector on the board, P1.
Plug the power supply into an ac power outlet, using one of the
country-specific adapters provided. The ICS power LED on the board
lights.
B.3 Installi ng the Software
For instructions for installing the ICS08 software, refer to P&E Microcomputer
Systems, Inc., M68ICS08HC08 In-Circuit Simulator Operator’s Manual,
Motorola document order number M68ICS08SOM/D, and you may refer to
http://www.pemicro.com/ics08/index.html#docs.
B.4 Connecting to a Target System
The two ways to connect the M68ICS08AB simulator board to a target system
are via:
The flex cable
The MON08 cable
Connect the simulator board to the target system using one of these methods:
Using a flex cable
When emulating an MC68HC908AB MCU, connect the 80-pin
M68CBL05C flex cable (provided with the kit) to the connectors labeled
J1 and J2 on the simulator board. Attach the other end of the cable to the
appropriate connector on the target system. Target head adapters are
available for the 64-pin QFP versions of the MCU.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Quick Start Hardware Configuration Guide
Connecting to a Target System
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 59
Using a MON08 cable
Connect the MON08 debug interface cable to the MON08 debug
interface connector J3 for communication with the target systems MCU.
The MON08 cable lets you program and debug the target systems MCU
FLASH. An MCU must be installed in the target system, and there
should be no MCU installed in the ABICS.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
60 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Glossary 61
Users Manual M68ICS08AB32 In-Circuit Simulator
Glossary
8-bit MCU A microcontroller whose data is communicated over a data bus
made up of eight separate data conductors. Members of the
MC68HC908 Family of microcontrollers are 8-bit MCUs.
A An abbreviation for the accumulator of the MC68HC908AB32 MCU.
accumulator An 8-bit register of the MC68HC908AB32 CPU. The
contents of this register may be used as an operand of an arithmetic or
logical instruction.
assembler A software program that translates source code mnemonics into
opcodes that can then be loaded into the memory of a microcontroller.
assembly language Instruction mnemonics and assembler directives that
are meaningful to programmers and can be translated into an object
code program that a microcontroller understands. The CPU uses
opcodes and binary numbers to specify the operations that make up a
computer program. Humans use assembly language mnemonics to
represent instructions. Assembler directives provide additional
information such as the starting memory location for a program. Labels
are used to indicate an address or binary value.
ASCII American Standard Code for Information Interchange. A widely
accepted correlation between alphabetic and numeric characters and
specific 7-bit binary numbers.
breakpoint During debugging of a program, it is useful to run instructions
until the CPU gets to a specific place in the program, and then enter a
debugger program. A breakpoint is established at the desired address
by temporarily substituting a software interrupt (SWI) instruction for
the instruction at that address. In response to the SWI, control is passed
to a debugging program.
byte A set of exactly eight binary bits.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
62 Glossary MOTOROLA
Glossary
C An abbreviation for carry/borrow in the condition codes register of the
MC68HC908AB32. When adding two unsigned 8-bit numbers, the C
bit is set if the result is greater than 255 ($FF).
CCR An abbreviation for condition code register in the
MC68HC908AB32. The CCR has five bits (H, I, N, Z, and C) that can
be used to control conditional branch instructions. The values of the
bits in the CCR are determined by the results of previous operations.
For example, after a load accumulator (LDA) instruction, Z will be set
if the loaded value was $00.
clock A square wave signal that is used to sequence events in a computer.
command set The command set of a CPU is the set of all operations that
the CPU knows how to perform. One way to represent an instruction
set is with a set of shorthand mnemonics such as LDA meaning load A.
Another representation of an instruction set is the opcodes that are
recognized by the CPU.
condit ion code s r egister The CCR has five bits (H, I, N, Z, and C) that can
be used to control conditional branch commands. The values of the bit s
in the CCR are determined by the results of previous operations. For
example, after a load accumulator (LDA) instruction, Z will be set if
the loaded value was $00.
CPU Central processor unit. The part of a computer that controls execution
of instructions.
CPU cycles A CPU clock cycle is one period of the internal bus-rate clock.
Normally, this clock is derived by dividing a crystal oscillator source
by two or more so the high and low times will be equal. The length of
time required to execute an instruction is measured in CPU clock
cycles.
CPU registers Mem ory l oca tions t hat are wire d dir ect ly into th e CPU logic
instead of being part of the addressable memory map. The CPU always
has direct access to the information in these registers. The CPU
registers in an MC68HC908 are A (8-bit accumulator), X (8-bit index
register), CCR (condition code register containing the H, I, N, Z, and C
bits), SP (stack pointer), and PC (program counter).
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Glossary
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Glossary 63
cycles See CPU cycles.
data bus A set of conductors that are used to convey binary information
from a CPU to a memory location or from a memory location to a CPU;
in the MC68HC908AB32, the data bus is 8-bits.
development tools Software or hardware devices used to develop computer
programs and application hardware. Examples of software
development tools include text editors, assemblers, debug monitors,
and simulators. Examples of hardware development tools include
simulators, logic analyzers, and PROM programmers. An in-circuit
simulator combines a software simulator with various hardware
interfaces.
EPROM Erasable, programmable read-only memory. A non-volatile type
of memory that can be erased by exposure to an ultra-violet light
source. MCUs that have EPROM are easily recognized by their
packaging: a quartz window allows exposure to UV light. If an
EPROM MCU is packaged in an opaque plastic package, it is termed a
one-time-programmable OTP MCU, since there is no way to erase and
rewrite the EPROM.
EEPROM Electrically erasable, programmable read-only memory.
H Abbreviation for half-carry in the condition code register of the
MC68HC908AB32. This bit indicates a carry from the low-order four
bits of an 8-bit value to the high-order four bits. This status indicator is
used during BCD calculations.
I Abbreviation for interrupt mask bit in the condition code register of the
MC68HC908AB32.
index re gister An 8-bit CPU register in the MC68HC908AB32 that is used
in indexed addressing mode. The index register (X) also can be us ed as
a general-purpose 8-bit register in addition to the 8-bit accumulator.
input-output (I/O) Interfaces between a computer system and the external
world. For example, a CPU reads an input to sense the level of an
external signal and writes to an output to change the level on an
external signal.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
64 Glossary MOTOROLA
Glossary
instructions Instructions are operations that a CPU can perform.
Instructions are expressed by programmers as assembly language
mnemonics. A CPU interprets an opcode and its associated operand(s)
as an instruction.
listing A program listing shows the binary numbers that the CPU needs
alongside the assembly language statements that the programmer
wrote. The listing is generated by an assembler in the process of
translating assembly language source statements into the binary
information that the CPU needs.
LSB Least significant bit.
MCU – Microcontroller unit Microcontroller. A complete computer
system including CPU, memory, clock oscillator, and I/O on a single
integrated circuit.
MSB Most significant bit.
N Abbreviation for negative, a bit in the condition code register of the
MC68HC908AB32. In twos-complement computer notation, positive
signed numbers have a 0 in their MSB (most significant bit) and
negative numbers have a 1 in their MSB. The N condition code bit
reflects the sign of the result of an operation. After a load accumulator
instruction, the N bit will be set if the MSB of t he load ed value was a 1.
object code file A text file containing numbers that represent the binary
opcodes and data of a computer program. An object code file can be
used to load binary information into a computer system. Motorola uses
the S-record file format for object code files.
operand An input value to a logical or mathematical operation.
opcode A binary code that instructs the CPU to do a specific operation in a
specific way . The MC68HC908AB32 CPU recognizes 210 unique 8-bit
opcodes that represent addressing mode variations of 62 basic
instructions.
OTPROM A non-volatile type of memory that can be programmed but
cannot be erased. An OTPROM is an EPROM MCU that is packaged
in an opaque plastic package. It is called a one-time-programmable
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Glossary
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Glossary 65
MCU because there is no way to expose the EPROM to a UV light.
PC Abbreviation for program counter CPU register of the
MC68HC908AB32.
program counter The CPU register that holds the address of the next
instruction or operand that the CPU will use.
RAM Random access memory. Any RAM location can be read or written
by the CPU. The contents of a RAM memory location remain valid
until the CPU writes a different value or until power is turned off.
registers Memory locations that are wired directly into the CPU logic
instead of being part of the addressable memory map. The CPU always
has direct access to the information in these registers. The CPU
registers in the MC68HC908AB32 are A (8-bit accumulator), X (8-bit
index register), CCR (condition code register containing the H, I, N, Z,
and C bits), SP (stack pointer), and PC (program counter). Memory
locations that hold status and control information for on-chip
peripherals are called I/O and control registers.
reset Reset is used to force a computer system to a known starting point and
to force on-chip peripherals to known starting conditions.
S record A Motorola standard format used for object code files.
simulator A computer program that copies the behavior of a real MCU.
source code See source program.
SP — Abbreviation for stack pointer CPU register in the MC68HC908AB32
MCU.
source program — A text file containing instruction mnemonics, labels,
comments, and assembler directives. The source file is processed by an
assembler to produce a composite listing and an object file
representation of the program.
stack pointer A CPU register that holds the address of the next available
storage location on the stack.
TTL Transistor-to-transistor logic.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
66 Glossary MOTOROLA
Glossary
VDD — The positive power supply to a microcontroller (typically 5 volts dc).
VSS The 0-volt dc power supply return for a microcontroller.
Word A group of binary bits. Some larger computers consider a set of
16 bits to be a word but this is not a universal standard.
X Abbreviation for index register, a CPU register in the
MC68HC908AB32.
Z — Abbreviation for zero, a bit in the condition code register of the
MC68HC908AB32. A compare instruction subtracts the contents of the
tested value from a register. If the values were equal, the result of this
subtraction would be 0 so the Z bit would be set; after a load
accumulator instruction, the Z bit will be set if the loaded value was
$00.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Index
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Index 67
A
ABICS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 4
ABICS debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ABICS Hardware board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ABICS Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ABICS simulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ABICS software development package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ABICS Theory of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
ASCII
characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
C
cables
FLEX target
connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
CASM08Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 7
checksum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
command-line cross-assembler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
D
debuggers
ICD08SW
description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
MON08 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
drive space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
E
Evaluation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
examples
S records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Users Manual M68ICS08AB In-Circuit Simulator
Index
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
68 Index MOTOROLA
Index
F
FLASH memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5, 18
FLASH memory programming software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Flex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
flex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
flex target cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Four modes of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
function keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
H
hardware
installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9, 47
requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
hotkeys. See function keys
humidity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
I
ICD08SZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ICS PWR LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
ICS08ABZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 7
In-circuit debugging software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
In-circuit simulator hardware operators manual . . . . . . . . . . . . . . . . . . . . . . . 6
In-circuit simulator software operator’s manual . . . . . . . . . . . . . . . . . . . . . . . 6
In-circuit/stand-alone simulator software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Integrated development environment (IDE) software interface . . . . . . . . . . . . 7
L
LED
ICS power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
M
M68CLB05C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
MC68HC908AB32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 17
MC68HC908MR MCUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
MC68HC908RK2 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 6, 7, 17
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Index
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Index 69
Three operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MCU Subsystem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
MCU subsystem
board reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
device configuration selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
level translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
M68HC908RK2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
operating voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
variable selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
MCU subsystems
board reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
memory
address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
MON08. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 5, 7, 18
monitor mode, commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
monitor mode. See also MON08
MRICS
software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
O
on-board MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
operating systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
P
P&E Microcomputer Systems, Inc., M68ICS08HC08 In-Circuit Simulator Op-
erator’s Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
port A0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
power
requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
PROG08SZ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 7
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
R
RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 8
record length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
record type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
relative humidity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
70 Index MOTOROLA
Index
requirements
hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
host computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
operating system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
RS232 serial port 8
S
S records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41–46
security feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Serial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
serial port
connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
specifications, hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
S-record
content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
field contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
S0 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
S1 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
S9 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
termination record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Standalone. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
T
target system
cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
connecting to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 37, 39
connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22, 37
description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
MON08 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
stand-alone mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
temperature
operating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
storage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Index
M68ICS08AB In-Circuit Simulator Users Manual
MOTOROLA Index 71
W
Windows 95 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Windows 98 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
WINIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
WinIDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Users Manual M68ICS08AB In-Circuit Simulator
72 Index MOTOROLA
Index
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
M68ICS08ABUM/D
© Mo tor ol a, Inc. , 2000
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 which may be provided in Motorola data sheets and/or specifications can and do vary in different
applications and actual performance may vary over time. All operating parameters, including "Typicals" must be validated for each customer application by customers technical experts.
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 wher e perso nal i njury or death ma y occur. Should Buyer purchas e or use Mo torola produ cts for any such unintend ed or u nautho ri zed app licati on, Buyer sha l l indemni fy an d 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 injury or 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. Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
How to reach us:
USA/EUROPE/Locations Not Listed: Motorola Literature Distribution, P.O. Box 5405, Denver, Colorado 80217. 1-303-675-2140
or 1-800-441-2447. Customer Focus Center, 1-800-521-6274
JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center, 3-20-1, Minami-Azabu , Minato-ku, Tokyo 106-8573 Japan.
81-3-3440-8573
ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate,
Tai Po, N.T., Hong Kong. 852-26668334
Mfax, Motorola Fax Back System: RMFAX0@email.sps.mot.com; http://sps.motorola.com/mf ax/ ;
TOUCHTONE , 1-602-244-6609; US and Canada ONLY, 1-800-774-1848
HOME PAGE: http://motorola.com/sps/
Mfax is a trademark of Motorola, Inc.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...