M68ICS08KXUM/D
NON-DISCLOSURE AGREEMENT REQUIRED
M68ICS08KX
In-circuit Simulator Board
User’s Manual
User’s Manual M68ICS08KX In-circuit Simulator Board
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 http://mcu.motsps.com/documen tation
© Motorola, Inc., 2000; All Rights Reserved
Table of Contents
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Table of Contents 3
Sect ion 1. Gener al Inf orm a t ion
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 KXICS Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.1 KXICS Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.2.2 ICS Interface Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.3 Hardware and Software Requirements. . . . . . . . . . . . . . . . . . . . . . . . 13
1.4 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.5 About This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.6 Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Section 2. Preparation and Installation
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2 Hardware Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2.1 KXICS Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2.2 Configuring the KXICS Jumper Headers . . . . . . . . . . . . . . . . . . . 16
2.2.3 Installing an MCU on the KXICS . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.2.4 Connecting the KXICS to the host PC. . . . . . . . . . . . . . . . . . . . . . 18
2.2.5 Applying power to the KXICS. . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.2.6 Target Cable Interface Connection Options. . . . . . . . . . . . . . . . . . 19
2.3 Target Cable Interface Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3.1 Host Computer - KXICS Interconnection J6. . . . . . . . . . . . . . . . . 23
2.3.2 Power Connector J2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.4 Connecting the KXICS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.5 Connecting the KXICS to the Target System. . . . . . . . . . . . . . . . . . . 24
2.6 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Users Manual M68ICS08KX In-Circuit Simulator
Table of Conten ts
Users Manual M68ICS08KX In-Circuit Simulator
4 Table of Conten ts MOTOROLA
Table of Contents
Section 3. Support Information
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 MCU Subsystem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3 Level Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4 KXICS Theory of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4.1 Power Supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4.2 Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.4.3 Clock Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.4.4 Start-Up in Monitor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.5 KXICS Connector Signal Definitions. . . . . . . . . . . . . . . . . . . . . . . . . 32
3.5.1 Target Flex Cable Interface Connector J1 . . . . . . . . . . . . . . . . . . . 32
3.5.2 Target Ribbon Interface Connector J5. . . . . . . . . . . . . . . . . . . . . . 33
3.5.3 Target MONO8 Interface Connector J3. . . . . . . . . . . . . . . . . . . . . 34
3.5.4 Power Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.5.5 RS-232C Communication Connector, J6. . . . . . . . . . . . . . . . . . . . 36
3.6 Parts List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.7 KXICS Board Layout and Schematics Diagrams. . . . . . . . . . . . . . . . 40
Section 4. Using the MON08 Interface
4.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2 Target System Header Placement and Layout . . . . . . . . . . . . . . . . . . 41
4.3 Connecting to the In-Circuit Simulator . . . . . . . . . . . . . . . . . . . . . . . 42
Appendix A. S-Record Information
A.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
A.2 S-Record Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
A.3 S-Record Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
A.4 S Record Creation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
A.5 S-Record Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
A.5.1 S0 Header Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table of Contents
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Table of Contents 5
A.5.2 First S1 Record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
A.5.3 S9 Termination Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
A.5.4 ASCII Characters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Appendix B. Quick Start Hardware Configuration Guide
B.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
B.1.1 KXICS Configurable Jumper Headers. . . . . . . . . . . . . . . . . . . . . . 50
B.1.2 Target Interface Cable Connections. . . . . . . . . . . . . . . . . . . . . . . . 51
B.1.3 Host Computer KXICS Interconnection (J6) . . . . . . . . . . . . . . 51
B.2 Installing the Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
B.3 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
B.4 Connecting to a Target System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Glossary
Users Manual M68ICS08KX In-Circuit Simulator
6 Table of Conten ts MOTOROLA
Table of Contents
List of Figures
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA List of Figures 7
Figure Title Page
1-1 Motorola M68ICS08KX (KXICS) Board . . . . . . . . . . . . . . . . . . . . . 12
2-1 KXICS with SOIC-to-DIP Adapter. . . . . . . . . . . . . . . . . . . . . . . . . . 23
2-2 Host Computer to KXICS Interconnection . . . . . . . . . . . . . . . . . . . . 28
2-3 J2 Power Connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3-1 KXICS Board Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Users Manual M68ICS08KX In-Circuit Simulator
List of Figures
Users Manual M68ICS08KX In-Circuit Simulator
8 List of Figures MOTOROLA
List of Figures
List of Tables
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA List of Tables 9
Table Title Page
Table 1-1. KXICS Product Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 1-2. Hardware Connector Components . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 1-3. Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 1-4. KXICS Board Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 2-1 KXICS Jumper Header Description. . . . . . . . . . . . . . . . . . . . . . . . 21
Table 2-2. Cable/Connector Options for MCUs. . . . . . . . . . . . . . . . . . . . . . . 23
Table 2-3 J1 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 2-4 J5 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 2-5 J3 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 3-1 J1 Target Flex Connector Pin Assignments . . . . . . . . . . . . . . . . . . 36
Table 3-2 J5 Target Connector Pin Assignments . . . . . . . . . . . . . . . . . . . . . . 38
Table 3-3 J3 MONO8 Target Connector Pin Assignments . . . . . . . . . . . . . . 39
Table 3-4 Power Connector J2 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . 39
Table 3-5 RS-232C Communication Connector J6 Pin Assignments . . . . . . 40
Table 3-6. KXICS Parts List (Rev F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 4-1. MON08 Target System Connector J3 . . . . . . . . . . . . . . . . . . . . . . 45
Table 4-2 KXICS Jumper Header Description. . . . . . . . . . . . . . . . . . . . . . . . 54
Table 4-3 Cable/Connector Options for MCUs . . . . . . . . . . . . . . . . . . . . . . . 55
Users Manual M68ICS08KX In-Circuit Simulator
List of Tab les
Users Manual M68ICS08KX In-Circuit Simulator
10 List of Tables MOTOROLA
List of Tables
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA General Information 11
Users Manual M68ICS08KX In-Circuit Simulator
Section 1. General Informatio n
1.1 Introduction
This section provides general information about the Motorola M68ICS08KX
in-circuit simulator (KXICS).
The KXICS board (Figure 1-1) 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 MC68HC908KX8 microcontroller
(MCU).
The KXICS 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 KXICS can interface with any IBM Windows 95-based computer (or
later version) through connection of a single RS-232 serial port using a DE-9
serial cable.
Connection to the target system is accomplished by a ribbon cable, a Motorola
M68CLB05A flex cable, or a MONO8 cable. The ribbon cable or flex cable is
used when an MCU is resident on the KXICS for emulation or simulation, and
the MONO8 cable is used to debug or program a target systems MCU, directly,
when the MCU resides on the target hardware.
Users Manual M68ICS08KX In-Circuit Simulator
12 General Information MOTOROLA
General Information
Figure 1-1 Motor ola M68ICS08KX (KX ICS) Board
The KXICS 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 CASM08W
Programming FLASH memory with PROG08SZ
Simulating in-circuit and stand-alone MC68HC908KX8 MCU with
ICS08KXW 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:
General Information
Introduction
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA General Information 13
Loading code into RAM
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 KXICS as a standalone system without a
target board
Simulation using the KXICS as an in-circuit simulator/emulator
with a target cable
Evaluation - using the KXICS for real-time evaluation of the MCU
and to debug user developed hardware and software
Programming using the KXICS as a programmer
With the ICD08SZ debugging software, code can 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 ICS08KXZ 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 ICS08KXZ software on
the host computer lets the host computer become a simulator.
Users Manual M68ICS08KX In-Circuit Simulator
14 General Information MOTOROLA
General Information
With using the ICD08SZ debugging software, code can be run directly
out of the MCUs internal FLASH at real-time speeds.
Timing is accomplished with a 9.8304 MHz crystal
General Information
KXICS Components
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA General Information 15
1.2 KXICS Components
The complete KXICS system includes hardware, software, and documentation.
lists the KXICS product components.
Table 1-1. KXICS Product Components
Part Number Description
ICS08KX KXICS software development package
ICS08KXZ KXICS software simulator
ICD08SZ KXICS software debugger/emulation
MC68HC908KX8CP MCU (16-pin DIP package)
MC68HC908KX8CDW MCU (16-pin SOIC Package)
PA16 SO -08H- 3 SOIC-t o-DIP Soc k et Ada pter
M68CLB05A Flex tar get ca ble
KRISTA 22-122 Serial cable
FRIWO 11.8999-P5 Power supply
M68ICS08SOM/D In-circuit simulator software operators manual
M68ICS08KXHOM/D In-circuit simulator hardware operators manual
Users Manual M68ICS08KX In-Circuit Simulator
16 General Information MOTOROLA
General Information
1.2.1 KXICS Hardware
lists the KXICS hardware components.
1.2.2 ICS Interface Software
Windows-optimized software components are referred to, collectively, as the
KXICS software (part number ICS08KX). It is a product of P&E
Microcomputer Systems, Inc. and is included in the KXICS kit ().
Table 1-2. Hardware Connector Components
Components Description
XU1 Test socket for the Motorola MC68HC908KX8 MCU: 16-pin
DIP (dual in-line package)
J1 Two 2-row × 20-pin, 0.1-inch spacing connectors to connect
the KXICS to a target using the M68CLB05A flex cable
J2 +5 Vdc input voltage (VDD)
J3 One 2-row × 8-pin, 0.1-inch spacing connector to connect to a
remote target via the MON08 debug circuit.
J4 J4 is the clock output that may be used for synchronizing a
target or test equipment to the KXICS clock.
J5 One 2-row × 8-pin, 0.3-inch spacing dual in-line package (DIP)
socket to allow the KXICS to be connected to the target using
a ribbon cable
J6 RS-232 to interface KXICS to host computer serial connector
(DEKL-9SAT-F)
Table 1-3. Software Components
Components Description
WINIDE.EXE Integrated development environment (IDE) software
interface for editing and performing software or
in- circuit simulation
CASM08Z.EXE CASM08Z command-line cross-assembler
ICS08SZ.EXE In-circuit/stand-alone simulator software for the
MC68HC908KX8 MCU
PROG08SZ.EXE FLASH memory programming software
ICD08SZ.EXE In-circuit debugging software for limited, real-time
emulation
General Information
Hardwar e and Software Requ ir em ents
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA General Information 17
1.3 Hardware and Software Requirements
The KXICS 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
A serial port for communications between the KXICS and the host
computer
1.4 Specificati ons
Table 1-4 summarizes the KXICS 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. KXICS 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
Users Manual M68ICS08KX In-Circuit Simulator
18 General Information MOTOROLA
General Information
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 19
Users Manual M68ICS08KX In-Circuit Simulator
Section 2. Preparation and Installation
2.1 Introduction
This section provides information and instruction for configuring, installing,
and readying the M68ICS08KX (KXICS) for use.
2.2 Hardware Preparation
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 strap provides a conductive
path for safely discharging static electricity to ground.
2.2.1 KXICS Limitations
These sub-paragraphs describe system limitations of the KXICS.
2.2.1.1 Bus Frequency
The KXICS communicates using the MON08 features which forces the
communication rate to fbus/256, and the bus frequencies are limited by standard
baud rates allowed by the host software.
2.2.1.2 Port A0
Port A0 is used for communications, so it is unavailable for emulation.
Users Manual M68ICS08KX In-Circuit Simulator
20 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
2.2.1.3 Low Voltage Interrupt (LVI)
The LVI is disabled by default in monitor mode. It is enabled by a dummy write
to LVISR.
2.2.1.4 Internal Clock Generator (ICG)
The ICG is bypassed in monitor mode, so it is not available for use.
2.2.2 Configuring the KXICS Jumper Headers
The KXICS supports four configuration options: standalone, simulation,
evaluation, and programming.
Standalone ICS08KXZ.exe running on the host computer (the KXICS
is not connected.) Emulation of the MCU CPU, registers, and I/O ports
is done within the host computer environment.
Simulation Host computer is connected to the KXICS via the RS-232
cable and ICS08KXZ.exe runs on the host computer, providing access to
the M68HC(9)08KX MCU CPU internal registers and I/O ports.
Evaluation Host computer is connected to the KXICS, and the KXICS
is connected to the target system via the flex cable, providing limited
real-time evaluation of the MCU and debugging user developed
hardware and software.
Programming Host computer is connected to the KXICS, and the
KXICS is connected to the target system via the MON08 cable with
PROG08SZ.exe used to program the MCU FLASH module. In the
programming mode there is limited evalua tion (port A0 on the KX8 and
port B0 and port B1 on the KX8 are used for communications, so they
are unavailable for emulation).
Four jumper headers (Table 2-1) on the KXICS are used to configure the
hardware options.
CAUTION: The KXICS can be set to operate at a variety of voltages. When configuring the
KXICS 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.
Preparation and Installation
Hardware Preparation
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 21
2.2.3 Installing an MCU on the KXICS
Either of two types of MCUs may be installed on the KXICS board, a DIP-type
or a SOIC-type.
2.2.3.1 DIP-type MCU
1. Place the pin tension arm of the KXICS DIP socket XU1 in the up
position.
2. Install the DIP type MCU into the DIP socke t XU1. B e sure that the
pin 1 orientation of the silkscreened dot on the MCU aligns with the
pin 1 location on the DIP socket (upper left pin of the socket).
Table 2-1 KXICS Jumper Header Description
Jumper
Header
Type
(Factory
Defau lt Sho wn Description
W1
Low Voltage
Select
Used to set power for the MCU to match various target voltages.(No
default)
Jumper on position 1 & 2: 3.3 V
Jumper on position 3 & 4: 3.0 V
Jumper on position 5 & 6: 2.7 V
Jumper on position 7 & 8 2.2 V
Jumper on position 9 & 10 2.0 V
Jumper on position 11 & 12: ADJ
W2
MCU Voltage
Select
Selects voltage powering MCU and related circuitry.
Jumper on position 1&2: Regulator Lo V as set by W1, is supplied by
MCU. Labeled LO V.
Jumper on position 3&2: Power supply, 5V Switched, is supplied by
board to MCU. Labele d 5V.
W3
Target Clock
Select
Jumper on position 1&2: supplies KXICS,9.8304 MHz, clock, to MCU
and target via W4.
Jump er on pos ition 3 &2: disabl es Xta l clock out put, whi ch will affec t the
power-up reset. Labeled 1.
W4
PTB6 Select
Jumper on position 1&2: MCUs internal clock is supplied to target
cable via PTB6.
Jumper on position 3&2: KXICS Xtal clock is supplied to MCU.
1 2
11 12
13
13
13
Users Manual M68ICS08KX In-Circuit Simulator
22 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
3. Place the pin tension arm of the KXICS DIP socket XU1 in the down
position to secure the pins of the MCU to the socket.
NOTE: The top (label side) of the MCU package must be visible when looking at the
component side of the board.
2.2.3.2 SOIC-type MCU
NOTE: Installation of a SOIC type MCU requires the use of the SOIC-to-DIP adapter
identified in Table 1-1 of this manual.
1. Place the pin tension arm of the KXICS DIP socket XU1 (Figure 2-1)
in the up position.
2. Install the SOIC-to-DIP adapter into the DIP socket XU1 (Figure
2-1). Be sure that the pin 1 orientation of the adapter aligns with the
pin 1 location on the DIP socket (upper left pin of the DIP socket).
CAUTION: The SOIC-to-DIP adapter may be confusing to install. It must be placed into the
DIP socket, XU1, with the hinged side of the SOIC shell aligned to the bottom
of the KXICS board. This positioning will place the SOIC-type MCU socket pin
1 in the upper left corner of the SOIC socket.
3. Place the pin tension arm of the KXICS DIP socket XU1 in the down
position to secure the pins of the adapter to the socket.
4. Open the hinged access door on the SOIC shell.
5. Install the SOIC-type MCU into the SOIC socket of the adapter. Be
sure that the pin 1 orientation of the silkscreened dot on the MCU
aligns with the pin 1 location on the SOIC socket (upper left pin of
the socket).
6. Close and secure the hinged access door on the SOIC shell.
Preparation and Installation
Hardware Preparation
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 23
Figure 2-1 KXICS with SOIC-to-DIP Adapter
2.2.4 Connecting the KXICS to the host PC.
Locate the 9-pin connector labeled J6 on the board. Using the cable
provided, connect it to a serial COM port on the host PC.
2.2.5 Applying power to the KXICS.
CAUTION: Although applying power is described here, do not apply power until all other
configuring, installing, and cable connections are completed. Equipment
damage can result.
Users Manual M68ICS08KX In-Circuit Simulator
24 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
Connect the 5-volt power supply to the round connector on the board, J2.
Plug the power supply into an ac power outlet, using one of the
country-specific adapters provided. (The KXICS green power LED on
the board lights when switch SW1 is in the ON position.)
2.2.6 Target Cable Interface Connection Options
There are three ways to connect the KXICS simulator board to your target
system:
Flex cable low-noise target interface connection (may be ordered
separately)
Ribbon cable low-cost target interface connection
MON08 cable target interface connection with MCU FLASH
programming and limited emulation
Below (Table 2-2) is a quick reference for defining the cable/connector
selection to use with the MC68HC908KX8. Select the option that meets your
requirements and connect accordingly.
Table 2-2. Cable/Connector Options for MCUs
MCU Flex Cable Ribbon
Cable MON08
Cable
MC68HC908KX8 J1 J5 J3
Preparation and Installation
Target Cable Interface Connectors
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 25
2.3 Target Cable Interface Connectors
NOTE: Refer to Section 3, Support Information for more detail.
2.3.0.1 Target Flex Cable Interface Connector J1
The flex cable is a low-noise alternative connection that may be used to connect
to the target. Table 2-3 shows the pin assignments for flex cable connector J1.
Table 2-3 J1 Pin Assignments
J1
N/C 1 ••2N/C
N/C 3 ••4PTB7
N/C 5 ••6PTB6
N/C 7 ••8PTB5
N/C 9 ••10 PTB4
N/C 11 ••12 N/C
N/C 13 ••14 PTB3
TGT_PTA0 15 ••16 PTB2
TGT_PTA1 17 ••18 TGT_PTB1
TGT_PTA2 19 ••20 TGT_PTB0
TGT_PTA3 21 ••22 N/C
TGT_PTA4 23 ••24 N/C
N/C 25 ••26 IRQ*
N/C 27 ••28 N/C
Common 29 ••30 Common
Common 31 ••32 Common
Common 33 ••34 Common
Common 35 ••36 Common
Common 37 ••38 Common
Common 39 ••40 Common
Users Manual M68ICS08KX In-Circuit Simulator
26 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
2.3.0.2 Target Ribbon Interface Connector J5
The KXICS includes a connector, J5 (Table 2-4), which allows a convenient,
less-expensive connection to the target, using a 16-pin ribbon cable.
Table 2-4 J5 Pin Assignments
J5
Common 1 ••16 N/CPTA1
PTA1 2 ••15 PTA4
PTA0 3 ••14 PTA3
IRQ* 4 ••13 PTA2
PTB0 5 ••12 PTB4
PTB1 6 ••11 PTB6
PTB2 7 ••10 OSC1/PTA3
PTB3 8 ••9PTB7
Preparation and Installation
Target Cable Interface Connectors
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 27
2.3.0.3 Target MONO8 Interface Connector J3
The MONO8 interface connector, J3 (Table 2-5), is used when the MCU is
mounted on the target. Refer to Section 4 Using the MONO8 for detailed
information.
Table 2-5 J3 Pin Assignments
J4
RST_OUT* 1 ••2Common
RST_IN* 3 ••4RST*
TGT_IRQ* 5 ••6IRQ*
TGT_PTA0 7 ••8PTA0
TGT_PTA1 9 ••10 PTA1
TGT_PTB0 11 ••12 PTB0
TGT_PTB1 13 ••14 PTB1
N/C 15 ••16 N/C
Users Manual M68ICS08KX In-Circuit Simulator
28 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
2.3.1 Host Computer - KXICS Interconnection J6
The host computer to KXICS interface is via the single system connector J6,
which is a 9-pin, D-type connector (Amp part number AMP-9726-A) (Figure
2-2), mounted on the top side of the board.
Connection requires the cable assembly supplied with your KXICS kit, a
DB9-male-to-female, 6-ft. (3 m) long serial cable.
Figure 2-2 Host Computer to KXICS Interconnection
2.3.2 Power Connector J2
Connect +5-Vdc power directly to the KXICS via connector J2 (Figure 2-3)
using the provided power supply.
Figure 2-3. J2 Power Connector
RXD
TXD
GND
1
2
3
4
5
6
7 RTS
8
9
DTR
GND
+5 Vdc
Preparation and Installation
Connecting the KXICS
M68ICS08KX In-Circuit Simulator Users Manual
MOTORO LA Preparati on and Instal la tion 29
2.4 Connecting the KXICS
The following steps provide instructions for connecting the KXICS 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 strap provides a conductive
path for safely discharging static electricity to ground.
a. Configure the jumpers W-1 through W-4 on the KXICS for your application.
b. Install an MCU into the appropriate socket, XU1, on the KXICS 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 J6 on the KXICS.
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.5).
e. Connect the power cable to J2 on the KXICS board.
f. Plug the power cable into an ac power outlet, using one of the country-specific
adapters.
g. The KXICS power LED lights green.
2.5 Connecting the KXICS to the Target System
Connect the KXICS to the target system using one of these methods:
Emulating using a flex cable for low-noise
Users Manual M68ICS08KX In-Circuit Simulator
30 Preparati on and Instal la tion MOTO ROLA
Preparation and Installation
When emulating, connect the 40-pin M68CLB05A flex cable to the
connector labeled J1on the simulator board. Attach the other end of the
cable to the appropriate connector on the target system. Target head
adapters are available.
Emulating using a ribbon cable
When emulating, connect a 16-pin flat ribbon cable to connector J5 on
the simulator board. Attach the other end of the cable to the appropriate
connector on the target system.
Using a MON08 cable to debug the target system.
NOTE: An MCU must be installed in the target system. No MCU should on the KXICS.
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 MONO8, refer to Section 4 of this manual.
2.6 Installi ng the Software
For instructions for installing the ICS08 software, refer to P&E Microcomputer
Systems, Inc., M68ICS08 68HC08 In-Circuit Simulator Operator’s Manual,
Motorola document order number M68ICS08OM/D.
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 31
Users Manual M68ICS08KX 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 MC68HC908KX8 microcontroller, clock
generation and selection, monitor mode control logic that places and holds the
KXICS in monitor mode, the bus voltage level translation buffers, and
processor operating voltage variable regulator.
The MCU, an MC68HC908KX8, is available in two different packages:
16-pin SOIC (small-outline integrated circuit)
16-pin DIP (dual inline pack)
Only one socket may be used at a time.
Users Manual M68ICS08KX In-Circuit Simulator
32 Support Information MOTOROLA
Support Information
Depending on the connection, the MCU is used in one of three operating modes:
In the KXICS socket for programming and simple simulation
In the KXICS socket and connected to the target for emulation
On the target for MON08 debug operation
3.3 Level Translation
NOTE: For the following discussion on the theory of operation of the KXICS, refer to
the schematic diagrams in Paragraph 3.6, Figures 3-1 to 3-6 of this section.
The KXICS has an operation voltage range of +2.0 to +5.0 volts while the host
development system interface is an RS-232 (COM) port. U12 on the ICS
converts 5-volt logic signals to RS-232 levels. ICS U10U13 translate 5-volt
logic levels to the MCU operating voltage (2.03.3 volts).
3.4 KXICS Theory of Operation
NOTE: For the following discussion on the theory of operation of the KXICS, refer to
the schematic diagrams in Paragraph 3.7.
3.4.1 Power Supply
Power input, J2, to the KXICS is via a standard DC power receptacle with a
2.5mm center pin. Input voltage is 5Vdc provided by a plug in the DC power
adapter.
The power is fused to prevent catastrophic failure by fuse F1 (5x20mm or 3AG
fuse).
CAUTION: Always use a fuse of the proper current and voltage rating. Failure to do so can
result in serious equipment damage
In addition, the input line has a Transient Voltage Suppression (TVS) diode to
stop high voltage transients, including ESD events, from damaging the board.
A green LED is provided to indicate that 5VDC is being provided to the board,
with the ON/Off switch in the ON posit ion. Power, however, is not available to
Support Information
KXICS Theory of Operation
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 33
the rest of the board until the signal DTR is active high on pin 4 of the serial
connector, J6.
Test points are provided for common (TP1), power input VDD (TP3), switched
main power VDD_SW (TP5), power to the MCU VDD_MCU (TP4), and VTST
(TP2).
3.4.1.1 Main Switched Power
Power to the MCU sockets and circuitry is switched on and off using the DTR
signal into the serial interface (J6). When DTR is low, the power to the MCU
socket is off, and the amber LED is off. When DTR is asserted high, transistor
Q3 will turn on FET Q2 which provides power to the MCU circuitry. if W2 is
selected positions 1 and 2. VTST voltage is sent to the MCU along with the reset
signal being held low briefly following power-up. The MCU is forced to
power-up in the Monitor Mode.
NOTE: The source of power for the MCU is selected by jumper2. Refer to Section 2,
Table 2-1.
The amber LED, DS2, lights when there is power to the MCU socket.
CAUTION: There is no over-current protection on the board protecting against
catastrophic failures if the MCU is powered from the target. Equipment damage
can result.
The power to the MCU is selected by jumper W2. With the jumper in the 5V
position, the MCU will be powered by the 5V circuitry, i.e., from the plug in the
power supply). With W2 in the LO V position, the MCU will be powered by the
on-board low voltage regulator (U6). The low voltage is selected by jumper W1
which has preset voltages of 3.3V, 3.0V, 2.7V, 2.2V, 2.0V, and a poteniometer
for adjusting the voltage.
CAUTION: The MCU may be set to operate at a variety of voltages. Ensure the selected
voltage matches the voltage of the target. Failure to do so can result in
equipment damage.
Users Manual M68ICS08KX In-Circuit Simulator
34 Support Information MOTOROLA
Support Information
3.4.1.2 VTST Power
VTST is created by a voltage regulator, MC34063, nominally set for 8.6VDC.
This keeps the worst case voltage at greater than VDD +3VDC, meeting VTST
voltage minimums. The voltage may be monitored at VTST test point TP2.
VTST is used during start-up to force the MCU into the Monitor Mode.
3.4.1.3 Reset on Power-u p
At initial power-on to the MCU, there is a delay of a few hundred m illiseconds
during which the signal ICS_RST# is held low, as set by U8 (DS1233).
When ICS_RST# goes high, the binary ripple counter, U3, begins counting
clock cycles, at the 9.8304MHz rate of the clock Y1. After 1024 clock cycles
are counted, the DELAY_RESET signal toggles and the counter stops counting.
The delayed reset signal is used to turn-on communications to the MCU and to
hold several MCU pins in appropriate states to force Monitor Mode on
power-up.
3.4.2 Serial Communications
Serial communication in half-duplex mode, using PTA0 for transmit and
receive, to the MC U is via the DE9 connector, J6. Pin 2 is the path for trans mit
signals and pin 3 is for receive signals. Pin 4, the DTR signal, is utilized as an
input to provide the software host with the ability to turn MCU power on and
off. The RTS signal on contact 7 is used as an input to provide the software host
with the ability to control the IRQ* high voltage.
Serial communication to the MCU does not occur until DELAY_RESET
becomes active high 1024 clock cycles after the RESET signal is high (para
3.4.1.3).
3.4.3 Clock Selection
The source of timing for the MCU may be either the KXICS boards clock Y1
or the MCUS internal clock. Selection is by jumper header W-4 (Table 2-1).
Support Information
KXICS Theory of Operation
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 35
When the jumper is set for the PTB6 position, t he MCU runs from its i nternal
clock and pin PTB6 of the MCU is connected to the target connector.
When the jumper is set for the CLK position, the Y1 external clock signal from
the KXICS board is applied to the PTB6 pin of the MCU for timing. (An internal
MCU register must be set to control the selection of internal or external clock.)
The external clock, Y1, has an output frequency of 9.8304 MHz to allow the
MCU to communicate at 9600 baud. It is socketed to allow the use of a full-size
or half-size clock. You may change clock frequencies by installing a new clock
chip, however the serial communication rate proportionally changes. W3 may
be used to disable the external clock.
Additionally, the on-board clock is available as an output on the 3-pin header J4
for target or computer host clock synchronization.
3.4.4 Start-Up in Monitor Mode
Following power up the ICS_RST# is held low for a period of time by U8.
When ICS_RST* is asserted high, the binary ripple counter, U3, counts up 1024
clock cycles prior to allowing DELAY RESET to be asserted. The delayed reset
controls the analog switch, U7, connected to PTA1 and PTB[0...1]. The RTS
signal is held high which places the VTST voltage as the high voltage for IRQ*.
Analog switch, U7, connects PTA1 to comm on, PTB0 to VDD_MCU, and PTB1
to common until DELAY_RESET is asserted. VTST is held above VDD-MCU
+3Vdc during the reset release forcing the KXICS board to power up in the
Monitor Mode.
Following the counter time-out, the analog switch, U7, is toggled so that the
PTA1 and PTB[0...1] pins of the board are connected to the target head
connectors.
Following entry into monitor mode, you may switch the IRQ* voltage to
VDD_MCU by setting RTS low. The analog switch, U14, will switch the
connection of MCU pin 9 from the ICS reset circuitry to a connection to the
target head connector. Be aware that beside disabling the use of external resets
of the MCU, internal MCU features, e.g., the COP must be serviced properly in
this mode.
Users Manual M68ICS08KX In-Circuit Simulator
36 Support Information MOTOROLA
Support Information
3.5 KXICS Connector Signal Definitions
The tables in this section describe the pin assignments for the connectors on the
KXICS board.
3.5.1 Target Flex Cable Interface Connector J1
Table 3-1 J1 Target Flex Connector Pin Assignments
Pin
No. Schematic
NET Direction Signal Description
1N/C
2N/C
3N/C
4 PTB7 Bidirectional Port B I/O
5N/C
6 PTB6 Bidirectional Port B I/O
7N/C
8 PTB5 Bidirectional Port B I/O
9N/C
10 PTB4 Bidirectional Port B I/O
11 N/C
12 N/C
13 N/C
14 PTB3 Bidirectional Port B I/O
15 TGT_PTA0 Bidirectional Port A I/O
16 PTB2 Bidirectional Port B I/O
17 TGT_PTA1 Bidirectional Port A I/O
18 TGT_PTB1 Bidirectional Port B I/O
19 PTA2 Bidirectional Port A I/O
20 TGT_PTB0 Bidirectional Port B I/O
21 PTA3 Bidirectional Port A I/O
22 N/C
Support Information
KXICS Connector Signal Definitions
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 37
23 PTA4 Bidirectional Port A I/O
24 N/C
25 N/C
26 N/C
27 N/C
28 N/C
29 Common
30 Common
31 Common
32 Common
33 Common
34 Common
35 Common
36 Common
37 Common
38 Common
39 Common
40 Common
Pin
No. Schematic
NET Direction Signal Description
Users Manual M68ICS08KX In-Circuit Simulator
38 Support Information MOTOROLA
Support Information
3.5.2 Target Ribbon Interface Connector J5
The KXICS includes a connector, J5 (Table 3-2), which allows a convenient
connection to the target, using a 16-pin ribbon cable.
Table 3-2 J5 Target Connector Pin Assignments
Pin
No. Schematic
NET Direction Signal Description
1Common
2 PTA1 Bidirectional Port A I/O
3 PTA0 Bidirectional Port A I/O
4IRQ
*In Target interrupt request to MCU
5 PTB0 Bidirectional Port B I/O
6 PTB1 Bidirectional Port B I/O
7 PTB2 Bidirectional Port B I/O
8 PTB3 Bidirectional Port B I/O
9 PTB7 Bidirectional Port B I/O
10 OSC1/PTB6 Bidirectional Clock signal from xtal or MCU/Port B I/O
11 PTB5 Bidirectional Port B I/O
12 PTB4 Bidirectional Port B I/O
13 PTA2 Bidirectional Port A I/O
14 PTA3 Bidirectional Port A I/O
15 PTA4 Bidirectional Port A I/O
16 VDD KXICS Supply Voltage
Support Information
KXICS Connector Signal Definitions
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 39
3.5.3 Target MONO8 Interface Connector J3
The MONO8 interface connector, J3 (Table 2-6), is used when the MCU is
mounted on the target. Refer to Section 4 Using the MONO8 for detailed
information.
Table 3-3 J3 MONO8 Target Connector Pin Assignments
Pin
No. Schematic
NET Direction Signal Description
1 RST_OUT* Out To reset target
2Common
3 RST_IN* In From target to reset MCU and Ripple Counters
4 RST* Out Forced reset to target
5 TGT_IRQ* In Target Interrupt request to MCU
6 IRQ* Out Interrupt Request
7 TGT_PTA0 Bidirectional Port A I/O - bit 0
8 PTA0 Bidirectional Port A I/O - bit 0
9 TGT_PTA1 Bidirectional Port A I/O - bit 1
10 PTB1 Bidirectional Port B I/O - bit 1
11 TGT_PTB0 Bidirectional Port B I/O - bit 0
12 PTB0 Bidirectional Port B I/O - bit 0
13 TGT_PTB1 Bidirectional Port B I/O - bit 1
14 PTB1 Bidirectional Port B I/O - bit 1
15 No connect
16 No connect
3.5.4 Power Connector
Power connector, J2, (Table 3-4) is used to connect to a source power supply for the KXICS.
Table 3-4 Power Connector J2 Pin Assignments
Pin
No. Mnemonic Signal
1VCC
+5 VDC POWER Input voltage (+5 Vdc @ 1.0 A) from the provided
power supply used by the KXICS logic circuits
Users Manual M68ICS08KX In-Circuit Simulator
40 Support Information MOTOROLA
Support Information
2 GND Common
3 GND Common
3.5.4 Power Connector
Power connector, J2, (Table 3-4) is used to connect to a source power supply for the KXICS.
Table 3-4 Power Connector J2 Pin Assignments
Pin
No. Mnemonic Signal
3.5.5 RS-232C Communication Connector, J6
The RS-232C Communication Connector, J6, (Table 3-5) provides connection to the host computer.
Table 3-5 RS-232C Communication Connector J6 Pin Assignments
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 Switches the KXICS to apply power to
the MCU and related circui tr y
5 GND Common
7 RTS Controls whether voltage for IRQ* high is VTST or VDD_MCU.
Support Information
Parts List
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 41
3.6 Parts List
Table 3-6. KXICS Parts List (Rev F)
Reference
Designator Description Manufacturer Part Number
Printed Circuit Board Assembly 01-RE10080W01
Test Procedure, ICS08KX 12ASE10080W
Test Fixture, ICS08KX 81ASE10080W
Printed Wiring Board, ICS08KX 84-RE10080WO1
Feet Rubber 0.5" Tapered
squares FASTEX 4009-00-5072
C8, C9, C28 Cap 47 uF Tantalum low ESR 16V AVX TPSD476M016R0150
C2-C7,C11-C16,
C19-C27 Cap 0.2 uF Ceramic Z5U 50V
0805 AVX 08055E104ZAT2A
C1, C17, C18 Cap 10 uF Tantalum 16V AVX TAJC106M016
C10, C29 Cap 560 pF Ceramic COG 50V
0805 AVX 08055A561KAT2A
D3, D4 Diode, Schottky, MBRA130 Motorola/ON Semi MBRA130
D1, D5 Diode, TVS, 1SMA6.OAT3 Motorola/ON Semi 1SMA6.OAT3
D2, D6 Diode, Schottky, MBR0520 Motorola/ON Semi MBR0520
DS1 LED Green, LED_1206 Lumex SML-LX1206GC
DS2 LED Amber, LED_1206 Lumex SML-LX1206YC
F1 Fuse 0.5A 250V 5x20mm Fast Schurter 0034.1523
J2 Conn Pwr Jack RT ANG 2.5mm
Center Pin CUI Stacck PJ-202B
J6 Conn DE9, Socket, R/A Cinch DEKL-9SATI-F
J4, W2-W4 Hdr, 3x1, 100, JPR_3 3M 2403-6112TB
J3 Hdr, 8x2, 100, SHRD 3M 2516-6002-UG
J1 Hdr, 2x20, 0.100.SHRD 3M 2540-6002-UG
J5 SKT 16 Pin DIP Augat 816-AG11D
L2 IND, 180uH, SMT Murata LQH4N181K04
L1 ind, 10uH, SMT Murata LQH1N100K04
Q2 XSTR PFET MMFT5P02 SOT223 Motorola/ON Semi MMFT5P02HD
Users Manual M68ICS08KX In-Circuit Simulator
42 Support Information MOTOROLA
Support Information
Q3, Q5-6 XSTR NPN MMBT3904 SOT23 Motorola/ON Semi MMBT3904
Q1, Q4 XSTR PFET MMBF0201 SOT23 Motorola/ON Semi MMBF0201
R16 Res, 150 ohm, 1%, 0805 Dale CRCW08051500F
R34 Res, 124 ohm, 1%, 0805 Dale CRCW08051240F
R33 Res, 205 ohm,!5, 0805 Dale CRCW08052050F
R32 Res, 75 ohm, 1%, 0805 Dale CRCW080575R0F
R17, R23 Res, 1.21K, 1%, 0805 Dale CRCW08051211F
R29 Res, 499 ohm, 1%, 0805 Dale CRCW08054990F
R30 Res, 169 ohm, 1%, 0805 Dale CRCW08051690F
R32 Res, 118 ohm, 1%, 0805 Dale CRCW08051180F
R1, R13, R15 Res, 10 ohm, 1%, 1206 Dale CRCW120610R0F
R25 Res, 100k, 5%, 0805 Dale CRCW0805104J
R26, R38-R49, R51 Res, 33 ohm, 5%, 0805 Dale CRCW08055330J
R2, R7, R22 Res, 3.3K, 5%, 0805 Dale CRCW0805332J
R18 Res, 59K ohm, 1%, 0805 Dale CRCW08055902F
R4-R6, R8-R12, R14,
R19-R21, R24, R27,
R28, R36, R37, R50,
R54-R56, R58-R59
Res, 10 K ohm, 5%, 0805 Dale CRCW0805103J
R3, R35, R52, R57 Res, 470 ohm, 5%, 0805 Dale CRCW0805471J
R53 Res, 330 ohm, 5%, 0805 Dale CRCW0805331J
R60 Res, 33K ohm, 5%, 0805 Dale CRCW0805333J
RV1 Res, VAR 2K SMT_4MM Bourns 3214W-202W
SW1 Switch, SPDT RT ANG C & K ET01MD1AVQE
U4, U11, U13 IC Hex Inverter OC 74HC05
14SOIC Motorola/ON Semi MC74HC05D
U8 IC 5V Supervisor SOT-223 Dallas Semi DS1233Z-5
U1 IC Microcontroller KX8 DIP16 Motorola PC68HC908KX8DW
U2 IC UHS 2 Input OR SOT23-5 Fairchild NC7SZEWM5
Table 3-6. KXICS Parts List (Rev F)
Reference
Designator Description Manufacturer Part Number
Support Information
Parts List
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Support Information 43
U7, U14 IC T riple 2:1 Analog MUX 16SOIC Motorola/ON Semi MC74HC4053D
U9 IC Quad Nand 14SOIC Motorola/ON Semi MC74ACOOD
U10 IC Buffer Tri-State 14SOIC Fairchild MC74ACT1125D
U5 IC DC-DC Converter SO-8 Motorola/ON Semi MC34063AD
U6 IC Var Regulator LT1086
DD_PACK Linear Tech. LT1086CM
U12 IC Low Power RS232 Driver
16SOIC Linear Tech LT1181ACSW
U15-16 Optocoupler 50% CTR DIP-4
PS2501-1 NEC PS2501-1
W1 Hdr 2x6 0.100 JPR_2X6 3M 1412-6122TB
XF1 Holder Fuse 5x20 & 3AG Schurter 0GD 0031.8231
XU1 SKT AIP 16 POS DIP 3M Textool 216-3340-00-0602JJ
XW1- XW 4 Sh unt w/Han dle AMP 881545 -1
XY1 SKT 14 pin DIP Augat 814-AG11D
Y1 Xtal, 9.8304Mhz, 1/2 size DIP Epson SG-532P-9.8302MC
Table 3-6. KXICS Parts List (Rev F)
Reference
Designator Description Manufacturer Part Number
Users Manual M68ICS08KX In-Circuit Simulator
44 Support Information MOTOROLA
Support Information
3.7 KXICS Board Layout and Schematics Diagrams
Figure 3-1 KXICS Board Layout
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
A A
B B
C C
D D
ENG
E0.0 Initial Concepts
REV DESCRIPTION
TBD
DATE
TEAM Dev. / WRR 19 Nov 99
4. INTERPRET DIAGRAM IN ACCORDANCE WITH
ANSI SPECIFICATIONS WITH THE
EXCEPTION OF LOGIC BLOCK SYMBOLOGY.
CAPACITORS ARE IN MICROFARADS, 50V
NOTES:
# DENOTES ACTIVE LOW SIGNAL.
3. SPECIAL SYMBOL USAGE:
2. DEVICE TYPE NUMBER IS FOR REFERENCE
ONLY THE NUMBER VARIES WITH THE
PART MANUFACTURER.
[ ] DENOTES VECTORED SIGNAL.
1. UNLESS OTHERWISE SPECIFIED:
RESISTORS ARE IN OHMS, 5%, 1/10W
SPARE GATES
Page 3 & 4
Page 5
MON08 Connector & Circuit
Target Connectors
Power ON
Page 4Oscillator
COMM PORT (DSub9)
Page 3
Page 2
RST/IRQ Logic and Control
Page 5
Busses PTA, PTB
Power Conditioning/Switching
TGT_PTA0-1,
TGT_PTB0-1
MCU Socket
Tx/Rx
PTA0-1, PTB0-1
Page 3
OReady for Design Review 3JAN00
Last Update 17 July 00
Design Review Changes Included 5JAN00
Initial ReleaseA 24JAN00
BAdd switch to PB7/RST# 19APR00
C24MAY00
Modify IRQ# voltage select. Change
input signal to U4A. Change RST#
voltage. Added RTS_RESET
D 5JUNE00Modify power circuitry - Vtst on
when board powered.
A. Okunami 22-Jun-00
E26JUNE00
Change value of R23
RTS
F 17July00Change wiring of J5 per customer
request. J5 wiring now resembles
J1.
1 5
F
63BSE10080W
IN CIRCUIT SIMULATOR - ICS08KX
Size Dwg.
No. Rev:
Sheet of
Title:
6501 WILLIAM CANNON DRIVE WEST AUSTIN, TX 78735 USA
THIS DOCUMENT CONTAINS INFORMATION
PROPRIETARY TO 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:
B
Software and Development Systems
VDD_MCU
VDD
VDD_SW
U13E
74HC05
11 10
147
U11C
74HC05
5 6
147
U11B
74HC05
3 4
147
U13D
74HC05
13 12
147
U11D
74HC05
13 12
147
U11E
74HC05
11 10
147
U11F
74HC05
9 8
147
U13F
74HC05
9 8
147
U10D
74ACT125
12 11
13
7 14
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
A A
B B
C C
D D
5VDC IN
5VDC SWITCHED
3.3V
VOLTAGE SELECT
5V
LO V
1.8V
3.2V
ADJ
Last Update 17 July 00
COMMON
5VDC INPUT
1.25V REFERENCE
8.6VDC +/-0.4V TEST
2 5
F
63BSE10080W
IN CIRCUIT SIMULATOR - ICS08KX
Size Dwg.
No. Rev:
Sheet of
Title:
6501 WILLIAM CANNON DRIVE WEST AUSTIN, TX 78735 USA
B
Software and Development Systems
3.0V
2.2V
2.0V
2.7V
POWER_ON
Page 3
VTST
Page 4
VDD
VDD_SW
VDD_MCU
VDD_SW
VDD_MCU
VDD_SW
VDD
C13
0.1uF
R17
1.21K, 1%
+
C8
47uF, 16V
GND
VCC
J2
PWR_JACK
2
13
C16
0.1uF
+
C9
47uF, 16V
C3
0.1uF
U6 LT1086
23
1
4
VOUTVIN
ADJ
VOUT(TAB)
C20
0.1uF
R15
10, 1%, 1/4W R13
10, 1%, 1/4W R1
10, 1%, 1/4W
SW1
1
2
3
R36
10K
R14
10K
R18
59.0K, 1%
D5
1SMA6.0AT3
C27
0.1uF
R16
150, 1%
DS1
GREEN
L1
10 uH
R3
470
R2
3.3K
C2
0.1uF
D4
MBRA130
+
C1
10uF, 16V
D1
1SMA6.0AT3
C6
0.1uF
TP1
TP3
Q3
MMBT3904 Q5
MMBT3904
TP5
R20
10K
TP2
R35
470
DS2
AMBER
W1
LOW VOLTAGE SELECT
1 2
3 4
5 6
7 8
9 10
11 12
C21
0.1uF
C11
0.1uF
W2
G
D
S
Q2
MMFT5P03HD
1
23
4
R31
118, 1%
TP4
R37
10K
1
2
3
4
F1 0.5A, 250V
+
C28
47uF, 16V
+
C17
10uF, 16V
C14
0.1uF
+
C18
10uF, 16V
R32
75, 1%
R19
10K
U5 MC34063
8
7
6
5 4
3
2
1
DR COL
SENSE
VCC
COMPARE GND
CAP
SW EMIT
SW COL
R34
124, 1%
C5
0.1uF
R30
169, 1%
L2
180 uH
R33
205, 1%
D3
MBRA130
CW
RV1
2K
13
2
C4
0.1uF
R29
499, 1%
C7
0.1uF
C10
560 pF
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
A A
B B
C C
D D
SOCKETED TO ALLOW FULL
OR HALF SIZE XTAL
XTAL EN
0
1
Last Update 17 July 00
3 5
F
63BSE10080W
IN CIRCUIT SIMULATOR - ICS08KX
Size Dwg.
No. Rev:
Sheet of
Title:
6501 WILLIAM CANNON DRIVE WEST AUSTIN, TX 78735 USA
B
Software and Development Systems
TX_OUT
PTA0
RX_IN
DTR
RTS
DELAY_RESET
Page 4
9.8304MHz
Page 5
POWER_ON
Page 2
PTA[0..4]
Page 4,5
RST_OUT#
Page 4
RTS_RESET
Page 4
VDD_SW
VDD_SW
VDD_SW
VDD
VDD
VDD_MCU
VDD_MCU
VDD
VDD_SW
VDD_MCU
VDD
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD VDD_SW
VDD VDD
VDD_SW
U4B
74HC05
3 4
147
R59
10K
U10B
74ACT125
5 6
4
7 14
R53
330
R11
10K
J6
CONNECTOR DSub9
5
9
4
8
3
7
2
6
1
R12
10K
U10C
74ACT125
9 8
10
7 14
U4C
74HC05
56
147
U4A
74HC05
1 2
147
W3
R27
10K
U13A
74HC05
1 2
147
U12 LT1181A
1
3
4
5
2
6
13
8
12
9
7 10
1114
1615
C1+
C1-
C2+
C2-
V+
V-
RX1 IN
RX2 IN
RX1 OUT
RX2 OUT
TR2 OUT TR2 IN
TR1 INTR1 OUT
VCCGND
C23 0.1uF
R10
10K
D6
MBR0520
C25 0.1uF
C15
0.1uF
C24 0.1uF
Y1 9.8304MHz
14 8
7 1
4
11
VCC OUTPUT
GND ENABLE
GND8
OUTPUT8
R9
10K
U11A
74HC05
12
147
R50
10K
C26 0.1uF
R25
100K
R55
10K
U3 74HC4040
10
11
9
7
6
5
3
2
4
13
12
14
15
1
816
CLK
RST
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
Q9
Q10
Q11
Q12
GND VCC
R60
33K
C22
0.1uF
U13B
74HC05
3 4
147
J4
U13C
74HC05
5 6
147
R56
10K
U9C
74AC00
9
10 8
147
R54
10K
U4D
74HC05
13 12
147
U9A
74AC00
1
23
147
R26
33
Q6
MMBT3904
R28
10K
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
A A
B B
C C
D D
Last Update 17 July 00
4 5
F
63BSE10080W
IN CIRCUIT SIMULATOR - ICS08KX
Size Dwg.
No. Rev:
Sheet of
Title:
6501 WILLIAM CANNON DRIVE WEST AUSTIN, TX 78735 USA
B
Software and Development Systems
RST_IN#
TGT_IRQ# RST#
RST_OUT#
TGT_PTA0
PTB1
PTB0TGT_PTB0
TGT_PTB1
PTA0
PTB0
PTB1
TGT_PTB1
TGT_PTB0
PTA1
TGT_PTA1PTA1
PTB7
RST#
IRQ#
TGT_PTA0
Page 5
PTB[0..7]
Page 5
IRQ#
Page 5
PTA[0..4]
Page 3,5
TGT_PTB[0..1]
Page 5
TGT_PTA1
Page 5
DELAY_RESET
Page 3 RTS_RESET
Page 3
MCU_PIN9
Page 5
RST_OUT#
Page 3
RTS_RESET
Page 3
VTST
Page 2
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_MCU
VDD_SW
VDD_SW
VDD_SW
VDD_SW
VDD_MCU
VDD_SW
VDD_MCU
C29
560 pF
U4E
74HC05
11 10
147
C12
0.1uF
U8 DS1233
1
4
3
2
GND
GND2
VCC
RST*
U14 74HC4053
12
13 14
2
1
5
34
15
11
10
9
6
16
8
7
X0
X1 X
Y0
Y1
Z0
Z1 Z
Y
A
B
C
EN
VCC
GND
NC
U7 74HC4053
12
13 14
2
1
5
34
15
11
10
9
6
16
8
7
X0
X1 X
Y0
Y1
Z0
Z1 Z
Y
A
B
C
EN
VCC
GND
NC
R7
3.3K
R8
10KR6
10K R5
10K
R23
1.21K, 1%
U2
NC7SZ32
1
24
53
Q4
MMBF0201
Q1
MMBF0201
R4
10K
U10A
74ACT125
23
1
7 14
R22
3.3K
R24
10K
R52
470
J3 MON08
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
R57
470
U15
PS2501-1
1
23
4
U16
PS2501-1
1
23
4
D2
MBR0520
U4F
74HC05
9 8
147
U9B
74AC00
4
5
6
147
R21
10K
R58
10K
U9D
74AC00
12
13 11
147
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
A A
B B
C C
D D
PTB6 SEL
Reference
68HC908KX8
Last Update 17 July 00
RIBBON CABLE
FLEX TARGET CABLE
CLK
5 5
F
63BSE10080W
IN CIRCUIT SIMULATOR - ICS08KX
Size Dwg.
No. Rev:
Sheet of
Title:
6501 WILLIAM CANNON DRIVE WEST AUSTIN, TX 78735 USA
B
Software and Development Systems
PTB2
PTA2
PTB5
PTB4
PTA4
PTA3
PTB3
PTB7
PTB2
PTA0
PTA3
PTA4
PTB6
OSC1/PTB6
PTB0
PTB4
PTB5
PTA1
PTA2
PTB3
PTB1
PTA4
PTA2
PTA3
PTB7
PTB4
PTB5
PTB3
PTB6
TGT_PTB0
PTB2
TGT_PTB1
PTB6
TGT_PTB0
TGT_PTB1
IRQ#
Page 4
PTA[0..4]
Page 3,4
9.8304MHz
Page 3
PTA[0..4]
Page 3,4
PTB[0..7]
Page 4
IRQ#
Page 4
TGT_PTA0
Page 4
TGT_PTA1
Page 4
TGT_PTB[0..1]
Page 4
MCU_PIN9
Page 4
TGT_PTB[0..1]
Page 4
TGT_PTA1
Page 4
TGT_PTA0
Page 4
VDD_MCU
R44 33
R46 33
R48 33
J1
HEADER 20X2
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
R51 33
R45 33
C19
0.1uF
R47 33
FID1 FID2 FID3
MH1
R49 33
MH2 MH3
R40 33
MH4
R38 33
J5 SKT_16pdip
1
16
4
3
2
13
14
15
5
6
7
8
12
11
10
9
VSS
VDD
IRQ1#
PTA0
PTA1
PTA2
PTA3
PTA4
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7
R42
33
XU1 SKT_16pdip
1
16
4
3
2
13
14
15
5
6
7
8
12
11
10
9
VSS
VDD
IRQ1#
PTA0
PTA1
PTA2
PTA3
PTA4
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7
R43
33
W4
R41 33
R39
33
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Using the MON08 Interface 45
Users Manual M68ICS08KX 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
M68ICS08KX in-circuit simulator 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 shows the target-system interconnections for J3.
Table 4-1. MON08 Target System Connector J3
Pin
No. M68ICS08KX8
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).
3RS
T-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 +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 +8.6 Vdc.
7 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.
Users Manual M68ICS08KX 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 KXICS kit, connect one end of the
cable to the KXICS 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
KXICS board.
8 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.
9 TGT-PTA1 Bidirectional Connect to user circuit that normally would be connected to PTA1
on the MCU.
10 PTA1 Bidirectional Connect to MCU PTA1 pin. No other target-system logic should be
tied to this signal. Grounded during power-on reset and for 256
cycles after reset.
11 TGT-PTB0 Bidirectional Connect to user circuit that normally would be connected to PTB0
on the MCU.
12 PTB0 Bidirectional Connect to MCU PTB0 pin. No other target-system logic should be
tied to this signal. Held at +5 Vdc during power-on reset.
13 TGT-PTB1 Bidirectional Connect to user circuit that normally would be connected to PTB1
on the MCU.
14 PTB1 Bidirectional Connect to MCU PTB1 pin. No other target-system logic should be
tied to this signal. Grounded during power-on reset.
15 NC NC Not connecte d
16 NC NC Not connecte d
Table 4-1. MON08 Target System Connector J3 (Continued)
Pin
No. M68ICS08KX8
Label Direction Target System Connection
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 47
Users Manual M68ICS08KX In-Circuit Simulator
Appendix A. S-Record Information
A.1 Introdu ct i o n
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 .
The S-record fields are described in .
Table A-1. S-Record Fields
Type Record
Length Address Code/Data Checksum
Users Manual M68ICS08KX In-Circuit Simulator
48 S-Record Informati on MOTOROLA
S-Record Information
Each record ma y be terminated with a C R/LF/NULL. Additionally, an 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.
S-Record Information
S Record Creation
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 49
NOTE: The ICS08RKZ 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 .
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 ICS08RKZ
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.
Users Manual M68ICS08KX In-Circuit Simulator
50 S-Record Informati on MOTOROLA
S-Record Information
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 He ader Record
The S0 header record is described in .
A.5.2 First S1 Record
The first S1 record is described in .
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
S-Record Information
S-Record Example
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA S-Record Information 51
The 16 character pairs shown in the code/data field of 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-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
Users Manual M68ICS08KX In-Circuit Simulator
52 S-Record Informati on MOTOROLA
S-Record Information
A.5.4 ASCII Characters
Each printable ASCII character in an S record is encoded in binary. gives an
example of encodi ng for the S1 record. The binary da ta is transm itte d 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 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/Dat a There is no code/d ata in an S9 recor d.
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
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 53
Users Manual M68ICS08KX In-Circuit Simulator
Appendix B. Quick Start Hardware Configuration Guide
B.1 Introdu ct i o n
This quick start guide explains the:
Configuration of the M68ICS08KX in-circuit simulator (KXICS) board
Installation of the hardware
Connection of the board to a target system
There are four methods for configuring the KXICS: standalone, simulation,
evaluation, and programming.
Standalone ICS08KXZ.exe is running on the host computer (the
KXICS is not connected). Emulation of the MC68HC908KX8 MCU
CPU, registers, and I/O ports is within the host computer environment.
Simulation Host computer is connected to the KXICS via the RS-232
cable, and the ICS08KXZ.exe is running on the host computer. This
provides access to the MC68HC908KX8 MCU, internal registers, and
I/O ports.
Evaluation Host computer is connected to the KXICS, and the KXICS
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 KXICS, and the
KXICS 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
Users Manual M68ICS08KX In-Circuit Simulator
54 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
whenever handling any printed circuit board. This strap provides a conductive
path for safely discharging static electricity to ground.
B.1.1 KXICS Configurable Jumper Headers
Configure the seven jumper headers on the KXICS for your application
according to the tables in this section.
Ta ble 4-2 KXICS Jumper Hea der Description
Jumper
Header
Type
(Factory
Defau lt Sho wn Description
W1
Low Voltage
Select
Used to set power for the MCU to match various target voltages.(No
default)
Jumper on position 1 & 2: 3.3 V
Jumper on position 3 & 4: 3.0 V
Jumper on position 5 & 6: 2.7 V
Jumper on position 7 & 8 2.2 V
Jumper on position 9 & 10 2.0 V
Jumper on position 11 & 12: ADJ
W2
MCU Voltage
Select
Selects voltage powering MCU and related circuitry.
Jumper on position 1&2: Regulator Lo V as set by W1, is supplied by
MCU. Labeled LO V.
Jumper on position 3&2: Power supply, 5V Switched, is supplied by
board to MCU. Labele d 5V.
W3
Target Clock
Enable
Jumper on position 1&2: supplies KXICS,9.8304 MHz, clock, to MCU
and target via W4.
Jump er on pos ition 3 &2: disabl es Xta l clock out put, whi ch will affec t the
power-up reset. Labeled 0.
W4
PTB6 Select
Jumper on position 1&2: MCUs internal clock is supplied to target
cable via PTB6.
Jumper on position 3&2: KXICS Xtal clock is supplied to MCU.
1 2
11 12
13
13
13
Quick Start Hardware Configuration Guide
Installing the Hardware
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 55
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 MC68HC908KX8
Table 4-3 Cab le/Connecto r Options for MCUs
B.1.3 Host Computer KXICS Interconnection (J6)
Connect the DE9 serial cable. Connect one end of this cable to your host PC and
the other end to connector J6 on the KXICS board.
B.2 Installing the Hardware
For installing Motorola development tools, the following steps provide
installation instructions for the KXICS hardware.
To prepare the KXICS (Figure 2-1) for use with a host PC:
1. Install an MCU (DIP or SOIC) into the KXICS board.
DIP-type MCU:
a. Place the pin tension arm of the KXICS DIP socket XU1 in the up
position.
b. Install the DIP type MCU into the DIP socket XU1. Be sure that the
pin 1 orientation of the silkscreened dot on the MCU aligns with the
pin 1 location on the DIP socket (upper left pin of the socket) .
c. Place the pin tension arm of the KXICS DIP socket XU1 in the
down position to secure the pins of the MCU to the socket.
NOTE: The top (label side) of the MCU package must be visible when looking at the
component side of the board.
SOIC-type MCU:
MCU Flex Cable Ribbon
Cable MON08
Cable
MC68HC908KX8 J1 J5 J3
Users Manual M68ICS08KX In-Circuit Simulator
56 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
NOTE: Installation of a SOIC type MCU requi res the use of the SOIC-to-DIP adapter
identified in Table 1-1 of this manual.
a. Place the pin tension arm of the KXICS DIP socket XU1 in the up
position.
b. Install the SOIC-to-DIP adapter into the DIP socket XU1. Be sure
that the pin 1 orientation of the adapter aligns with the pin 1 location
on the DIP socket (upper left pin of the DIP socket).
CAUTION: The SOIC-to-DIP adapter may be confusing to install. It must be placed into the
DIP socket, XU1, with the hinged side of the SOIC shell aligned at the bottom
of the KXICS board. This positioning will place the SOIC-type MCU socket pin
1 in the upper left corner of the SOIC socket.
c. Place the pin tension arm of the KXICS DIP socket XU1 in the
down position to secure the pins of the adapter to the socket.
d. Open the hinged access door on the SOIC shell.
e. Install the SOIC-type MCU into the SOIC socket of the adapter. Be
sure that the pin 1 orientation of the silkscreened dot on the MCU
aligns with the pin 1 location on the SOIC socket (upper left pin of
the socket).
f. Close and secure the hinged access door on the SOIC shell.
2. Connect the board to the host PC.
Locate the 9-pin connector labeled J6 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, J2.
Plug the power supply into an ac power outlet, using one of the
country-specific adapters provided. (The KXICS green power LED on
the board should light when switch SW1 is in the ON position.)
B.3 Installing the Software
For instructions for installing the ICS08 software, refer to P&E Microcomputer
Systems, Inc., M68ICS08KX In-Circuit Simulator Operators Manual.
Quick Start Hardware Configuration Guide
Connecting to a Target System
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Quick Start Hardware Configuration Guide 57
B.4 Connecting to a Target System
The three ways to connect the M68ICS08KX simulator board to a target system
are via:
The flex cable
The ribbon cable
The MON08 cable
Connect the simulator board to the target system using one of these methods:
Using a flex cable
When emulating an MC68HC908KX MCU, connect the 16-pin
M68CLB05A flex cable (may be ordered) to the connectors labeled J1.
Attach the other end of the cable to the appropriate connector on the
target system. Target head adapters are available for the 16-pin SDIP,
16-pin DIP, and 16-pin SOIC versions of the MCU.
Using a ribbon cable
When emulating an MC68HC908KX MCU connect a 16-pin flat ribbon
cable to connector J5 on the simulator board. Attach the other end of the
cable to the appropriate connector on the target system.
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 KXICS.
Users Manual M68ICS08KX In-Circuit Simulator
58 Quick Start Hardware Configuration Guide MOTOROLA
Quick Start Hardware Configuration Guide
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Glossary 59
Users Manual M68ICS08KX 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 MC68HC908KX8 MCU.
accumulator An 8-bit register of the MC68HC908KX8 CPU. The con tents
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.
Users Manual M68ICS08KX In-Circuit Simulator
60 Glossary MOTOROLA
Glossary
C An abbreviation for carry/borrow in the condition codes register of the
MC68HC908KX8. 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 MC68HC908KX8.
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 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.
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 ocatio ns t hat are wire d dir ect ly into t he C PU lo gic
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).
Glossary
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Glossary 61
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 me mory location to a CPU;
in the MC68HC908KX8, 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
MC68HC908KX8. 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
MC68HC908KX8.
index register An 8-bit CPU register in the MC68HC908KX8 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.
Users Manual M68ICS08KX In-Circuit Simulator
62 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
MC68HC908KX8. 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 MS B of th e 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 MC68HC908KX8 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
Glossary
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Glossary 63
MCU because there is no way to expose the EPROM to a UV light.
PC Abbreviation for program counter CPU register of the
MC68HC908KX8.
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 MC68HC908KX8 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 R eset 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 MC68HC908KX8
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.
Users Manual M68ICS08KX In-Circuit Simulator
64 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 MC68HC908KX8.
Z Abbreviation for zero, a bit in the condition code register of the
MC68HC908KX8. 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.
Index
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Index 65
A
ASCII
characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
B
Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C
Cables
Flex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Serial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
checksum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Clock frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Clock selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Configuration
Standalone. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Configuration options
Evaluation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12, 45
Jumper Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13, 46
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12, 45
Simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12, 45
Standalone options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Connectors
J1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16, 28
J2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19, 31
J3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18, 30, 37
J4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
J5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17, 29
J6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19, 32
MON08. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Users Manual M68ICS08KX In-Circuit Simulator
Index
Users Manual M68ICS08KX In-Circuit Simulator
66 Index MOTOROLA
Index
D
Debugging interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Delay Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
DIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
E
examples
S records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
H
Half-duplex mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
hardware
installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Headers
P1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
High voltage transients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Host
interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Host computer requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
I
ICS PWR LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Interface Connection Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Flex cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MON08 cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Ribbon cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
J
J4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
K
KXICS
connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3, 5
Index
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Index 67
Hardware components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Hardware operators manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
operation voltage range. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
product components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
PWR LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
SOIC-to-DIP Socket Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
KXICS Software
components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
debugger/emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
development package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
operators manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
L
LED
amber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
ICS power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15, 49
Limitations
Bus Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Internal Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Low Voltage Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Port A0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
M
MCU
internal clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
timing source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
memory
address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Microcontroller
DIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
SOIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Modes of operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
MON08. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
MON08 connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Monitor Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Users Manual M68ICS08KX In-Circuit Simulator
68 Index MOTOROLA
Index
P
Parts list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
DTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
on/off. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
R
record length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
record type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
RTS siganl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
S
S records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3944
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Serial communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
serial port
connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Silk screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Software support programs
assembling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
emulating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
simulating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
SOIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
SOIC-to-DIP Socket Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
S-record
content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
field contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
S0 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
S1 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
S9 record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
termination record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Start-Up. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Index
M68ICS08KX In-Circuit Simulator Users Manual
MOTOROLA Index 69
T
Target system
connecting to. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Test points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
V
VTST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Y
Y1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26, 27
Users Manual M68ICS08KX In-Circuit Simulator
70 Index MOTOROLA
Index
M68ICS08KXUM/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 injury or death ma y occur. Should Buyer purchas e or use Mo torola products for any such unintend ed or u nautho rized app lica tion, B uyer sha ll 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.m ot.com; http://sps.mot orola.com/ mfax/ ;
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.