Zilog Z86C36 User Manual

Z86C36
ICEBOX
User Manual
UM002202-1001
ZiLOG Worldwide Headquarters • 910 E. Hamilton Avenue • Campbell, CA 95008
Telephone: 408.558.8500 • Fa x: 408.558. 8300 • www.ZiLOG.com
Z86C36 ICEBOX
This publication is subject to replacement by a later edition. To determine whether a later edition exists, or to request copies of publications, contact:
ZiLO G World w i de H e adquarte rs
910 E. Hamilton Avenue Campbell, CA 95008 Telephone: 408.558.8500 Fax: 408.558.8300
www.ZiLOG.com
Document Disclaimer
ZiLOG is a registered trademark of ZiLOG Inc. in the United States and in other countries. All other products and/or se rvice names mentioned herein may be trademarks of the companies with wh ich they are associated.
©2001 by ZiLOG, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest pos sible uses and may be superseded. ZiLOG , INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZiLOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. Excep t with t he express written approval of ZiLOG, use of informat ion, devices, or technology as criti cal components of life support systems is not authorized. No license s are conveyed, implicitly or otherwise, by this document under any intelle ctual property rights.

Table of Contents

Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
ICEBOX Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Supported ZiLOG Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Hardware Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
GUI-Supported Compiler, Assembler Formats . . . . . . . . . . . . . . . . . . . .4
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Additional Items Not Supplied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Optional Recommended Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Computer Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Minimum Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Contacting ZiLOG Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Setup and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Quick Installation Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Complete Installation Instructions . . . . . . . . . . . . . . . . . . . . . . . . . .12
Set Power Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Installing a New ICE Chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
ICEBOX Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Resetting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Z86C36
ICEBOX
iii
Table of Contents UM002202-1001
iv
Z86C36 ICEBOX
LED Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using ZDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Select the ICEBOX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Open a Project and Add Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Available Debug Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A: Troubleshooting Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Error Opening Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Count er Jumps to U n ex p e ct ed A d d r es s . . . . . . . . . . . . . . . . . . . . . . . . 32
ZDS Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Can Not Open Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Out of Synchronization with the Emulator . . . . . . . . . . . . . . . . . . . 33
Appendix B: ASCII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Appendix C: Problem/Suggestion Report Form . . . . . . . . . . . . . . . . . . . 41
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
UM002202-1001 Table of Contents

List of Figures

Figure 1. Hook-Up Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Figure 2. Z86C36 ICEBOX External Top V i ew. . . . . . . . . . . . . . . . 11
Figure 3. J1 Jumper Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 4. ICE Chip Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Figure 5. Closing the ICE Chip Locking Lever . . . . . . . . . . . . . . . . .18
Figure 6. New Project Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Figure 7. Emulator Configuration Dial og Box . . . . . . . . . . . . . . . . . .25
Figure 8. Project Viewer Window. . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 9. Insert Files into Project Dialog Box . . . . . . . . . . . . . . . . . .27
Figure 10. Project Viewer Window with File . . . . . . . . . . . . . . . . . . . 28
Z86C36
ICEBOX
v
List of Figures UM002202-1001
vi
Z86C36 ICEBOX
This page intentionally lef t blank.
UM002202-1001 List of Figures

List of Tables

Table 1. Z86C5020GSE ICE Chip Supported Products
Table 2. Z86C5120GSE ICE Chip Supported Products
Table 3. Front LED Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Table 4. Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Table 5. ASCII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Z86C36
ICEBOX
vii
(Z86C3500ZEM Target Emulator Selection) . . . . . . . . . . . .2
(Z86C3600ZEM Target Emulator Selection) . . . . . . . . . . . 2
List of Tables UM002202-1001
viii
Z86C36 ICEBOX
This page intentionally left blank.
UM002202-1001 List of Tables

Preface

Z86C36
ICEBOX
W e recommend that you read and understand everything in this manual before setting up and using the produc t. However, we recognize tha t users have differ ent sty les of learni ng. The refore, we have designe d this m anual to be used either as a how-to procedural manual or a reference guide to important data.
The following conventions have been adopted to provide clarity and ease of use:
Times 10-point a ll-caps is used to highlight the following items:
commands, displayed messages
menu selections, pop-up lists, button, fields, or dialog boxes
modes
pins and ports
program or application name
instructions, registers, signals and subroutines
an action performed by the software
icons
ix
Courier Regular 10-point is used to highlight the following
items
bit
software code
file names and paths
hexadecimal value
UM002202-1001 Preface
x
Z86C36 ICEBOX
Grouping of Actions Within a Procedure Step Actions in a procedure ste p are all performed on the same window or
dialog box. Actions performed on different windows or dialog boxes appear in separate steps.
UM002202-1001 Preface
Z86C36
ICEBOX
Electrical Safeguards
Follow the precautions list ed below to avoid permanent damage to the emulator.
1. Always use a grounding strap to prevent damage resulting from
electrostatic discharge (ESD).
2. Power-Up Precautions.
a. Ensure that all power to the emulator and the target application (if
any) is turned OFF.
xi
b. Connect the target pod to the target application (if any).
c. Power up the emulator, then press the RESET button.
d. Power up the target application (if any).
3. Power-Down Precautions.
When powering down, follow this procedure in the prec ise order
shown below:
a. Halt emulation.
b. In ZDS select Reset from the Build or Debug Menu.
c. Power down the target application board (if any).
d. Remove the target pod.
e. Power down the emulator.
Preface UM002202-1001
xii
Notes:
Z86C36 ICEBOX
1. Refer to the Precaution List section of the Product Information sheet for additional operating precautions specific to various devices.
2. Do not leave the emulator powered up with the RS-232C cable connected to a powered-down PC.
3. Before inserting target pod into target application board, refer to Chapter 2 to determine appropriate jumper selections and options.
UM002202-1001 Preface
Z86C36
ICEBOX
1
1

Introduction

OVERVIEW

Congratulations for sele cting a fine development tool! The Z86C36 ICEBOX provides in-circuit emula tion for the Z8 family of UART controllers. The ICEBOX consists of an emulation daughter board that is plugged into a 32-MHz motherboard using P1 and P2 headers. The Z86C50 ICE chip is used as the emulation pro cessor for devices with less than or equal to 32K of code memory. The Z86C51 ICE chip is used as the emulation processor for devices with 64K of code memory, that is, Z86C36 and Z86C46.
The 32 MHz motherboard has been modified for 64 K operation and provides host communication inte rface, control processor, I/O space decoding, and LED indicator. The ICEBOXes are designed to be used with ZiLOG Developers Studio, giving the user a total package to write, edit, and debug their applications.

ICEBOX FEATURES

Key features of the Z86C36 ICEBOX include:
Supports up to 64 K of ROM
The capability to vary the operating voltage from 3.0–5.0 V
Supports in-circuit emulation on target systems that operate from
3.0–5.5 V
The user can choose to power th e Ice chi p from e ither the ICEBOX or target board
Supports UART devices that operate up to 16.384 MHz
UM002202-1001 Introduction
Z86C36 ICEBOX
2
Emulates and supports all the feat ures and functions for a specified Z8 UART microcontroller
Multitasking allows the user to use ot her W indows a pplication s while ZiLOG Developer Studio (ZDS) is running

Supported ZiLOG Devices

T able 1 shows products supported by the Z86C5020GSE ICE chip. T able 2 shows the products supported by the Z86C5120GSE ICE chip.
Table 1. Z86C5020GSE ICE Chip Supported Pr od ucts (Z86C3500ZEM
Target Emulator Select ion)
Packages Emulation OTP Required Accessories
28 PDI P Z86C34–C35 N/A 28 PDIP emulation pod 28 SOI C Z86C34–C35 N/A 28 PDIP emulation pod and a DIP to SOIC
conversion adapter from Emulation Technology
(AS-DIP-6-028-S003-1 or AS-DIP-6-028-S003-2) 28 PLC C Z86C34–C35 N/A 28 PLCC emulation pod 40 PDI P Z86C44–C45 N/A 40 PDIP emulation pod 44 PLCC Z86C44–C45 N/A 44 PLCC emulation pod 44 QFP N/A N/A N/A
Table 2. Z86C5120GSE ICE Chip Supported Products (Z86C3600ZEM
Target Emulator Select ion)
Packages Emulation OTP Required Accessories
28 PDI P Z86C36 N/A 28 PDIP emulation pod
UM002202-1001 Introduction
Z86C36
Notes:
ICEBOX
Table 2. Z86C5120GSE ICE Chip Supported Products (Z86C3600ZEM
Target Emulator Select ion) (Continued)
Packages Emulation OTP Required Accessories
28 SOI C Z86C36 N/A 28 PDIP emulation pod and a DIP to SOIC
conversion adapter from Emulation Technology (AS-
DIP-6-028-S003-1 or AS-DIP-6 -028-S 003-2) 28 PLC C Z86C36 N/A 28 PLCC emulation pod 40 PDI P Z86C46 N/A 40 PDIP emulation pod 44 PLCC Z86C46 N/A 44 PLCC emulation pod
The Z86C3600ZEM becomes the Z86C3500ZEM when you use a Z86C50 ICE chip.
3
Introduction UM002202-1001
Z86C36 ICEBOX
4

HARDWARE SPECIFICATIONS

Operating Conditions

Operating Humidity: 10%-90% RH (Noncondensing) Operating Temperature: 20 °C ±10 °C Clocks: The control processor operates at 7.3728
Serial Baud Rate: 57,600 bps

Power Requirements

This ICEBOX requires an external 5VDC power supply.
Mhz; the emulation processor opera tes at
16.384 Mhz
Operating Voltage (Input): +4.75 VDC to +5.25 VDC Max
(+5.0 VDC typical) Operating Voltage (Target): +3.0 VDC to +5.5 VDC Max Operating Current: 2.5 A typical (maximum 3.0 A)

Serial Interface

ZiLOG Developer Studio communica tes with the Z86C36 ICEBOX using a DB25, RS-232 and DCE cable (TxD, RxD only).

GUI-SUPPORTED COMPILER, ASSEMBLER FORMATS

The ICEBOX supports object (binary or Int el hex) code file s produced by ZiLOG Developer Studio (ZDS) and ZiLOG Macro Cross Assembler (ZMASM).
UM002202-1001 Introduction

KIT CONTENTS

Note:
The ICEBOX kit contains one of each of the following items:
Z86C36
ICEBOX
5
Z86C36 ICEBOX 40 PDIP emulation pod with cable ZiLOG: 93C0024-001 44 PLCC emulation pod ZiLOG PC: 99C0273-001 28 PDIP emulation pod ZiLOG PC: 99C0742-001 28 PLCC emulation pod ZiLOG PC: 99C0512-001 Power Cable with Banana Plugs RS-232 Serial Cable, DB 25 ZiLOG Developer Studio Installation CD
Z86C36 ICEBOX User Manual
ZiLOG Developer Studio manual conta ined on the ZDS installation CD-ROM.
If the ZDS CD-ROM does not contain the manual, it can be downloaded from the ZiLOG web page at www .zilog.com.

Additional Items Not Supplied

The following item is required but are not currently supplied in the ICEBOX kit:
A source of power (+5 VDC typical) for the ICEBOX. This can be a laboratory power supply with curre nt rating of at least 2.5 ampere.
Introduction UM002202-1001
6
Note:
Z86C36 ICEBOX

Optional Recommended Item

The following items are recommended:
Your target design. The target design is a wire-wrapped or printed circuit prototype that includes a socket for the target device that the ICEBOX cable/pod plugs into.
C-Compiler
Contact a ZiLOG Sales Office or Distributor to order a copy of the Z8 C-Compiler. Refer to our website for a representative near you: http://www.zilog.com/sales/.
Oscilloscope
Logic Ana lyz er

COMPUTER REQUIREMENTS

Minimum Requirements

IBM PC (or 100-percent compatible) Pentium based machine
75 MHz or more with 16 MB RAM
VGA Video Adapter
Hard Disk Drive (12 MB free space)
CD-ROM Drive (a CD-ROM drive is not needed if you download ZDS from the web at www.zilog.com)
RS-232 COM Port
Mouse or Pointing Device
Microsoft Wi ndows 95/98/NT
UM002202-1001 Introduction
The following enhancements to the minimum requirements are recommended:
166-MHz IBM PC
SVGA video adapter
Printer

CONTACTING ZILOG CUSTOMER SUPPORT

ZILOG has a worldwide customer support center locate d in Austin, T exas. The customer support center is open from 7 a.m. to 7 p.m. Central Time.
The customer support toll-fre e number for the United States and Canada is 1-877-ZiLOGCS (1-877-945-64 27). For calls outside of the United States and Canada dial 512-306-4067. The FAX number to the customer support center is 512-306-4072. Customers can also contact the support center through our website at http://www.zilog.com/support/.
Z86C36
ICEBOX
7
For valuable information about hardware and sof tware development t ools, go to ZiLOG home page at http://www.zilog.com. The latest released version of the ZDS can be downloaded from this site.
Introduction UM002202-1001
8
Z86C36 ICEBOX
This page intentionally lef t blank.
UM002202-1001 Introduction
Z86C36
ICEBOX
9
2
2

Setup and Installation

HARDWARE INSTALLATION

Before ins talli n g the ha rdw ar e, ref er to Fi g ure 1 for a diagram on connecting the ICEBOX to a PC and power supply. Figure 2 provides option jumper locations.

Quick Installation Instructions

To install the hardware using a bench power supply, perform the following.
1. Set the correct jumper setting for powering the ICE chip and target board. See Set Power Jumper on page 12.
2. Connect the power supply to the emulator and ensure it is set to provide + 5.0 V and 2.5 A.
3. Connect the serial cable to the PC.
4. Connect the ICEBOX to the target board (if performing in-circuit emulation).
5. Set up the oscillator and option jumpers.
6. Select the ICE chip that you want to emulate.
7. Power up the ICEBOX.
UM002202-1001 Setup and Installation
10
Note:
Z86C36 ICEBOX
-
+
Figure 1. Hook-Up Diagram
Each ICEBOX is shipped with a 16.384 MHz oscillator. The user can also use the target’s oscillator or a crystal/ ceramic resonator to clock the ICE chip, for more inf ormation see Jump er Setti ngs on page 20.
UM002202-1001 Setup and Installation
Z86C36
ICEBOX
11
RS-232C
ICE chip ziff
socket
J5
U1
Power
Logic analyzer connec tor*
Voltage
adjuster
J1
J3
J2
Oscillator
J6
J7
Target Pod
Debug
pins
Reset
Reset
LEDS
*This is not support ed.
Figure 2. Z86C36 ICEBOX External Top View
Setup and Installation UM002202-1001
12
Caution:
Note:
Z86C36 ICEBOX

Complete Installation Instructions

The following procedures illustrate a complete step-by-step guide on installing the ICEBOX.

Set Power Jumper

The Z86C36 ICEBOXes allow the user to power the ICEBOXes and target from a variety of different sources. Before powering the ICEBOX the user should select the power configuration.
The procedures below must be followed exactly as described. Before beginning th e procedur es study F igure 3, which shows a schematic of the J1 power jumper. Failure to follow the proce­dures will result in total damage to the ICEBOX or target.
Choose from one of the following options when selecting the power source:
Jumper pin 1 to pin 2 to power the ICE chip with the ICEBOX’s adjustable regulat or
Jumper pin 3 to pin 4 to power target with the ICEBOX’s adjustable regulator
Jumper pin 1 to pin 2 and pin 3 to pin 4 to power both the ICE chip and target from the ICEBOXs adjustable regulator
Jumper pin 2 to pin 4 to power the ICE chip from the target
When powering the target from the ICEBOX ensure that the target’s power supply is disconnected.
UM002202-1001 Setup and Installation
Z86C36
Note:
Caution:
ICEBOX
13
1
ICEBOX Adjustable
Voltage Regulator
3
Figure 3. J1 Jumper Schematic
2
ICE chip
Target
4
Connect the Power Supply
1. If the power supply allows voltage adjustment:
Turn the power supply on and adjust it to +5 V Adjust the limiting adjustment, if present, to at least 2.5 A
2. Turn the supply off.
3. Locate the power cable (red wir e, b lack wire, and ba nana plugs on t he other end). Plug in the black banana plug into the black jack on the power supply (labeled COM, GND, or with the ground symbol) . Plug the red plug into the red jack on the power supply (label ed +, + V or +5 V).
4. Plug the white connector on the other end of the cable into the matching 4-pin connector on the back side of the ICEBOX. This connection is keyed to ensure against an improper connection.
The ZiLOG Power Supply Accessory Kit (ZPS05V00ZAC), which is sold separately, provides a fixed-5 V Universal Output Power Supply, accepts 110 V to 220 V AC input, and includes a power cable and an in-line jack cable.
Always check the supply voltage before plugging in the power cord.
Setup and Installation UM002202-1001
14
Note:
Caution:
Z86C36 ICEBOX
Connect the Serial Cable to the PC
Locate the serial cable. Connect the male end to the female connector on the back of the ICEBOX, and the female end to either the COM1, COM2, COM3, or COM4 connector of the host PC, see Figure 1.
If connector availability is limited to a 9-pin COM1 through COM4, then use either a different cable or a 25-pin to 9-pin converter. This converter is available at any electronics store for a nominal fee.
Connect to the Design
Perform the foll o wing steps to co nn ect to the targe t desi gn:
W ear a properly grounded wrist strap or similar ESD protection before continuing.
1. Locate the emulation cable for the device.
2. Plug the cable into the ta rget devi ce. Ensur e that t he p in 1 marki ng (as indicated by the red mark on the ribbon cable) matches pin 1 on the target board.
3. Plug the other end of the cables into target pod on top of the ICEBOX. See Figure 2 for the location of the target pod.
4. Select the power source for the ICE chip by configuring the J1 jumper. See Table 4 for more info rm at ion on jum per settings and Figure 2 for the location of the J1 jumper.
5. If the target and ICEBOX are using separate power supplies, e nsure that the ICE chip voltage matches the targets device voltage. Adjust the voltage by performing the following steps:
a. Measure the voltage of your target. b. Locate the voltage adjuster on top of the ICEBOX. See Figure 2
for the location of the voltage adjuster
UM002202-1001 Setup and Installation
Z86C36
Caution:
Caution:
ICEBOX
c. Attach the voltmete r lead to eit her pi n 1 or 3 on the J1 j umper and
ground. d. Power the ICEBOX with the target device disconnected. e. Turn the voltage adjusters screw until the voltmeters read-out
matches the target devic e ’s voltage.
Failure to match the target devices voltage with the ICE chip’s voltage could result in dama ge to the ICEBOX, target de vice, or ICE chip.
Power the ICEBOX
If anything unusual (such as an unexpected sound and/or smell) occurs when turning on the power supply, turn off the power supply and check the setting for the J1 jumper. See Set Power Jumper on page 12. If the power supply allows voltage adjus tment, adjust it again to +5 V. The power supply output may measure less than +5 V because of the load of the ICEBOX. If your power supply has a current meter, ensure that the ICEBOX is drawing within the rated current.
15
After power-up, press the RESET button to reset the ICE chip. (Pressing the RESET button avoid s bus cont ention on the I /O li nes.) I f the I CEBOX is not powering your design through the V
pin, turn on the power
CC
supply of the design.
If your design already has a power supply, do not power your design from the ICEBOX V
CC
pin.
When powering down, follow the procedure descr ibed below:
1. Halt emulation.
2. In ZDS select Reset from the Build or Debug Menu.
3. Power down the target application board (if using its own power supply).
4. Power down the ICEBOX.
Setup and Installation UM002202-1001
16
Note:
Note:
Caution:
Note:
Z86C36 ICEBOX
Refer to the complete Electrical Safeguards shown in the preface of this manual.

Installing a New ICE Chip

The Z86C36 ICEBOX comes with the Z86C 51 ICE chip. Under ordinary circumstances, the user should never have to remove this ICE chip. If for some reason the ICE chip needs to be replaced, follow the procedures below. See Figure 4 and Figure 5 for more information.
Replace the Z86C51 ICE chip with the Z86C50 ICE chip to support devices with 32K code size or less.
Failure to follow the procedures below could result in damage to the ICEBOX.
Perform the foll o wing steps to rep lace the ICE chip.
1. Disconnect all power to the ICEBOX
2. Move the ICEBOX ziff socket labeled U1 to the upright position and remove the ICE chip. See Figure 2 for the location of the ziff socket.
3. Place the new ICE chip into the U1 ziff socket. Ensure that the ICE chip’s pin 1 matches pin 1 on the U1 ziff socket.
4. Close the ziff socket locking lever.
A dot in the corn er of the pr oces s or ind icat es the chi p s pin 1 location.
UM002202-1001 Setup and Installation
Z86C36
ICEBOX
17
Figure 4. ICE Chip Installation
Setup and Installation UM002202-1001
18
Z86C36 ICEBOX
Figure 5. Closing the ICE Chip Locking Lever

SOFTWARE INSTALLATION

For more information on installing ZDS, refer to the user manual that is included on the installation CD-ROM or download ZDS literature from the ZiLOG web page at www.zilog.com.

ICEBOX OPERATION

The following topics guide the user on how to operat e the ICEBOX and configure jumper settin gs.
UM002202-1001 Setup and Installation

Resetting

Note:
Press the RESET button on the ICEBOX to reset the state of the target device and the status that was establ ished using ZDS.
For example, the ICEBOX sets the program counter to 000Ch. After reset, wait until the Ready LED is ON and has finished blinking
before starting ZDS. Refer to the LED Operation section of this chapter for mor e details.
Always press the RESET button on the ICEBOX before starting ZDS.

LED Operation

ZiLOG ICEBOXes use LEDs to communicate the different hardware states. The following table gives a description of the LEDs. The ICEBOXs LEDs are located on the right front of the ICE B O X . Se e Table 3.
Z86C36
ICEBOX
19
Table 3. Front LED Assignments
LED Indication Description
READY On
Off
RUN On
Off
OTP On
Off
PWR On
Off Blink
Setup and Installation UM002202-1001
Communicating in Bisync Mode and waiting for comma nd Communicati ng in AS CII Mode or executing Bisync command
Running user code Not running user cod e
The ICEBOX is performing OTP programming The ICEBOX completed OTP programming
ICEBOX is powered up and Self Test is completed Power is off ICEBOX is self-testing
Z86C36
Note:
ICEBOX
20

Jumper Settings

T able 4 lists jumper setting that the are easily configured by the user. See Figure 2 for the location of the jumpers.
Tabl e 4. Jumper Se tti ng s
Jumper Pin Position Description
J1 1-2 In Powers the ICE chip with ICEBOX’s adjustable voltage
regulator (default), for more in form ation see Figure 3 J1 3-4 In Powers the Target with ICEBOXs adjustable voltage regulator J1 2-4 In Target powers the ICE ch i p J2 1-2 In Y2 Crystal to XTAL2 J2 2-3 In User Cr y s ta l to X TAL2 J3 1-2 In Y2 Crystal to XTAL1 J3 2-3 In User Cr y s ta l to X TAL1 J3 2-4 In Canned Oscillator to XTAL1 (Default) J5 1-2 In Not installed (factory settings) J6 2-4 In Enable if P3.4 used for external memory/DM (see note) J6 2-3 In P3.4 not used (default) J6 1-2 In Ground signal J7 1-2 In Default setting J7 2-3 In Output of PAL (Programable Array Logic)/not used
Port 3 pin 4 can be used as an output pin or an external memory indicator. If P3.4 is used for external memory and not data memory , then jumper pin 2 to pin 4 on the J6 jumper.
UM002202-1001 Setup and Installation
Z86C36
ICEBOX
The user can adjust the voltage of the ICE chip to match the targets voltage using the ICEBOX’s R55 Voltage Adjuster. See Figure 2 for the location of the voltage adjuste r.
21
Setup and Installation UM002202-1001
22
Z86C36 ICEBOX
This page intentiona lly left blank.
UM002202-1001 Setup and Installation
Z86C36
Note:
ICEBOX
23
3
3

Overview

USING ZDS

Select the ICEBOX

This ICEBOX is fully compatible with ZiLOG Developer Studio (ZDS) software. The fol lowing steps br iefly de scr ibe th e procedur es ne cessary to setup and create projects with the Z86C36 ICEBOX. A summary of the ICEBOX’s available debug windows is also included at the end of this chapter.
For more detailed informatio n on using ZDS, refer to the ZDS User Manual (in PDF format) located on the installation CD-ROM, or download the latest informat ion from our web site at www.zilog.com.
Perform the foll o wing steps to se lect the IC EB OX an d creat e a ne w project:
1. Open ZDS by selecting Start>Programs>Zilog Developer Studio> ZDS.
2. Choose New Project from the File menu. The New Project dia lo g box appears as show in Figure 6.
If the project has already been created, s elect Target from the Project menu and perform the following steps that are applicable for the ZiLOG MCU Database dialog box.
UM002201-0301 Overview
24
Note:
Z86C36 ICEBOX
Z86C3500ZEM
Figure 6. New Project Dialog Box
3. Select Family in the Selection by field.
4. Select Z8 from the Master pop-up list.
5. Select a microcontroller from t he Z8 fa mily in the Project Target pop­up list.
6. Select Z86C3500ZEM or Z86C3600ZEM in the Emulator pop-up list.
The Z86C3600ZEM becomes the Z86C3500ZEM when you use a Z86C50 ICE chip.
7. Click on the browse button (...) in the Project Name field. The New Project Browser dialog box appears.
8. Enter the project file name and select a path in the New Project Browse dialog box.
UM002201-0301 Overview
Z86C36
Note:
Note:
ICEBOX
All build output files, such as linker and assembly files are saved in the same direc tory as the project.
9. Click Save. The project name appears in the P roject Na me field in the
New Project dialog box.
10. Click on Chip Data to view the microcontroller specifications.
Fields in the Chip Data page are read-only and can not be modified.
11. Click OK. The new project is saved as the name specified in the New
Project Browse dialog box.
12. Select Emulator Configuration from the Project menu. The Emulator
Configuration dialog box appears, as shown in Figure 7.
25
Figure 7. Emulator Configuration Dialog Box
Overview UM002201-0301
26
Note:
Z86C36 ICEBOX
13. Ensure that Emulator is selected in the Module field.
14. Select the port the ICEBOX is connected to from the Port pop-up list.
15. Select 57600 from the Baud Rate pop-up list.
16. Click OK to close and apply the Emulator Configurat ion options.
17. Select Save Project from the File menu to save the emulator configuration setting.

Open a Project and Add Files

A previously created project has the following attributes saved with it:
T arget settings
Assemb ler an d Link er se ttin gs for the specified target
Source files (including header files)
Use the Proj ect Viewer window to vie w and acc ess the va rio u s files in any given project.
Perform the following steps to open a previously created project:
1. Select Open Project from the File menu. The Open Project dia lo g box appears.
2. In the Open Project dialog box, select the previously created project. The project appears in the Project Viewer window, as shown in Figure 8.
UM002201-0301 Overview
Z86C36
ICEBOX
Figure 8. Project Viewer Window
Add an Existing File
Perform the following steps to add an existing file to a project:
1. Select Add to Project>Files from the Project menu. The Insert Files
into Project dialog box appears, as shown in Figure 9.
27
Figure 9. Insert Files into Project Dialog Box
2. Select the file to add to the project.
Overview UM002201-0301
28
Note:
Note:
Z86C36 ICEBOX
3. Click Open. The file appears in the Proje ct Viewe r window, a s shown in Figure 10.
Figure 10. Project Viewer Win dow with Fil e
4. Double-click on the file in the Project Viewer window. The file appears in the ZDS main Edit window.
In some cases, non-editable files, such as .obj files need to be included in a project. These files are displayed in the source file list, but cannot be opened. When the projec t is built, th ese file s are automatically linked.
5. Select Update All Dependencies from the Build menu. The Dependencies folder list in the Project Viewer window is updated.
Add a New File
1. Select Add to Project>New from the Project menu. The Insert New Files Into Project dialog box appear s.
2. Type a file name in the File Name field.
3. Click Open. The new file name appear s in the Pro ject V i ewer window with a .asm suffix, and a blank Edit window also appears.
Header and Included files do not have to be added. The progra m detects thos e ca lled b y th e source code.
UM002201-0301 Overview
#8#+.#$.'&'$7)9+0&195
Table 5 lists the debug windows that are available using ZDS.
Table 5. Debug Windows
Z86C36
ICEBOX
29
Window
Watch
Z8 Standard Registers Code Memory
Disassembly
Function Updated values display in red
Shows the symbols and the contents of the registers(see the ZDS user manual for more information)
Shows the contents of the Z8 standard registers
Allows the user to m onitor, edit, and d ownload a .ld file or a .hex file into Code Memory from generated assembly source code
Tracks a specific address ente red in the Code Address ed it box
Shows code memory along with the corresponding disassembled code
Allows the user to edit, and download a file.ld or file.hex into the Code memory
Follows the program counter
Provides a complete scroll down with this window, however the scroll up is limited
Accesses the disassembly of code at the address specified in the Code Address field
The Disassembly wind ow is automatically displayed w hen debugging hex code or whenever there is no corresponding source fi le avai la ble at t he add ress spec i fie d by t he pro gram counter
Overview UM002201-0301
30
Z86C36 ICEBOX
Table 5. Debug Windows (Continued)
Window
Z8 Register File
Z8 Expanded Register
Working Registers Timer Count er Registers •Modify and view the timer/counter registers in this window Ports Register
Function
Shows all Z8 internal and external registers, all RAM pointer and data registers, status registers and status flags, and stacks
Monitor and edit write-able registers in this window
Displays the Z8 Expanded Register banks that are specified in the configuration
Monitor and edit write-able registers directly in this window by selecting a specific bank tab
Modify and view working registers in this window
Monitor and edit port registers in this window
Updated values display in red
UM002201-0301 Overview
Z86C36
Note:
ICEBOX

Appendix A: Troubleshooting Guide

INTRODUCTION

Before contacting a ZiLOG represen tat i ve or submitting a Problem Report, please follow these simple steps. Also, check the Precautions and Limitations sections in the Product Information document included with the emulator to eliminate other possible known problems. If a hardware failure is suspected, contact a local ZiLOG representative for assistance.

ERROR OPENING SERIAL PORT

If the initial ZiLOG screen is not appearing after selecting the COM port and the screen message displays Time-out while reading:
31
1. Check the RS-232C cable connection and communication port
selection in ZDS. See Select the ICEBOX on page 23 for more information on how to configure the host PC’s port.
2. Reset the emulator and ZDS.
3. Try connecting another cable.
4. Check if transmit/receive signals need to be swapped.
On some DB9 connectors for the COM ports, the transmit/receive signal may be swapped and a Null Modem adapter may be required.
5. Ensure that the power supply is co nnected, is turned on, and power i s
available.
6. Ensure that the power supply is set at the correct voltage.
UM002202-1001 Appendix A: Troubleshooting Guide
Z86C36 ICEBOX
32
7. Ensure that the J1 power jumper has been properly configured. See Set Power Jumper on page 12 for more information on setting the J1 jumper.
8. Check if power supply is supplying the required current (2.5 A typical) to the emu lat o r.
9. Check selected the port using another application or select another COM port.
10. After resetting the emulator, wait a minimum of 5 seconds before running ZDS.

COUNTER JUMPS TO UNEXPECTED ADDRESS

Any instruction other than a DI instruction is used to disable interrupts. Possible causes include:
The stack overflows into the general register locations.
Extra POP, PUSH, IRET, or RET is encountered (stack unbalanced).
Program resets repeatedly. – Program counter rolls over from value FFFF to 0000 and
proceeds back to the beginning of progra m.
Wa tch-Dog Timer (WDT) is not initializ ed or ref reshed.
Unintialized interr upt vector is activated. The interrupt vector is not set to the interrupt handler.

ZDS ERROR MESSAGES

Can Not Open Windows

If this message appears while attem pting to open a window ZDS, there may not be enough memory within the Microsoft Windows environment
UM002202-1001 Appendix A: Troubleshooting Guide
to properly run ZDS. Try closing the other active applications or exit and re-enter the Microsoft Windows environment.

Out of Synchronization with the Emulator

This mess age ap p ear s wh enev e r co mm u nic at ion be t ween the em u lat or and the PC is interrupted.
1. Ensure that the power cable is connected.
2. Ensure that the RS-232C cable is connected.
3. Change the baud rate setting (default is 19200). A lower setting
usually improves communications reliability.
4. Reestablish communication between ZDS and the emulator. See the
ZDS on-line help for more information on establishing communication with an emulator.
Z86C36
ICEBOX
33
Appendix A: Troubleshooting Guide UM002202-1001
34
Z86C36 ICEBOX
This page intentionally left blank.
UM002202-1001 Appendix A: Troubleshooting Guide

Appendix B: ASCII Character Set

Table 6. ASCII Character Set
Graphic Decimal Hexadecimal Comments
0 0 Null 1 1 Start Of Heading 2 2 Start Of Text 3 3 End Of Text 4 4 End Or Transmission 5 5 Enquiry
Z86C36
ICEBOX
35
6 6 Acknowledge 7 7 Bell 8 8 Backspace
9 9 Horizontal Ta bulation 10 A Line Feed 11 B Ve rtical Tabulation 12 C Form Feed 13 D Carriage Return 14 E Shift Out 15 F Shift In 16 10 Data Link Escape 17 11 Device Control 1 18 12 Devic e Control 2
UM002202-1001 Appendix B: ASCII Character Set
Z86C36 ICEBOX
36
Table 6. ASCII Character Set (Continued)
Graphic Decimal Hexadecimal Comments
19 13 Devic e Control 3 20 14 Devic e Control 4 21 15 Negat ive Acknowledge 22 16 Synchronous Idle 23 17 End Of Bloc k 24 18 Cancel 25 19 End Of Medium 26 1A Substitute 27 1B Escape 28 1C File Separator 29 1D Group Separator 30 1E Record Separator 31 1F Unit Separator
32 20 Space ! 33 21 Exclamati on P o in t " 34 22 Quotation Mark
# 35 23 Number Sign
$ 36 24 Dollar Sign % 37 25 Percent Sign & 38 26 Ampersand
39 27 Apostrophe ( 40 28 Opening (Left) Parenthesis ) 41 29 Closing (Right) Parenthesis
UM002202-1001 Appendix B: ASCII Character Set
Table 6. ASCII Character Set (Continued)
Graphic Decimal Hexadecimal Comments
* 42 2A Asterisk + 43 2B Plus
, 44 2C Comma
- 45 2D Hyphen (Minus) . 46 2E Period
/ 47 2F Slant 0 48 30 Zero 1 49 31 One 2 50 32 Two
Z86C36
ICEBOX
37
3 51 33 Three 4 52 34 Four 5 53 35 Five 6 54 36 Six 7 55 37 Seven 8 56 38 Eight 9 57 39 Nine
: 58 3A Colon
; 59 3B Semicolon < 60 3C Less Than = 61 3D Equals > 62 3E Greater Than ? 63 3F Question Mark
@ 64 40 Commercial At
Appendix B: ASCII Character Set UM002202-1001
Z86C36 ICEBOX
38
Table 6. ASCII Character Set (Continued)
Graphic Decimal Hexadecimal Comments
A 65 41 Uppercase A
B 66 42 Uppercase B C 67 43 Uppercase C
D 68 44 Uppercase D
E 69 45 Uppercase E
F 70 46 Uppercase F G 71 47 Uppercase G H 72 48 Uppercase H
I 73 49 Uppercase I
J 74 4A Uppercase J
K 75 4B Uppercase K
L 76 4C Uppercase L M 77 4D Uppercase M N 78 4E Uppercase N
0 79 4F Uppercase 0
P 80 50 Uppercase P Q 81 51 Uppercase Q
R 82 52 Uppercase R
S 83 53 Uppercase S
T 84 54 Uppercase T U 85 55 Uppercase U V 86 56 Uppercase V W 87 57 Uppercase W
UM002202-1001 Appendix B: ASCII Character Set
Table 6. ASCII Character Set (Continued)
Graphic Decimal Hexadecimal Comments
X 88 58 Uppercase X Y 89 59 Uppercase Y
Z 90 5A Uppercase Z
[ 91 5B Opening (Left) Bracket \ 92 5C Reverse Slant
] 93 5D Closing (Right) Bracket ^ 94 5E Circumflex _ 95 SF Underscore
96 60 Grav e A cc en t
Z86C36
ICEBOX
39
a 97 61 Lowercase A b 98 62 Lowercase B c 99 63 Lowercase C d 100 64 Lowercase D e 101 65 Lowercase E
f 102 66 Lowercase F g 103 67 Lowercase G h 104 68 Lowercase H
i 105 69 Lowercase I
j 106 6A Lowercase J k 107 6B Lowercase K 1 108 6C Lowercase L
m 109 6D Lowercase M
n 110 6E Lowercase N
Appendix B: ASCII Character Set UM002202-1001
Z86C36 ICEBOX
40
Table 6. ASCII Character Set (Continued)
Graphic Decimal Hexadecimal Comments
o 111 6F Lowercase O p 112 70 Lowercase P q 113 71 Lowercase Q
r 114 72 Lowercase R
s 115 73 Lowercase S
t 116 74 Lowercase T u 117 75 Lowercase U v 118 76 Lowercase V
w 119 77 Lowercase W
x 120 78 Lowercase X y 121 79 Lowercase Y z 122 7A Lowercase Z { 123 7B Opening (Left) Brace
| 124 7C Vertical Line } 125 7D Closing (Right) Brace
~ 126 7E Tilde
127 7F Delete
UM002202-1001 Appendix B: ASCII Character Set

Appendix C: Problem/Suggestion Report Form

If you experience any problems while operating this product, or if you note any in ac­curacies while reading the user manua l, please copy this fo rm, fill it out, the n mail or fax it to
Customer Information
Name Country Company Telephone Address Fax Number City/State/ZIP E-Mail Address
ZiLOG. We also welcome your suggestions!
Z86C36
ICEBOX
41
Product InformationReturn Information
Serial # or Board Fab #/Rev. # ZiLOG, Inc. Software Version System Test/Customer Support Manual Number 910 E. Hamilton Ave., Suite 110, MS 4-3 Host Computer Description/Type Campbell, CA 95008
Fax Number: (408) 558-8536 Email: tools@zilog.com
Problem Description or Suggestion
Provide a complete desc ription of the problem or your suggestion. If you are reporting a specific problem, include all steps leading up to the occurrence of the problem. Attach additional pages as necessary. _______________________________________________________________________________
______________________________________________________________________________
_______________________________________________________________________________
UM002202-1001 Appendix C: Problem/Suggestion Report
42
Z86C36 ICEBOX
This page intentiona lly left blank.
UM002202-1001 Appendix C: Problem/Suggestion Report
Z86C36
ICEBOX

Glossary

ASCII American Standard Code of Information
Interchange.
Baud Unit of measure of transmission capacity.
Binary Number system based on 2. A binary digit is a bit.
BISYNC Bidirectional Synchronous Communication
Protocol.
Bit A digit of a binary system. It has only two possible
values: 0 or 1.
43
BPS Bits Per Second. Number of binary digits transmitted
every second during a data-tran sf er procedure.
Bus In Electr onics, a parallel interconnection of the
internal units of a system that enables data transfer and contro l Information.
Byte A collection of four sequential bits of memory. Two
sequential bytes (8 bits) comprise one word.
COM Device name used to designate a communication
port.
DIP Dual In-line Package. The plastic housing designed
to be attached directly to a circuit board or equipment case.
UM002202-1001 Glossary
Z86C36 ICEBOX
44
Emulation Process of duplicating the behavior of one product or
part using another medium.
Emulat or An emulatio n devi ce . Fo r example, an In-Circui t
Emulator (ICE) module duplicates the behavior of the chip it emulates in the circuit being tested.
GUI Graphical User Interface. The windows and text that
a user sees on their computer screen when they are using a program.
ICE In-Circuit Emulator. A ZiLOG product which
supports the application de sign process.
Icon A small screen imag e rep resen t in g a spe cifi c
element like a document, embedded and linked objects, or a collection of progra ms gathered together in a group.
Initialize To establish start-up parameters, typically involving
clearing all of some part of the device’s memory space.
Instruction Command.
I/O Input/Output. In computers, the part of the system
that deals wi th inter facing to external dev ic es for input or output, such as keyboards or printers.
MCU Microcontroller or Microcomputer Unit.
OTP On e -T ime Programmabl e.
PC Personal computer, program counter.
UM002202-1001 Glossary
Z86C36
ICEBOX
POP Retri eve a V alu e fro m the Sta ck.
Port The point at which a communications circui t term i-
nates at a Network, Serial, or Parallel Interface card.
PUSH Store a Value In the Stack.
RA Relative Address.
RAM Random-Access Memory. A memory that can be
written to or read at random. The device is usuall y volatile, which means the data is lost without power.
RS-232C Electronic Industries Association Standard for
Asynchronous Transmissions Betwe en a Computer and a Peripheral Device.
45
SOIC Small Outline IC.
SVGA S uper Video Graphics Adapter.
TMR Timer Mode Register.
UART Universal Asynchronous Receiver Transmitter.
Component or functional block that han dles asynchronous communicatio ns. Co nverts the data from the parallel format in which it is stored, to the serial format for transmission.
V Volt, Overflow Flag.
V
CC
Glossary UM002202-1001
Supply Voltage.
Z86C36 ICEBOX
46
WDT Wat ch-D o g Tim er. A tim er tha t, when en abl ed under
normal operating conditions, must be reset within the time period set within the application (WDTMR (1,0)). If the timer is not reset, a Power-on Reset occurs. Some earlier manuals refer to this timer as the WDTMR.
Word Amount of data a processor can hold in its registers
and process at one time. A DSP word is often 16 bits. Given the same clock rate, a 16-bit controlle r processes four bytes in the same time it takes an 8-bit controller to process two.
XTAL Crystal.
Z8 ZiLOG Chip.
ZDS ZiLOG Developer Studio. ZiLOGs program
development environment for Windows 95/98/NT.
Z locatable object modules for the ZiLOG family of
microcontrollers.
ZMASM ZiLOG Macro Cross Assembler. ZiLOGs program
development environment for Windows 3.1.
UM002202-1001 Glossary

Index

Z86C36
ICEBOX
47
A
Adjust the voltage 14 Appendix A 31, 35, 41 ASCII Ch ara ct er Set 35 Available Debug Windows 29
C
Chip Data 25 Choosing the IceChip 15 Clocks 4 Connect to Your Design 14
E
Error Messages 32
H
Header and Included files 28
I
Index 47 Insert Files 27 Installation 9, 23 installation inst ructions 12
J
jumper settings 18
K
Kit Contents 5
L
LED Operation 19 List of Figures v List of Tables vii
O
Overview 1
P
power supply 13
adjusting 13 problems 15 settings 9
powering down 15
Q
Quick installation 9
Index UM002202-1001
Z86C36 ICEBOX
48
R
Requirements 6 RESET 15 Resetting 19
S
Selecting the emulator 23 serial cable 1 4 Software Installation 18 Software Setup 23
T
Table of Contents iii Target connectors 11
V
voltage adjuster 14
Z
ZDS
adding files 26 Create a New Project 23 Debug windows 29 New Project 25 obj files 28 Open a project 26 Project Viewer window 28
UM002202-1001 Index
UD[7..0]
UM002202-1001 Schematic-1
<>1E3
C50SZ[2..0]<1A3
U_P1[7..0]
<>1E4
U_D[7..0]<>1A4
nIRQ3<3A1
nRESET<1E4;>3A3
ICRAM<1E4
U_P0[7..0]>1E1
SMR<3A3
U_P2[7..0]>1A4
TARGET CONNECTION
nU_RESET>1A4
T_P37<3A1 T_P30>3A2 U_P3[7..0]>1E1 U_P37>3A2 U_P30<3A1
VccADJ
XTAL1>3A3
CLK_TgtVcc1
J1
1 3
CLK_VCC
MA[15..0] >1A1
nU_AS >4E4
nU_MAS >4E4
nU_DS >1A4
nU_MDS >1A4
U_RW >1A4
nIACK
>1A4
nSYNC >1A4
SCLK >1A4;>3A3
nSTOP >3A3 TCLK >4E4 RBP[3..0] >3A4,>4A1
RA[7..0] >3A4,>4A3
nREGRD >3A4 nREGWR >3A4 nCE_ERF >3A4
TP4
VccICE
1 2 3 4 5
CON5
IWD[7..0] >3A4
IRD[7..0] <3A4
>1
14Tuesday, July 27, 1999
of
TP5
1 2
CON2
VccICE
UD0 UD1 UD2
C50SZ0 C50SZ1 C50SZ2
XTAL1
1 2 3
1 2 3
UD3 UD4 UD5 UD6 UD7
nIRQ4
ICRAM
SMR ADMUX
U_P00 U_P01 U_P02
U_P03 U_P04 U_P05 U_P06 U_P07
U_P10 U_P11 U_P12 U_P13 U_P14 U_P15 U_P16 U_P17
U_P20 U_P21 U_P22 U_P23 U_P24
U_P25 U_P26 U_P27
U_P30
U_P31
U_P32
U_P33
U_P34
U_P35
U_P36
U_P37
XTAL2
J2
J3
4
R2410k
R2210k
R2110k
nIRQ3
nRESET
P3
U_RW
1
2 4 6
8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80
2
VccICE
4
3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79
VccTGT
nU_DS U_P25 U_P24 U_P26 U_P23 U_P27 U_P22 U_P04 U_P21 U_P05 U_P20 U_P06 U_P03 U_D4 U_D3 U_D5 U_D2 U_P07
VccTGT U_P02 U_D6 U_D1 U_D7 U_D0 U_XTAL2 U_P01 U_XTAL1 U_P00 U_P31 T_P30 U_P32 U_P36 U_P33 T_P37 U_P34 U_P35 nU_AS nU_RESET
U_P37 U_P30
C8022pF
Y2
20MHz
R2510k
R2310k
C8122pF
Crystal2
U_XTAL2
Crystal1
U_XTAL1
B12 A12 C10 B11 A11 B10
A10
M10
N11
J13
C9
B9 A9 C8
L9 J1
J2 K1 K4
L8
B8 A8 B7 C7 A6 B6 C6 A5
E2 E1 F3 F2 G2 G3 G1 H1
B5 C5 B4 A3 A2 C4 B3 A1
C3 B2 B1 D3 C2 C1 D2 D1
M9
F1 H3
N7
ZIF SOCKET
U1
D0 D1 D2 D3 D4 D5 D6 D7
SIZE0 SIZE1 SIZE2
IRQ3 IRQ4 RESET
DTIMERS HOLD WAIT
ADMUX
P00 P01 P02 P03 P04 P05 P06 P07
P10 P11 P12 P13 P14 P15 P16 P17
P20 P21 P22 P23 P24 P25 P26 P27
P30 P31 P32 P33 P34 P35 P36 P37
XTAL1
XTAL2
GND_F1 GND_H3 GND_J13 GND_N7
Z86C50
ZIF SOCKET
MAS
MDSSMR
R/W
IACK
SYNC
SCLK
SCLKN
HALT
STOP
CT0
TCLK
RBP0 RBP1 RBP2 RBP3
RA0 RA1 RA2 RA3 RA4 RA5 RA6 RA7
REGRD REGWR CE_ERF
IWD0 IWD1 IWD2 IWD3 IWD4 IWD5 IWD6 IWD7
IRD0 IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 IRD7
VCC_A4GND_A7
VCC_D13
VCC_E3
VCC_N10
GND_N9
3
1
M8
A0
N8
A1
L7
A2
M7
A3
N6
A4
M6
A5
L6
A6
N5
A7
M5
A8
N4
A9
M4
A10
N3
A11
M3
A12
L4
A13
N2
A14
M2
A15
L1
AS
N1 K2
DS
L3L5 J3 H2
DM
L2 K3 M1 K10 D4 D10 F11 A13
N12 L10 M11 N13 H11 H12 H13 G12 G11 G13 F13 F12 J12 K13 C11
L11 M12 M13 K11 L12 L13 K12 J11
E13 E12 E11 D12 C13 B13 D11 C12
A4A7 D13 E3 N10 N9
VCC
OUT
GND
NC
Y1 OSC
MA0 MA1 MA2 MA3 MA4 MA5 MA6 MA7 MA8 MA9 MA10 MA11 MA12 MA13 MA14 MA15
nU_AS nU_MAS nU_DS
nU_MDS
U_RW
nIACK nSYNC SCLK
nSTOP
RBP0 RBP1 RBP2 RBP3 RA0 RA1 RA2 RA3 RA4 RA5 RA6 RA7 nREGRD nREGWR nCE_ERF
IWD0 IWD1 IWD2 IWD3 IWD4 IWD5 IWD6 IWD7
IRD0 IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 IRD7
VccICE
4
2
test points
TP3
1 2 3 4 5
CON5
TP2
1 2 3 4 5
CON5
TP1
1234567
IRD0
IRD1
Vcc
ICE Chip & Target Connection
Title
8
IRD2
IRD3
IRD4
IRD5
IRD6
IRD7
Schematic, Z86C36 Daug hter Board
Size Document Number Rev
B
Date: Sheet
96C0620-00 1B
Vcc
UM002202-1001 Schematic-2
mU_P00 mU_P01
C10
C6
C5
0.1uF
C11
C12
0.1uF
mU_P1[7..0]<1E4
mU_P2[7..0]<1E3
IWD[7..0]<2A3
RA[7..0]<2A3
Vcc
ICRAM<2A3 nREGRD<2A3 nREGWR<2A3 nCE_ERF<2A3
RBP[3..0]<2A3
U_P3[7..0]<2A3
ICRAM nREGRD nREGWR nCE_ERF RBP0 RBP1 RBP2 RBP3 U_P30 U_P31 U_P32 U_P33 U_P34 U_P35 U_P36 U_P37
Vcc
C9
C8
0.1uF
0.1uF
C13
C14
0.1uF
0.1uF
IWD0
47
IWD1
46
IWD2
44
IWD3
43
IWD4
41
IWD5
40
IWD6
38
IWD7
37
RA0
36
RA1
35
RA2
33
RA3
32
RA4
30
RA5
29
RA6
27
RA7
26
48
1 25 24
4 10 15 21
47 46 44 43 41 40 38 37 36 35 33 32 30 29 27 26
48
1 25 24
4 10 15 21
C40
0.1uF
0.1uF
0.1uF
U17
1A1 1A2 1A3 1A4 1A5 1A6 1A7 1A8 2A1 2A2 2A3 2A4 2A5 2A6 2A7 2A8
1OE 1DIR 2OE 2DIR
GND4 GND10 GND15 GND21
IDT74FCT164245TPA
U18
1A1 1A2 1A3 1A4 1A5 1A6 1A7 1A8 2A1 2A2 2A3 2A4 2A5 2A6 2A7 2A8
1OE 1DIR 2OE 2DIR
GND4 GND10 GND15 GND21
IDT74FCT164245TPA
C15
0.1uF
C16
0.1uF
0.1uF
1B1 1B2 1B3 1B4 1B5 1B6 1B7 1B8 2B1 2B2 2B3 2B4 2B5 2B6 2B7 2B8
VCCB1 VCCB2 VCCA1 VCCA2
GND28 GND34 GND39 GND45
1B1 1B2 1B3 1B4 1B5 1B6 1B7 1B8 2B1 2B2 2B3 2B4 2B5 2B6 2B7 2B8
VCCB1 VCCB2 VCCA1 VCCA2
GND28 GND34 GND39 GND45
VccICE
C17
2 3 5 6 8 9 11 12 13 14 16 17 19 20 22 23
7 18 31 42
28 34 39 45
2 3 5 6 8 9 11 12 13 14 16 17 19 20 22 23
7 18 31 42
28 34 39 45
C19
C18
0.1uF
laIWD0 laIWD1 laIWD2 laIWD3 laIWD4 laIWD5 laIWD6 laIWD7 laRA0 laRA1 laRA2 laRA3 laRA4 laRA5 laRA6 laRA7
laICRAM lanREGRD lanREGWR lanREGWR lanCEERF laRBP0 laRBP1 laRBP2 laRBP3 mU_P30 mU_P31 mU_P32 mU_P33 mU_P34 mU_P35 mU_P36 mU_P37
0.1uF
Vcc
Vcc3_3
Vcc
Vcc3_3
C7
0.1uF
0.1uF
mUD0 mUD2 mUD4 mUD6 mMA8 mMA10 mMA12 mMA14 mMA15 lanU_MAS
mU_P00 mU_P02 mU_P04 mU_P06 mnSYNC nU_M_DS hvnRESET
mnU_AS
mU_P10 mU_P11 mU_P12 mU_P14 mU_P16 mU_P20 mU_P22 mU_P24 mU_P26 mSCLK
laRA0 laRA2 laRA4 laRA6 laIWD0 laIWD2 laIWD4 laIWD6 laIWD7 laTCLK
laRBP0 laRBP2
lanCEERF mU_P30 mU_P32 mU_P34 mU_P36 lanU_MAS
P4
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100
mUD1 mUD3 mUD5 mUD7 mMA9 mMA11 mMA13
mU_P01 mU_P03 mU_P05 mU_P07 laU_RW mnU_AS mnIACK lanSTOP
mU_P13 mU_P15 mU_P17 mU_P21 mU_P23 mU_P25 mU_P27
laRA1 laRA3 laRA5 laRA7 laIWD1 laIWD3 laIWD5
laRBP1 laRBP3 lanREGRD laICRAM mU_P31 mU_P33 mU_P35 mU_P37
1 3 5 7
9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
mU_P02 mU_P03 mU_P04 mU_P05 mU_P06 mU_P07 lanU_MAS laTCLK mSCLK mnU_AS laU_RW
mnSYNC mnIACK
C20
C30
Vcc
Vcc
Vcc3_3
0.1uF
0.1uF
C50
U19
2
1B1
3
1B2
5
1B3
6
1B4
8
1B5
9
1B6
11
1B7
12
1B8
13
2B1
14
2B2
16
2B3
17
2B4
19
2B5
20
2B6
22
2B7
23
2B8
7
VCCB1
18
VCCB2
31
VCCA1
42
VCCA2
28
GND28
34
GND34
39
GND39
45
GND45
IDT74FCT164245TPA
C21
C22
0.1uF
0.1uF
C31
C32
0.1uF
0.1uF
100uF
Title
C23
0.1uF
C33
0.1uF
VccICE
1OE
1DIR
2OE
2DIR
GND4 GND10 GND15 GND21
hvnRESET nU_M_DS
C24
C34
C51
100uF
1A1 1A2 1A3 1A4 1A5 1A6 1A7 1A8 2A1 2A2 2A3 2A4 2A5 2A6 2A7 2A8
0.1uF
0.1uF
C25
C35
U_P00
47
U_P01
46
U_P02
44
U_P03
43
U_P04
41
U_P05
40
U_P06
38
U_P07
37
nU_MAS
36
TCLK
35
SCLK
33
nU_AS
32
U_RW
30
nSTOPlanSTOP
29
nSYNC
27
nIACK
26
Vcc
48 1 25 24
4 10 15 21
C26
C27
C28
0.1uF
0.1uF
0.1uF
C37
C36
0.1uF
C38
0.1uF
0.1uF
Schematic, Z86C36 Daug hter Board
Size Document Number Rev
B
Date: Sheet
96C0620-00 1B
U_P0[7..0] <2A1
nU_MAS <2A1 TCLK <2E3 SCLK <2A1 nU_AS <2A1 U_RW <2A1 nSTOP <2A1 nSYNC <2A1 nIACK <2A1
hvnRESET <1E3 nU_M_DS <1A1
mSCLK >1E2 mnSYNC >1E2 mnU_AS >1E3 mnIACK >1E3
laU_RW >1E3
mU_P0[7..0]>3A4
mMA[15..8] <1E1
mUD[7..0] <2A1
Vcc3_3Vcc
C29
0.1uF
0.1uF
C39
0.1uF
0.1uF
mU_P3[7..0]>3A4
24Tuesday, July 27, 1999
of
U_D[7..0]<>2A3
UM002202-1001 Schematic-3
VccICE
R26 10K
CLK_VCC<2E3 nU_DS<2E3 nU_MDS<2E3 nU_RESET<2A1 U_P2[7..0]<2A3
U_P20 U_P21 U_P22 U_P23 U_P24 U_P25 U_P26
R4210k
U_P34
U_P27
nRESET ICRAM
C50SZ0 C50SZ1 C50SZ2
Pup1_6 Pup1_7
CLK_TgtVcc2
nRESET<>2A3;>3A3 ICRAM>2A3
C50SZ[2..0]>2A4
R4110k
Vcc
nU_M_DS>4E3
U_P34<1A2 MA[15..0]<2E4
U12
47
1A1
46
1A2
44
1A3
43
1A4
41
1A5
40
1A6
38
1A7
37
1A8
36
2A1
35
2A2
33
2A3
32
2A4
30
2A5
29
2A6
27
2A7
26
2A8
48
1OE
1
1DIR
25
2OE
24
2DIR
4
GND4
10
GND10
15
GND15
21
GND21
IDT74FCT164245TPA
nU_M_DS
VCCB1 VCCB2 VCCA1 VCCA2
GND28 GND34 GND39 GND45
P1
12 34 56 78 910 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
Motherboard
1B1 1B2 1B3 1B4 1B5 1B6 1B7 1B8 2B1 2B2 2B3 2B4 2B5 2B6 2B7 2B8
mU_P20
2
mU_P21
3
mU_P22
5
mU_P23
6
mU_P24
8
mU_P25
9
mU_P26
11
mU_P27
12 13
hvnRESET
14
mICRAM
16
Pup1_2
17
Pup1_3
19
hvC50SZ0
20
hvC50SZ1
22
hvC50SZ2
23
Vcc
7 18 31 42
28 34 39 45
6463
Vcc3_3
Vcc
R5110k
Vcc
nM_P25RESET2
U15
2
I2
3
I3
4
I4
5
I5
6
I6
7
I7
8
I8
9
I9
10
I10
11
I11
13
I13
1
I/CLK
22V10
C36MISC.JED
nDM_BKOF
IO23 IO22 IO21 IO20 IO19 IO18 IO17 IO16 IO15 IO14
Gnd
123
nCS_RD
nD_E
nU_RESET nU_DS nU_MDS nCS_245
nDM_BKOF
RESET2 nM_P25 SIZE1 SIZE2 SIZE3 SIZE4
CH_DIR
Vcc
R5210k
CH_DIR
Vcc
4
BLKTGT
23 22 21 20 19 18 17 16 15 14
12 24
U_D0 U_D1
U_D2 U_D3
U_D4 U_D5 U_D6 U_D7
hvnRESET nU_M_DS CS_245 hvC50SZ0 hvC50SZ1 hvC50SZ2 nCH_DIR BLKTGT
PALnBKOF
Vcc
J6
J7
11 14 17 18 21 22
13
3 4 7 8
1
Vcc
123
U10
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9
nLE nHE
QS3384
U_P10
2
B0
U_P11
5
B1
U_P12
6
B2
U_P13
9
B3
U_P14
10
B4
U_P15
15
B5
U_P16
16
B6
U_P17
19
B7
Pup1_4
20
B8
Pup1_5
23
B9
Vcc
2412
VCCGND
MA0 MA1 MA2 MA3 MA4 MA5 MA6 MA7 MA8 MA9 MA10 MA11 MA12 MA13 MA14 MA15
CH_DIR
Vcc
U14
47
1A1
46
1A2
44
1A3
43
1A4
41
1A5
40
1A6
38
1A7
37
1A8
36
2A1
35
2A2
33
2A3
32
2A4
30
2A5
29
2A6
27
2A7
26
2A8
48
1OE
1
1DIR
25
2OE
24
2DIR
4
GND4
10
GND10
15
GND15
21
GND21
IDT74FCT164245TPA
1B1 1B2 1B3 1B4 1B5 1B6 1B7 1B8 2B1 2B2 2B3 2B4 2B5 2B6 2B7 2B8
VCCB1 VCCB2 VCCA1 VCCA2
GND28 GND34 GND39 GND45
nBRP_OFF
Vcc3_3
2 3 5 6 8 9 11 12 13 14 16 17 19 20 22 23
7 18 31 42
28 34 39 45
mU_P10 mU_P11 mU_P12 mU_P13 mU_P14 mU_P15 mU_P16 mU_P17
Vcc
mUD0 mUD1 mUD2 mUD3 mUD4 mUD5 mUD6 mUD7 mMA8 mMA9 mMA10 mMA11 mMA12 mMA13 mMA14
mMA15
Vcc
Vcc3_3
mUD0 mUD1 mUD2 mUD3 mUD4 mUD5 mUD6 mUD7
nCH_DIR
CS_245
U11
2
1B1
3
1B2
5
1B3
6
1B4
8
1B5
9
1B6
11
1B7
12
1B8
13
2B1
14
2B2
16
2B3
17
2B4
19
2B5
20
2B6
22
2B7
23
2B8
7
VCCB1
18
VCCB2
31
VCCA1
42
VCCA2
28
GND28
34
GND34
39
GND39
45
GND45
IDT74FCT164245TPA
mnIACK nCS_245 mnU_AS mICRAM mUD0 mUD1 mUD2 mUD3 mUD4 mUD5 mUD6 mUD7 mU_P20 mU_P21 mU_P22 mU_P23 mU_P24 mU_P25 mU_P26 mU_P27 mMA8 mMA9 mMA10 mMA11 mMA12 mMA13 mMA14 mMA15
1A1 1A2 1A3 1A4 1A5 1A6 1A7 1A8 2A1 2A2 2A3 2A4 2A5 2A6 2A7 2A8
1OE
1DIR
2OE
2DIR
GND4 GND10 GND15 GND21
Motherboard
Title
U_P10
47
U_P11
46
U_P12
44
U_P13
43
U_P14
41
U_P15
40
U_P16
38
U_P17
37
UD0
36
UD1
35
UD2
33
UD3
32
UD4
30
UD5
29
UD6
27
UD7
26
48 1 25 24
4 10 15 21
P2
12 34 56 78 910 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
6463
VccVcc Vcc
mnSYNC mSCLK mU_P10 mU_P11 mU_P12 mU_P13 mU_P14 mU_P15 mU_P16 mU_P17 mU_P30 mU_P31 mU_P32 mU_P33 mU_P34 mU_P35 mU_P36 mU_P37 mU_P00 mU_P01 mU_P02 mU_P03 mU_P04 mU_P05 mU_P06 mU_P07
Motherboard Connection & Level Shifting
Schematic, Z86C36 Daug hter Board
Size Document Number Rev
B
Date: Sheet
96C0620-00 1B
VccICE
mU_P1[7..0] >4A4
Pup1_2
Pup1_3
Pup1_4
Pup1_5
R2910k
R3010k
R2810k
R2710k
U_P1[7..0] <>2A4
UD[7..0] >2A4
mUD[7..0]
mU_P2[7..0]
mnU_AS mnIACK
hvnRESET
mSCLK
laU_RW
mnSYNC <2A1
mU_P3[7..0]<2A1
mU_P0[7..0]<2A1
mMA[15..8] >4E2
>4E2
>4A4
<4E3 <4E3 >4E3
<2A1 < 4E3
34Tuesday, July 27, 1999
of
IWD[7..0]<2E2
UM002202-1001 Schematic-4
IRD[7..0]>2E2
RBP[3..0]<2E2
RBP0
nREGRD
nREGWR
nCE_ERF
SMR nSTOP
XTAL1
SCLK
Vcc
nRESET
VccICE
RBP1 RBP2 RBP3
RA0 RA1 RA2 RA3 RA4 RA5 RA6 RA7
U_P20 U_P21 U_P22 U_P23 U_P24 U_P25 U_P26 U_P27
T_P30 U_P37
RA[7..0]<2E3
nREGRD<2E2
nREGWR<2E2
nCE_ERF<2E2
SMR>2A3 nSTOP<2E3
XTAL1<2A1 SCLK<2E3;>1A4
nRESET<1E4;<>2A3
S1
SW M_ON
U_P2[7..0]<2A1 T_P30<2A1 U_P37<2A1
207 183
101
100 157 156 105 155
103 158
160
154
134 182
162
178 169 168 107 153
129
163
112 128 139 148
111 127 138 159 176 195
61
84
98
27
2
28
29
34
10 19 30 45
5 25 36 55 72 91
48
U2
RBP0 RBP1 RBP2 RBP3
RA0 RA1 RA2 RA3 RA4 RA5 RA6 RA7
REGRD REGWR REGCE
SMR STOP
AUXCLK SCLK
RESET
P20 P21 P22 P23
T_P37/TX
P24 P25 P26 P27
T_P30/RX P37
VCC10 VCC19 VCC30 VCC45 VCC112 VCC128
GND136
VCC139 VCC148
GND102 GND110
VCC5
GND113 GND114
VCC25
GND115
VCC36
GND118
VCC55 VCC72
GND121 GND122
VCC91 VCC111
GND132
VCC127
GND133
VCC138
GND143
VCC159
GND152
VCC176
GND170 GND189
VCC195
GND206
VPP
C36_Peripherals
IRD0 IRD1 IRD2 IRD3 IRD4 IRD5 IRD6 IRD7
IWD0 IWD1 IWD2 IWD3 IWD4 IWD5 IWD6 IWD7
TCLK
TDO
TMS
U_P30
TriState
IRQ3
GND14 GND20 GND24 GND31 GND35 GND41 GND42 GND43 GND44 GND46 GND47 GND66
IRD0
97
IRD1
126
IRD2
99
IRD3
125
IRD4
32
IRD5
130
IRD6
131
IRD7
137
R50
10k
R56 1K
R57 1K
Vcc
R59
R58
1K
1K
P5
1
2
3
4
5
6
7
8
9
10
ISP Connection
IWD0
123
IWD1
33
IWD2
96
IWD3
104
IWD4
165
IWD5
86
IWD6
88
IWD7
161
TCK
78
TDO
108
TMS
49
TDI
79
TDI
preU_P30
119
135
CD
TS
4
nIRQ3
21
T_P37
124
14 20 24 31 35 41 42 43 44 46 47 66 136 102 110 113 114 115 118 121 122 132 133 143 152 170 189 206
Vcc
+
C59 1uF
Vcc
U7
PT5042
1 3
VIN VOUT
GND
2
Vcc_15
+
C82 10uF
3
U20 LT1086CM
VIN
15V OUTPUT ISR
Peripherals PLD, OTP Circuit
Title
Vcc
+
C86
10uF
U21 LT1117CST-3.3
3
VIN
Schematic, Z86C36 Daug hter Board
Size Document Number R ev
B
Date: Sheet of
96C0620-00 1B
E
C84 .1UF
VccADJ
2
VOUT
ADJ
1
2
VOUT
ADJ
1
3.3V Power for translators
44Tuesday, July 27, 1999
R53
R54
R55
121
169
200
+
C83 22uF
3V - 5V Adjustable Power
+
C85 10uF
Vcc3_3
C87
.1UF
T_P37>2A1 nIRQ3>2A4
U_P30>2A1
U_P30
J5
1 2
preU_P31
place at C50 pin C3
Loading...