background image

 

Z86K15 ICEBOX

 

 

 Emulator

 

ST97KEY0100

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

 

CC  

 

jumper J1.

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.

Electrical

Safeguards

UM010001-0301

Summary of Contents for Z86K15

Page 1: ...ion 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...

Page 2: ...a trademark of Zilog 1997 by Zilog Inc All rights reserved No part of this document may be copied or reproduced in any form or by any means without the prior written consent of Zilog Inc The informat...

Page 3: ...2 Setup and Installation Installing the Software 2 1 Zilog Macro Cross Assembler Installation Optional 2 1 GUI Diskette Installation 2 2 Installing the Hardware 2 2 Quick Installation 2 2 Complete Ha...

Page 4: ...e Debugger 4 18 Help 4 20 Window Refreshing 4 20 Saving Sessions Reloading Saved Sessions 4 20 Emulator Operation 4 21 Hardware Reset 4 21 ROM Size 4 21 Breakpoint Implementation 4 21 Chapter 5 Troubl...

Page 5: ...A 100 pin HP Logic Analyzer Interface Connector Edit the contents of Program Memory or the registers track memory locations set break points in ROM and single step into codes Multiple windows can be v...

Page 6: ...e 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...

Page 7: ...SM assembler Zilog Macro Cross Assembler ZMASM Production Languages Corporation PLC assembler 2500AD and other third party development tool companies HARDWARE SPECIFICATIONS Operating Conditions Opera...

Page 8: ...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 Recommended The following changes to the Minimum Requireme...

Page 9: ...nd 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 This can b...

Page 10: ...2 The installation procedure can be run before creating the installation directory 1 For Windows 3 1 select the Run command from the File menu under Microsoft Windows Program Manager For Windows 95 s...

Page 11: ...place when installation is complete INSTALLING THE HARDWARE Before installing the hardware refer to Figure 2 1 for a rear view of the generic ICEBOX emulator Figure 2 2 provides a diagram for connect...

Page 12: ...supply allows voltage adjustment do the following 1 Turn the power supply on and adjust it to 5V 2 Set it for at least 0 75A if there s a current limiting adjustment 3 Turn the supply off or ensure th...

Page 13: ...ither a different cable or a 25 pin to 9 pin converter Zilog does not provide either of these items Connecting to Your Design Skip this paragraph if you your design is not ready yet Locate the emulati...

Page 14: ...tor and Option Jumpers The oscillator and selected option jumpers are accessible from the top of the ICEBOX emulator see Figure 2 3 The option jumpers which are accessible through the top cover allow...

Page 15: ...les for information on how to set up these jumpers for your specific application before proceeding to the next installation steps Figure 2 3 Z86K15 ICEBOX Top Rear View for Jumper Locations RS 232C Sp...

Page 16: ...lator power is isolated from the target system Table 2 2 Jumper Options Oscillator Configuration Jumper Position Description J2 In Out XTAL2 Use target system clock XTAL2 Use Emulator oscillator J3 In...

Page 17: ...port SW1 2 On Off P06 as push pull output port or as input port P06 as open drain output port SW1 3 On Off P05 as push pull output port or as input port P05 as open drain output port SW1 4 On Off P04...

Page 18: ...port SW2 2 On Off P11 as push pull output port or as input port P11 as open drain output port SW2 3 On Off P12 as push pull output port or as input port P12 as open drain output port SW2 4 On Off P13...

Page 19: ...power supply of the design Powering Down When powering down follow the procedure described below 1 Power down the target application board if using its own power supply 2 Power down the ICEBOX emulato...

Page 20: ...configure the ICEBOX for Stand alone Mode 1 Power down and disconnect all cables from the ICEBOX 2 Turn the ICEBOX upside down and using a small Philips screwdriver unscrew the four screws that hold t...

Page 21: ...r 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...

Page 22: ...an be used You can also download other Zilog sample files from Zilog s Bulletin Board Service ZBBS or Internet site Refer to Appendix A for more information 2 Consult Zilog s ZBBS or Internet site to...

Page 23: ...Click on the proper ROM Size option button if the default ROM size is incorrect We can skip this part for the sample NOTES 1 Emulation ROM size selection affects the size of the code file you can down...

Page 24: ...he window make direct memory changes and use the tracking facility to reach a particular memory location NOTE Be careful in modifying Write Only registers since the values represented on the screen ma...

Page 25: ...al file size 11 Select Z8 Debug from the View Debug menu NOTE For easier viewing and navigation around various windows select Tile Vertical or Tile Horizontal from the Window menu The Z8 Debug windows...

Page 26: ...emonstrating how to use the Debug window 15 Click the OK button on the Download Application File window see Figure 3 4 a The source debugger file is now loaded and displayed in the Z8 Source window b...

Page 27: ...a new window Saving and Quitting 20 Pull down the File menu and click on Save Session to save the current setting in a session file You can reload the last session by using the Open Session command on...

Page 28: ...the emulator GUI automatically detects which emulator is in use The user however can override this by using a command line option When a configuration dialog box is shown on the screen you can choose...

Page 29: ...a file that has a default extension PRJ Download Application Download an application file to the Code Memory of the ICEBOX Download To Z8 Code Memory Download a piece of Intel hexadecimal hex or binar...

Page 30: ...g 4 3 ST97KEY0100 VIEW MENU From this menu you can open a number of windows and exit the application Multiple windows can be opened for Registers and Memory Figure 4 1 Download to Z8 Code Memory File...

Page 31: ...n of the cursor The ASCII representation of the contents is on the right The current working register bank is highlighted The cursor can be moved around the window by using the mouse or the arrow keys...

Page 32: ...ss by entering the absolute address value in the di alog box that appears when Absolute Address is selected from the Tracking menu Indirect Rg You can indirectly track to a register contents of which...

Page 33: ...8 Register window Font Size You can choose from a number of font sizes Point 6 to Point 12 However since each system and video type may have its own font set some font sizes may not be suitable especi...

Page 34: ...in dow displays the available expanded register banks of the emulated microcontroller You can dis play more banks by selecting the Define menu The bank selected by the register pointer is high lighted...

Page 35: ...and timers of the current emulator The contents can be displayed in hexadecimal or binary format Z8 Ports The Ports window displays all ports and corresponding registers of the current emulator Some...

Page 36: ...4 9 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 File View Help Registers Memory Z8 Code...

Page 37: ...t 12 Note that actual Data Memory has to be present otherwise nothing meaningful is displayed Editing and tracking can be performed in this window Data Memory Tracking The following menu bar is displa...

Page 38: ...x Address Program Counter and Stack Pointer The following figure shows an Index Address dialog box where you can enter Bank Address Index Register and you can select hex or decimal specifications Stac...

Page 39: ...Data Memory produces two menu items Fill and Clear All Fill 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 o...

Page 40: ...iew menu displays the following menu bar 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 debu...

Page 41: ...t break points trace through the code and perform other debug operations A brief description of the window elements follow Code List The content of the Code Memory is disassembled and displayed and an...

Page 42: ...You have the choice of tracing all instructions or tracing only the calls The traced code is sent to the Output Window NOTES 1 To execute code in real time the Animation feature must be disabled Trace...

Page 43: ...d in the Debug window you can change the Code Memory by entering the assembly code directly into the window line by line After you input a line of assembly code you can press the RETURN key The assemb...

Page 44: ...ace Clears the content of the Trace field Log Execution Enables or disables logging When enabled specified registers are logged to the specified file each time emulation is halted such as at breakpoin...

Page 45: ...us windows select Tile Vertical or Tile Horizontal from the Window menu The Z8 Debug windows can now be sized to your preference 2 Select Z8 Source from the View Debug menu 3 Select Download Applicati...

Page 46: ...EY0100 b The symbols are loaded into the Z8 Debug window Output Window The Output Window displays the results of various operational commands such as GO HALT and RESET Figure 4 12 Z8 Debug and Source...

Page 47: ...ll be updated automatically When you run a program from the Debug window the Status window will be updated automatically at each step halt or breakpoint All other windows Registers Exp Registers Data...

Page 48: ...r RS 232C cable is removed or whenever the ICEBOX emulator and the host PC have failed to properly communicate with each other You have three responses to this message Abort Retry or Ignore Abort Quit...

Page 49: ...r the COM ports the transmit receive signal may be swapped and a Null Modem adapter may be required c Check if power supply is connected turned on and that power is available d Ensure that power suppl...

Page 50: ...ogram counter to continue at that location after a Stop Mode Recovery 9 Slow Rise and Fall Times Low current pull ups pull downs drivers may exhibit slower rise and fall times when the emulation cable...

Page 51: ...For internal Stack SPH does not have to be initialized since it is not used The SPH and SPL are reset to 00H after any reset or Stop Mode Recovery e When making changes to the IMR register the GLOBAL...

Page 52: ...8 N 1 8 bits No parity 1 stop bit We recommend that you use an ANSI BBS ter minal emulation setup To preview information or download files follow the on screen instructions The latest production rele...

Page 53: ...de a complete description of the problem or your suggestion If you are reporting a specific prob lem include all steps leading up to the occurrence of the problem _____________________________________...

Page 54: ...orizontal tabulation 10 A Line feed 11 B Vertical 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 Device control 2 19 13...

Page 55: ...39 27 Apostrophe 40 28 Opening left parenthesis 41 29 Closing right parenthesis 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 3...

Page 56: ...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...

Page 57: ...D Lowercase m n 110 6E Lowercase n 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...

Reviews: