ZiLOG Z8 GP ZGP323 User Manual

ZGP323ICE02ZEMG

Z8 GP™ ZGP323 In-Circuit Emulator

UM019606-0408
Copyright ©2008 by Zilog®, Inc. All rights reserved.
www.zilog.com

Revision History

Each instance in the Revision History table reflects a change to this docu­ment from its previous revision. For more details, refer to the correspond­ing pages and appropriate links in the following table.
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
ii
Revision
Date
April 2008 06 Replaced
Level Description
Figure 5 and
Figure 11.
February 2008
05 Updated Connecting ZGP323
ICE to the Target Pod
and Z8 GP
Package Support and Ordering Information
December 2007
September 2007
04 Updated System Requirements,
Debugger instructions, trace/ event procedure, and
03 Updated
Figure 12, and Burn Code from the Current Project
July 2007 02 Updated document with latest
company address and implemented Zilog Style Guide.
November 2005
01 Original Issue All
.
Figure 12
System Requirements,
.
Page Number
8 and 16
5 and 34
2
, 23, 20,
and
24.
2, 20, and 25
All
UM019606-0408 Revision History

Table of Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Kit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Connecting Target Pod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Connecting ZGP323 ICE to the Target Pod . . . . . . . . . . . . . . . . 5
Connecting ZGP323 ICE to OTP Programming
Module (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Connecting ZGP323 ICE to a PC . . . . . . . . . . . . . . . . . . . . . . . . 6
Ethernet Port Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
USB Port Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
iii
Sample Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Collecting a Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Using an Event to Stop Execution . . . . . . . . . . . . . . . . . . . . . . 22
Collecting Trace After an Event . . . . . . . . . . . . . . . . . . . . . . . . 24
OTP Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Burn Code from the Current Project . . . . . . . . . . . . . . . . . . . . . 25
Burn Code from an Existing Hex File . . . . . . . . . . . . . . . . . . . . 29
LED Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
External Interface Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Using J5 Pin 3, External Trigger Out . . . . . . . . . . . . . . . . . . . . 33
Using J5 Pin 1, External Trigger In . . . . . . . . . . . . . . . . . . . . . . 33
Z8 GP Package Support and Ordering Information . . . . . . . . . . . . 34
Appendix A–ZGP323 ICE
Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
UM019606-0408 Table of Contents

Introduction

Zilog’s Z8 GP™ ZGP323 In-Circuit Emulator (ICE) provides Z8 GP chip family emulation with a Trace and Event system for program debugging using Zilog Developer Studio II (ZDS II) development tools. Once your code is complete, use the included OTP programming module to burn your design on to OTP devices.

Kit Features

The kit includes the following features:
Emulation and OTP Programming support for the Z8 GP Family
Emulation Pod for 20- and 28- Pin PDIP Packages
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
1
Z8 GP ZGP323 Evaluation Board
Trace and Event System
Ethernet and USB Interface
Up to 8 MHz Clock Frequency
2.0–3.6 V V
ZDS II
Assembler and Full ANSI C Compiler
Documentation
Sample OTP Devices
UM019606-0408 Introduction
DD
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual

System Requirements

Table 1 lists the system requirements for running ZDS II.
Table 1. ZDS II System Requirements
Recommended Configuration Minimum Configuration
PC running MS Windows XP Pro PC running MS Windows 98 SE/
Windows2000-SP4/Windows XP Pro
Pentium III/500 MHz processor Pentium II/233 MHz processor
128 MB RAM 96 MB RAM
65 MB hard disk space 25 MB hard disk space (documentation not
included)
Super VGA video adapter Super VGA video adapter
CD-ROM drive CD-ROM drive
2
Ethernet port Ethernet or USB port
USB high-speed or full-speed port
One or more RS-232 communications ports
Internet browser (Internet Explorer or Netscape) Internet browser (Internet Explorer or
Note: 1 RS232 communication port is not necessary when using USB or default Ethernet IP
1
Netscape)

Software Installation

Follow the steps below to install ZDS II with ANSI C-Compiler:
1. DemoShield program available in the ZDS II installation CD launches automatically. Otherwise, go to the root of the CD-ROM and double-click the file
UM019606-0408 Introduction
launch.exe.
2. DemoShield provides several installation options to install ZDS II, select Install ZDS II. You can install other software and accompany­ing documentation later.
3. Follow the instructions on the screen to complete the installation.

Hardware Installation

The ZGP323 ICE features an Ethernet interface, a USB interface, and an RS-232 serial port. Hardware installation consists of the following:
Connecting Target Pod
Connecting ZGP323 ICE to the Target Pod
Connecting ZGP323 ICE to OTP Programming Module (Optional)
Connecting ZGP323 ICE to a PC
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
3
You have to reconfigure network settings on the PC or on the ZGP323 ICE before using the emulator.
Connecting Target Pod
Use an appropriate target pod and pin converter to connect the ZGP323 ICE to the target board. Figure 1 on page 4 illustrates the ZGP323 ICE top panel connectors and Figure 2 on page 4 illustrates the ZGP323 evalua­tion board included with the kit. The 20- and 28-PDIP target pods plug into the associated PDIP sockets on the target board. For example, if your target board has a 20-SOIC socket, mate the 20-PDIP target Pod onto the 20-PDIP to 20-SOIC converter. Then install the target pod and converter assembly into the board’s 20-SOIC socket
UM019606-0408 Introduction
J5
J9
Out In
Target Trigger
OTP Programming
1
J4
J8
GND
Z8 GP™ ZGP323 In-Circuit Emulator
1
J7
1
Int Target
CLK Source
Figure 1. ZGP323 ICE Top View
P9
P17
Target Interface
P10
P16
Target Interface
User Manual
4
D1
20-PDIP Socket
28-PDIP Socket
Figure 2. ZGP323 Evaluation Board
UM019606-0408 Introduction
Z8 GP™ ZGP323 In-Circuit Emulator
Connecting ZGP323 ICE to the Target Pod
After installing the appropriate target pod (and converter, if required) onto the target development board, connect the ZGP323 ICE to the target pod as follows:
For 40-PDIP and 48-SSOP target pods:
– Connect the 20-circuit cable from P9 on the emulator to P2 on
the 40-PDIP target pod. (The 20-circuit cable is included in the 40/48-pin accessory kit, ZLP323ICE01ZAC, ordered sepa­rately).
User Manual
5
Note:
ZLP323ICE01ZAC has been replaced by an improved version, ZCRMZNICE02ZACG.
– Connect the 34-circuit cable from P10 on the emulator to P1 on
the 40-PDIP target pod.
For 20-PDIP and 28-PDIP target pods:
– Connect the 34-circuit cable from P10 on the emulator to P16 on
the target pod. (Emulator connector P9 is not used).
Connecting ZGP323 ICE to OTP Programming Module (Optional)
After developing and debugging your software, follow the steps below to connect the ZGP323 ICE to the OTP programming module so that you can burn your code onto the OTP chip:
1. Connect the 40-circuit ribbon cable from the ZGP323 ICE OTP Pro­gramming connector to connector P1 on the OTP programming mod­ule.
2. The 40-PDIP ZIF socket on the OTP programming module is designed to accept 40-PDIP OTP chips. The OTP programming adapters supplied with the ZGP323 ICE allow you to adapt the ZIF
UM019606-0408 Introduction
Z8 GP™ ZGP323 In-Circuit Emulator
socket to accept 20/28-PDIP chip packages.Other adapters are avail­able separately, see Z8 GP Package Support and Ordering Informa-
tion on page 34 for more information.
After installing the OTP chip into the ZIF socket (or programming adapter), you can program the chip using the instructions provided in
OTP Programming on page 25.
Connecting ZGP323 ICE to a PC
You can connect the ZGP323 ICE to a host PC using either an Ethernet or USB port. To connect the ZGP323 ICE to a host PC using Ethernet, see
Ethernet Port Connection. To connect the ZGP323 ICE to a host PC using
USB port, see USB Port Connection on page 15.
Ethernet Port Connection
User Manual
6
Follow the steps below to connect the ZGP323 ICE to a host PC using Ethernet:
1. Connect a CAT-5 crossover cable from the PC to the Ethernet port on the ZGP323 ICE, see Figure 3.
Note:
UM019606-0408 Introduction
You can connect the ICE to an Ethernet hub using a CAT-5 patch cable.
2. Connect the serial COM port on the PC to the SETUP serial port on the ZGP323 ICE using the DB9-to-DB9 serial cable, see Figure 5 on page 8.
Z8 GP™ ZGP323 In-Circuit Emulator
CAT-5 Crossover Cable
PC
DB9-to-DB9 Cable
Figure 3. Connecting a PC to the ZGP323 ICE
User Manual
7
ZGP323
ICE
Figure 4. ZGP323 ICE Rear Panel
Caution:
Ensure the target board is not powered ON.
3. Connect a 5 V DC power supply to the ZGP323 ICE. The 3.3 V DC and 1.8 V DC power LEDs must illuminate, see Figure 5. Contact
®
Zilog
UM019606-0408 Introduction
support at www.zilog.com if there is any problem.
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
ICE Fail LED
ICE Run LED
8
Figure 5. ZGP323 ICE Front Panel
Setting Up Ethernet Communications
The default IP address and subnet mask of the ZGP323 ICE are
192.168.1.50 and 255.255.255.0, respectively. To enable communication
between the PC running ZDS II and the ZGP323 ICE, you must either change the PC’s Ethernet settings to match those of the ZGP323 ICE or vice versa.
If using the PC in a stand-alone configuration, set the PC’s IP address to
192.168.1.21 and its subnet mask to 255.255.255.0. For more details, see
Changing the PC’s Settings to Match the ZGP323 ICE.
In a networked environment, set the ZGP323 ICE IP address and subnet mask to match the network setup. For more details, see Changing
ZGP323 ICE Settings on page 13.
UM019606-0408 Introduction
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
Changing the PC’s Settings to Match the ZGP323 ICE
Follow the steps below to change the PC’s Ethernet settings:
9
Note:
The following instructions are for MS Windows XP. If your Windows OS is different, refer to your MS Windows OS online help for details.
1. Open the Windows Control Panel and double-click the Network Connections icon, see Figure 6 on page 9.
Figure 6. Network Connections
UM019606-0408 Introduction
Z8 GP™ ZGP323 In-Circuit Emulator
User Manual
2. In the panel labeled LAN or High-Speed Internet, double-click the Local Area Connection icon. The Local Area Connection Status
window appears, see Figure 7.
10
Figure 7. Local Area Connection Status Window
UM019606-0408 Introduction
Loading...
+ 28 hidden pages