System Requirements September Updated , and Figure 12 Burn Code from 2007 , and the Current Project July 2007 Updated document with latest company address and implemented Zilog Style Guide. November Original Issue 2005 UM019606-0408 Revision History...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 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.
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...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 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.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 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: –...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 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.
Page 10
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 support at www.zilog.com if there is any problem. UM019606-0408 Introduction...
Page 11
Z8 GP™ ZGP323 In-Circuit Emulator User Manual ICE Fail LED ICE Run LED 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.
Page 12
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: 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.
Page 13
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 Figure 7. Local Area Connection Status Window UM019606-0408 Introduction...
Page 14
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 3. In the Local Area Connection Status window, click Properties but- ton. The Local Area Connection Properties dialog box appears, see Figure Figure 8. Local Area Connection Properties Dialog Box UM019606-0408 Introduction...
Page 15
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 4. Select Internet Protocol (TCP/IP) from the scroll down list, and click Properties button. The Internet Protocol (TCP/IP) Properties dialog box appears, see Figure Figure 9. Internet Protocol Properties Dialog UM019606-0408 Introduction...
Page 16
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 5. Enter the IP address and subnet mask to match those shown in Figure 9 on page 12. Leave the remaining fields blank. In this exam- ple, an IP address of 192.168.1.21 and a subnet mask of 255.255.255.0 are being assigned to the PC.
Page 17
HyperTerminal. A typical boot-up message is shown below: ZiLOG Z8 LXM ICE Firmware Version 2.0, Build (Aug 22 2005 08:14:37) Copyright (C) 2005 ZiLOG, Inc. All Rights Reserved. Adding emac driver... Attempting to establish Ethernet connection.
ZDS II installation directory or CD-ROM provided with your emulator. ZDS II software is available for download from www.zilog.com. The procedure of loading the appropriate driver, depends on your Windows OS version and is explained below:...
Page 19
Z8 GP™ ZGP323 In-Circuit Emulator User Manual ICE Fail LED ICE Run LED Figure 11. ZGP323 ICE Front Panel 3. In the wizard, select Install from a list or specific location (Advanced); click Next. Note: If the Windows Logo testing dialog appears, select Continue Any- way.
Page 20
2. Connect a 5 V DC power supply to the ZGP323 ICE. The 3.3 V DC and 1.8 V DC power LEDs should illuminate, see Figure 5 on page 8. ® Contact Zilog support at www.zilog.com if there is any problem. In Windows, the Found New Hardware wizard must activate auto- matically.
An assembler version of the sample program is located in the subdirectory. ledblink_asm\src Start ZDS II for the ZGP323 ICE Emulator by selecting Start ––>ZiLOG ZDS II -Crimzon+GP Emulator Kit and follow the instructions below to run <software_version> , the sample project.
Page 22
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 2. Use File ––> Open Project menu option to open the sample project file located at the following path: c:\Program Files\ZiLOG\ZDSII_CrimzonGP_Emulator_ <version>\samples\ZGP323_ledBlink\ledblink_c\src 3. To open the source file, double-click on file in the irmain.s...
Page 23
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Figure 12. Project Settings, Debugger Tab 7. In the Debugger tab, click Setup button, Configure Target window appears. 8. Set the Voltage drop-down menu to Standalone if the emulator is not connected to a target. If the emulator is connected to a target, set the Voltage drop-down menu to the voltage appropriate for the connected target.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 9. In Clock Source section, select Internal radio button if the emulator is not connected to a target, and set the Clock Frequency to 7.5 MHz. If the emulator is connected to a target, select External radio button. 10.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Using an Event to Stop Execution Events allow you to stop execution based on more complex conditions than a simple instruction address. The following events are available: • Program counter position, with mask •...
Page 26
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Figure 13. Trace and Event System Window 4. Click OK. 5. Open the Trace window by selecting View ––> Debug Windows ––> Trace. 6. In the Trace window, click Clear Trace button. 7. To reset the Debugger click the Reset button in the toolbar, or select Debug ––>...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Collecting Trace After an Event The Trace and Event System is also used to capture trace data after an event. Set up the events as described in Using an Event to Stop Execution on page 22.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual For more information on setting and reading register values, refer to ZDS II User Manual (UM0164) on the ZDS II CD-ROM and the ZDS II online help. Peek/Poke Memory Follow the steps below to set and read the peek/poke memory contents: 1.
Page 29
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Follow the steps below to burn code from the current project built in ZDS II (loaded in emulator RAM): 1. Connect the OTP programming module to the emulator as described Connecting ZGP323 ICE to OTP Programming Module (Optional) on page 5.
Page 30
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Figure 14. OTP Programming Window (ZDS II Current Project Example) 8. Click Ram Checksum button to calculate the checksum of the data in emulator RAM. Use this to compare with the OTP checksum after burning.
Page 31
Z8 GP™ ZGP323 In-Circuit Emulator User Manual 9. Select the option bits to be programmed in the Programming Option Bits area. 10. Select None button in the Method panel of Device Serialization to leave the serial number blank. 11. To load a serial number: •...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Burn Code from an Existing Hex File Follow the steps below to load an existing hex file into emulator RAM and burn an OTP chip: 1. Connect the OTP programming module to the emulator as described Connecting ZGP323 ICE to OTP Programming Module (Optional) on page 2.
Page 33
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Figure 15. OTP Programming Window (Hex File Example) 7. Select the appropriate target device from the Device drop-down menu. 8. In the Hex File: section, click button and select the hex file to be burned on to the OTP chip.
Page 34
Z8 GP™ ZGP323 In-Circuit Emulator User Manual you select the Other button, type the hex value to pad the file with in the text field provided with Other. 10. Click Load File to load the hex file into emulator RAM. 11.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual LED Indicators There are three sets of dual LED indicators on the ZGP323 ICE, as described below: 1. The dual ICE RUN LED on the front panel, see Figure 5 on page 8, indicates emulator status.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual – Pin 3 provides a HIGH external trigger out for use in triggering a device such as a logic analyzer or oscilloscope. Pin 3 is under software control, and can be activated through the ZDS II Trace and Event system.
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Z8 GP Package Support and Ordering Information Table 2 lists the packages supported by ZGP323 ICE. Table 2. Z8 GP Package Support Chip Package For OTP Programming order: For In-Circuit Emulation, order: 20 SSOP ZGP32302010ZDH 20-PDIP to 20-SSOP adapter from Ironwood, P/N: SOIC20-09...
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Appendix A–ZGP323 ICE Commands Table 3 lists the ZGP323 ICE Commands. Table 3. ZGP323 ICE Commands Command Description and Options Displays available emulator command shell options Displays buffer pool bpool Displays current date date Configures the TCP port usage: debugport...
Page 39
Z8 GP™ ZGP323 In-Circuit Emulator User Manual Table 3. ZGP323 ICE Commands (Continued) Command Description and Options Configures the emulator network interface. Entering ifconfig with no ifconfig options lists current configuration. The following command options are available: • –specifies IP address •...
User Manual Customer Support For answers to technical questions about the product, documentation, or any other issues with Zilog’s offerings, please visit Zilog’s Knowledge Base at http://www.zilog.com/kb. For any comments, detail technical questions, or reporting problems, please visit Zilog’s Technical Support at http://support.zilog.com.
Page 41
Crimzon and Z8 GP are the trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners.
Need help?
Do you have a question about the GP ZGP323 ICE and is the answer not in the manual?
Questions and answers