Advertisement

Quick Links

Z86K15 ICEBOX
Emulator
Electrical
WARNING!
WARNING!
WARNING!
Follow the precautions listed below to avoid permanent damage to the emulator.
I. Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD).
II. Power-Up Precautions.
1. If the target application board has its own power, remove V
2. Ensure that all power to the emulator and the target application (if any) is turned off.
3. Connect the target pod to the target application (if any).
4. Power up the emulator.
5. Power up the target application (if any).
III. Power-Down Precautions.
When powering down, follow this procedure in the precise order shown below:
1. Power down the target application board (if any).
2. Power down the emulator.
NOTES:
1. Refer to the "Precaution List" section of the Product Information document 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.
ST97KEY0100
UM010001-0301
Safeguards
jumper J1.
CC

Advertisement

Table of Contents
loading

Summary of Contents for iCEBOX Z86K15

  • Page 1 ™ Z86K15 ICEBOX Emulator Electrical Safeguards WARNING! WARNING! WARNING! Follow the precautions listed below to avoid permanent damage to the emulator. I. Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD). II. Power-Up Precautions. 1. If the target application board has its own power, remove V jumper J1.
  • Page 2 “Introduction” in this manual and the “README.TXT” file on the Z8 GUI diskette.) The complete Z86K15 Emulator Schematic Diagram is included at the back of this user's manual. NOTE: To ensure that you receive proper notification of updates to this product, please fill out and return the enclosed Zilog Registration Card.
  • Page 3: Table Of Contents

    ABLE OF ONTENTS Chapter 1. Introduction Overview .......................... 1-1 Key Features of the Z86K15 Emulator ................1-1 Key Features of the Zilog Macro Cross Assembler ............1-2 Supported Zilog Devices ....................1-3 GUI-Supported Compiler, Assembler Formats ..............1-3 Hardware Specifications ....................1-3 Host Computer Minimum Requirements................
  • Page 4 ™ Zilog Z86K15 ICEBOX Emulator Chapter 4. Summary of Menus, Commands and Operations Main Menu ........................4-1 Configuration Dialog Box ....................4-1 File Menu ......................... 4-2 View Menu ........................4-3 Debug Menu ........................4-13 Loading Z8 Source Code ....................4-14 Debug Window Elements....................
  • Page 5: Chapter 1 Introduction

    Emulator is care- fully engineered to provide the best balance between reasonable cost and useful features to shorten your development time for Z86K15 and Z86C15-based products. The Z86K15 Emulator graphical ® user interface (GUI, version 3.10) software runs under MS-Windows , supporting selected Zilog Z86K1X and Z86C1X devices (refer to “Supported Zilog Devices”).
  • Page 6: Key Features Of The Zilog Macro Cross Assembler

    Z86K15 ICEBOX™ Emulator Zilog Introduction KEY FEATURES OF THE ZILOG MACRO CROSS ASSEMBLER Project Front-End Interface (graphical-based) Alternate Command-Line Interface Source-Level Debug Support Built-In Register Equates Macros ‘INCLUDE’ Files Conditional Assembly Local Labels Structured Assembly Code (‘C’ language-like) Structured Data Code (‘C’ language-like)
  • Page 7: Supported Zilog Devices

    Z86K15 ICEBOX™ Emulator Zilog Introduction SUPPORTED ZILOG DEVICES Z86C15, Z86K13/K14/K15/K16/K17/K18 NOTE: *The specific list of supported devices is specified in the Zilog Customer Procurement Specification (CPS) document shipped with Zilog’s Order Acknowledgment form. GUI-SUPPORTED COMPILER, ASSEMBLER FORMATS The Emulator GUI supports object files (binary or Intel hex) produced by the Zilog ZASM assembler, Zilog Macro Cross Assembler (ZMASM), Production Languages Corporation (PLC) assembler, 2500AD, and other third-party development tool companies.
  • Page 8 Z86K15 ICEBOX™ Emulator Zilog Introduction HOST COMPUTER Minimum Requirements IBM PC (or 100-percent compatible) 386-Based Machine 33 MHz 4 MB RAM VGA Video Adapter Hard Disk Drive (3.0 MB free space) 3.5-inch, High-Density (HD) Floppy Disk Drive RS-232C COM Port Mouse or Pointing Device Microsoft Windows 3.1...
  • Page 9: Kit Contents

    Host Software Z8 GUI Diskette Zilog Macro Cross Assembler Diskette Documentation The Z86K15 ICEBOX™ Emulator User’s Manual Zilog Macro Cross Assembler User’s Manual Software License and Limited Warranty Agreement Registration Card (2) Additional Required Items Not Supplied with the Support Package A source of power (+4.75 VDC to +5.25 VDC Max [+5.0 VDC typical]) for the emulator.
  • Page 10: Chapter 2. Setup And Installation

    ETUP AND NSTALLATION INSTALLING THE SOFTWARE Software for the Z86K15 ICEBOX™ Emulator is stored on two diskettes: 1. Zilog Macro Cross Assembler diskette 2. GUI diskette NOTE: Refer to the README.TXT file on each diskette. (The *.TXT files are easily accessed by using the Microsoft Windows “Notepad”...
  • Page 11: Gui Diskette Installation

    “Complete Hardware Installation” section, which immediately follows, provides a more detailed de- scription of the hardware setup procedure. 1. Turn the power supply on (before connecting to the ICEBOX), adjust to +5.0V, and set to at least 0.75A. 2. Connect the serial cable to the PC.
  • Page 12: Complete Hardware Installation

    7. Power up the ICEBOX emulator. NOTE: To ensure that you receive proper notification of updates to this product, please fill out and return the enclosed Zilog Registration Card for the Z86K15 ICEBOX. Generic ICEBOX Emulator (Rear View) Figure 2-1.
  • Page 13 Connecting 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 your PC.
  • Page 14 OTP device and installed it in your design, 2) installed a masked-ROM Z8 in your design. NOTE: Each Z86K15 ICEBOX is shipped with a 8 MHz oscillator to emulate 4 MHz system clock. If you want other rates, remove the oscillator and install a different one, within the frequency specifications of the device in use.
  • Page 15 Test Power RS-232C Reset Z86K15 ICEBOX (Top/Rear View) for Jumper Locations Figure 2-3. NOTE: Refer to the following tables for information on how to set up these jumpers for your specific application before proceeding to the next installation steps. ST97KEY0100...
  • Page 16 Z86K15 ICEBOX™ Emulator Zilog Setup and Installation Jumper Options—Emulator Power Configuration Table 2-1. Jumper Position Description Emulator supplies power to target system through the V Out* Emulator power is isolated from the target system Note: * Indicates Default Setting. Jumper Options—Oscillator Configuration Table 2-2.
  • Page 17 1. * Indicates Default Setting. 2. The switch must be in the On position if the Port is configured as input. 3. When emulating Z86K15, all switches must be in the Off position, since they are all open-drain output ports. ST97KEY0100...
  • Page 18 1. * Indicates Default Setting. 2. The switch must be in the On position if the Port is configured as input. 3. When emulating Z86K15, all switches must be in the Off position, since they are all open-drain output ports. ST97KEY0100...
  • Page 19: Powering Up/Down Procedures

    After power-up, press the RESET button to reset the Z8 ICE chip. (Pressing the RESET button avoids bus contention on the I/O lines.) If the ICEBOX emulator is not powering your design through the V pin, turn on the power supply of the design.
  • Page 20 “Trap” instructions into the program, which means you can set breakpoints in ROM on your target board. The ICEBOX emulator uses a static RAM for each cycle emitted by the Z8 ICE chip dur- ing code execution to implement the breakpoint function in hardware.
  • Page 21 7. Plug the power connector (formerly connected to the motherboard) into the matching connector on the daughterboard. NOTE: When configuring the ICEBOX for normal emulation mode, ensure that the EPROM is removed from the socket and jumper settings are configured for emulation mode (refer to the preceding tables).
  • Page 22: Chapter 3. Emulator Sample Session

    3. Click on the OK button; wait for the initialization procedure to complete. 4. Click on the Zilog ICEBOX “Self-Test Results” Screen OK button to continue (or the CANCEL button to quit), after the self-testing results are displayed. (Refer to Chapter 5: Troubleshooting Guide for more information on failure of the self test.)
  • Page 23: Microcontroller Emulation

    Zilog Microcontroller Emulation 5. In the Configuration box, select the microcontroller that is currently being emulated from the Microcontroller drop-down list box (see Figure 3-1). (Let’s select “Z86K15” for this session.) Z8 Configuration Dialog Box Figure 3-1. NOTE: For purposes of this sample session, “32K” ROM Size has been selected (default is “4K”.) 6.
  • Page 24 Z86K15 Emulator Zilog Monitoring/Modifying Registers 8. Select the View/Registers menu and click on “Z8 Registers” to modify the registers. If the characters are either too small or too large, use the Font Size menu to select an appropriate font size. You can scroll up and down the memory space, “size” the window, make direct memory changes, and use the tracking facility to reach a particular memory location.
  • Page 25: Downloading Files Using The Z8 Source Debugger

    Z86K15 Emulator Zilog Downloading Files Using the Z8 Source Debugger NOTE: When downloading a hexadecimal file, the file size showing in the file downloading dialog box is the size of the memory the downloaded file will occupy, not the actual file size.
  • Page 26 Z86K15 Emulator Zilog 14. Use the BROWSE button on the Download Application File window to select the “reaction.ld” file (located at \zmasm\samples\z8\reaction.ld). NOTE: This file is used only for demonstrating how to use the Debug window. 15. Click the OK button on the Download Application File window (see Figure 3-4).
  • Page 27: Window Refresh

    Z86K15 Emulator Zilog 17. Set a break point and start the program by clicking on the GO button. NOTES: 1. The mouse cursor is changed to an hourglass shape. The only action allowed after a “GO” is halt. If there are no break points, click on the HALT button to halt the execution.
  • Page 28: Main Menu

    HAPTER UMMARY OF ENUS OMMANDS PERATIONS MAIN MENU File View Configuration! Help The Main Menu window of the emulator graphical user interface (GUI) is displayed after the GUI pro- gram is started. The following menu items can be accessed from this Main Menu: Configuration Dialog Box File Menu View Menu...
  • Page 29: File Menu

    “.PRJ.” Download Application Download an application file to the Code Memory of the ICEBOX. Download a piece of Intel hexadecimal (hex) or binary format code to Download To Z8 Code Code Memory.
  • Page 30: View Menu

    Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Download to Z8 Code Memory Figure 4-1. VIEW MENU File View Configuration Help Registers Memory Debug Output From this menu you can open a number of windows and exit the application. Multiple windows can be opened for Registers and Memory.
  • Page 31 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Registers The following menu bar is displayed when the Registers menu item is selected: File View Help Registers Z8 Registers Memory Z8 Expanded Registers Debug Z8 Status Output Z8 Counter/Timers...
  • Page 32 You can track to a register by its absolute address by entering the absolute address value in the di- alog box that appears when Absolute Address is selected from the Tracking menu. ICEBOX Absolute Address Dialog Box Figure 4-3. Indirect (@Rg)
  • Page 33 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Register Pointer The Register Pointer message box displays the address of the content of the Register Pointer regis- ter. After clicking on the OK button, the address value is highlighted in the Z8 Register window.
  • Page 34 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations File View Help Registers Z8 Registers Memory Z8 Expanded Registers Debug Z8 Status Output Z8 Counter/Timers Z8 Ports Z8 Expanded Registers The following menu bar is displayed when the Exp. Registers menu item is selected: File View Define!
  • Page 35 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations File View Help Registers Z8 Registers Memory Z8 Expanded Registers Debug Z8 Status Output Z8 Counter/Timers Z8 Ports Z8 Status The Status window displays some of the more important registers. The contents can be displayed in hexadecimal or binary format.
  • Page 36 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations File View Help Registers Memory Z8 Code Memory Debug Z8 Data Memory Output Z8 Code Memory On the View Menu, selecting Z8 Code Memory will display the Z8 Code Memory window where Z8 files can be downloaded, monitored, edited, and saved.
  • Page 37 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Z8 Data Memory Window This window displays the Z8 Data Memory (sometimes called External Memory). Data can be dis- played in a number of font sizes: Point 6 to Point 12. Note that actual Data Memory has to be present, otherwise nothing meaningful is displayed.
  • Page 38 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Data Memory Tracking (Continued) Selecting the Tracking menu from the Data Memory menu produces dialog and message boxes that are similar to those displayed from the Registers menu (see preceding Registers section). Tracking provides a convenient way to go to a particular address.
  • Page 39 The Fill Dialog Box has entry fields for Start Address, End Address, and String Filled. Clear All The Clear All menu item provides the option of filling Data Memory with the FF (hex) value. ICEBOX Data Memory Edit Menu Showing Fill Dialog Box Figure 4-9. 4-12...
  • Page 40 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Debug Selecting Debug from the View menu displays the following menu bar: File View Help Registers Memory Debug Z8 Debug Output Z8 Source Once source code is loaded to the Z8 memory, from the Debug window you can view the assembly code, set break points, trace through the code, and perform other debug operations.
  • Page 41: Loading Z8 Source Code

    Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Loading Z8 Source Code 1. Select “Z8 Debug” from the View Menu The Z8 Debug Window is now displayed. 2. Select “Download To Z8 Code Memory” from the File Menu 3.
  • Page 42 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Jump/Reset Click on the JUMP button to set the program counter to the address shown in the edit box. This is also a way to navigate the code listing. Clicking on the RESET button causes a jump to the address %000C.
  • Page 43 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Go/Halt You can click on the GO button to start the execution of the Z8 program. If the Animation flag is off at this point, the execution is real time. Otherwise, it is simulated by single steps. After a “go,” the pro- gram stops when it hits a break point, a STOP or HALT instruction, or when you click on the HALT button.
  • Page 44 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations File View FontSize Window Help Trace Code Trace Call Animate Clear Trace Log Execution Log Options . . . Each of the Run menu items are briefly explained below. (Refer to “Debug Window Elements” for fur- ther information about other Debug program commands and operations.
  • Page 45: Using The Z8 Source Debugger

    Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations Using the Z8 Source Debugger File View Help Registers Memory Debug Z8 Debug Output Z8 Source NOTE: When downloading a hexadecimal file, the file size showing in the file downloading dialog box is the size of the memory the downloaded file will occupy, not the actual file size.
  • Page 46 Z86K15 ICEBOX™ Emulator Zilog Summary of Menus, Commands, and Operations b. The symbols are loaded into the Z8 Debug window. Z8 Debug and Source Windows Figure 4-12. File View Configuration Help Registers Memory Debug Output Output Window The Output Window displays the results of various operational commands such as GO, HALT, and RESET.
  • Page 47: Help

    Glossary Procedure Using Help About ICEBOX . . . The on-line Help program is available to provide brief help messages on various topics. The Help pro- gram features an index that easily references the emulator commands and procedures. Topics cov-...
  • Page 48: Emulator Operation

    When you press the RESET button (or power down, then power up), the state of the target is reset, and the initial blue screen and the ZILOG logo will be shown while the ICEBOX goes through the ini- tialization sequence. Pressing the RESET button resets much of the status that you establish using the GUI.
  • Page 49: Chapter 5 Troubleshooting Guide

    If “Register test fail” appears, then check to ensure that crystal X1 is installed and both J2 and J3 is not connected. To use the target clock, remove the crystal X1 and install both J2 and J3 jumpers. b. The following messages indicate a hardware failure on the ICEBOX™ motherboard: “Monitor RAM fail” “Breakpoint RAM fail”...
  • Page 50 There are three responses to the message: “Abort” Quits the GUI altogether. “Retry” Resets the GUI by reinitializing. You are returned to the initial blue screen with the Zilog logo. “Ignore” Attempts to reestablish communication between the GUI and ICEBOX emulator without reinitializing. ST97KEY0100 UM010001-0301...
  • Page 51 Z86K15 ICEBOX™ Emulator Zilog Troubleshooting Guide 12. Program Counter Jumps To Strange Address. a. Any instruction other than a “DI” instruction was used to disable interrupts. b. The stack over flowed into the general register locations. c. Stack is not set to internal. Register %F8 (P01M Register) bit D2 is not set to state “1”.
  • Page 52: Appendix A Accessing The Zbbs/Internet

    PPENDIX ZBBS/I CCESSING THE NTERNET INTRODUCTION Zilog currently maintains two on-line electronic data services where information, downloadable files, and program update files may be obtained: ZBBS Zilog Home Page ZILOG BULLETIN BOARD INFORMATION The Zilog Bulletin Board Service (ZBBS) currently provides basic information on Zilog products and includes a ROM CODE upload area.
  • Page 53: Appendix C. Problem/Suggestion Report Form

    PPENDIX PROBLEM/SUGGESTION REPORT FORM If you experience any problems while operating this product, or if you note any inaccuracies while read- ing the User's Manual, please consult your local Zilog representative for assistance. When the problem is verified or when local Zilog Assistance is not available, please copy this form, fill it out, then mail or fax it to Zilog (see “Return Information”).
  • Page 54 10 appd Page 1 Monday, July 14, 1997 9.16 p PPENDIX ASCII C HARACTER Graphic Decimal Hexidecimal Comments Null Start of heading Start of text End of text End or transmission Enquiry Acknowledge Bell Backspace Horizontal tabulation Line feed Vertical tabulation Form feed Carriage return Shift out...
  • Page 55 10 appd Page 2 Monday, July 14, 1997 9.16 p Z86K15 ICEBOX™ Emulator Zilog Graphic Decimal Hexidecimal Comments File separator Group separator Record separator Unit separator Space Exclamation point " Quotation mark Number sign Dollar sign Percent sign & Ampersand...
  • Page 56 10 appd Page 3 Monday, July 14, 1997 9.16 p Z86K15 ICEBOX™ Emulator Zilog Graphic Decimal Hexidecimal Comments Question mark Commercial at Uppercase A Uppercase B Uppercase C Uppercase D Uppercase E Uppercase F Uppercase G Uppercase H Uppercase I...
  • Page 57 10 appd Page 4 Monday, July 14, 1997 9.16 p Z86K15 ICEBOX™ Emulator Zilog Graphic Decimal Hexidecimal Comments Lowercase b Lowercase c Lowercase d Lowercase e Lowercase f Lowercase g Lowercase h Lowercase i Lowercase j Lowercase k Lowercase l...

Table of Contents