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
+ 44 hidden pages