Page 3
® ™ MULATOR ANUAL Electrical Safeguards WARNING: Follow the precautions listed below to avoid permanent damage to the emulator. If the target application board has its own power supply, follow the power-up and power- down procedures in the precise order shown below: I.
C84 ICEBOX ™ ANUAL ABLE OF ONTENTS ITLE 1: I HAPTER NTRODUCTION ........................1-1 VERVIEW ........................ 1-1 EATURES ® ..................1-1 UPPORTED ILOG EVICES GUI-S ............. 1-2 UPPORTED OMPILER SSEMBLER ORMATS ....................1-2 ARDWARE PECIFICATIONS ..................1-2 EQUIREMENTS AND ESTRICTIONS...
Page 5
ABLE OF ONTENTS ONTINUED ITLE 4: S HAPTER UMMARY OF INDOWS OMMANDS PERATIONS ........................4-1 ................... 4-1 ONFIGURATION IALOG ........................4-1 ......................... 4-2 CEBOX ..........................4-10 ® ..................4-11 EBUG INDOW LEMENTS ..........................4-13 ....................4-14 INDOW EFRESHING "S " S ..............
Page 6
The complete emulation board schematic diagram is included at the back of this user's manual. Please fill out and return the enclosed Zilog Registration Card as soon as possible so we can advise you of updates and improvements to your Zilog ICEBOX.
Zilog C84-based products. (For a complete list of supported devices, refer to the "Supported Zilog Z8 Devices" section, which follows in this chapter.) The Emulator Graphical User Interface (GUI) runs under MS-Windows for Zilog’s Z8 family of...
DEVICES Emulation OTP Programming Z86C83 Z86C84 GUI-SUPPORTED COMPILER, ASSEMBLER FORMATS The Emulator GUI supports object (binary or Intel hex) produced by the Zilog Z8 ® and the Production Languages Corporation (PLC) assembler. HARDWARE SPECIFICATIONS Dimensions 2.5 in. H x 6.25 in. W x 9.5 in. D Target Clock or Oscillator Freq.
Page 9
C84 ICEBOX ANUAL The following changes to the Minimum Requirements are recommended for increased performance: 486- or Pentium-based machine 66 MHz (or faster) 8 MB of RAM (or more) SVGA Video Adapter Color Monitor Printer Additional Required Items Not Supplied with the Support Package A source of power (+5VDC, ±5%) for the ICEBOX.
GUI diskette. (You may choose to use a different assembler.) 1. Select the "Run" command from the "File" menu under Microsoft Windows "Program Manager". 2. Insert the diskette labeled "Zilog ZASM Cross Assembler/Zilog MOBJ Object File Util." into drive A (or drive B, if appropriate).
C84 ICEBOX ANUAL INSTALLING THE HARDWARE Before installing the hardware, refer to Figure 2-1 for a rear view of the “generic” ICEBOX; Figure 2-2 provides a diagram for connecting the ICEBOX ™ to your PC and power supply. Note: Proper functioning of the ICEBOX assumes that the GUI software has been properly installed and runs correctly on your PC.
COM4 connector of your PC. Note: If connector availability is limited to a 9-pin COM1 through COM4, you’ll have to use either a different cable or a 25-pin to 9-pin converter. (Zilog does not provide either of these items.) UM009902-0601...
C84 ICEBOX ANUAL INSTALLING THE HARDWARE (Continued) Connecting to your design. (Skip this paragraph if you don’t have your design ready yet.) Locate ® the emulation cable for the Z8 you’ve designed in. Note: Wear a properly grounded wrist strap or similar ESD protection before proceeding with this step.
(channel). An ICEBOX emulator with a 100-pin connector requires a H-P analyzer interface board (P/N Z89C0000ZHP from Zilog). 2. The inductance and capacitance of the emulation cable may affect the signals to and from the emulator and target board, especially if the target board has low-current drivers, pull-ups, and pull-downs.
Page 15
C84 ICEBOX ANUAL INSTALLING THE HARDWARE (Continued) Figure 2-3. C84 ICEBOX (Top View) for Jumper Locations UM009902-0601...
Page 16
Target Board ICEBOX ANV isolated from Target Board. via ANVDD Pin ICEBOX Emulator ICE Chip XTAL2 XTAL1 Crystal, Resonator, or Inductor Target XTAL2 XTAL1 Figure 2-4. Jumper Options Diagram Refer to Appendix D for the complete C84 ICEBOX Schematic Diagram. UM009902-0601...
Page 17
C84 ICEBOX ANUAL INSTALLING THE HARDWARE (Continued) Table 2-2. C84 Jumper Settings Jumper Installed Open 1–2 P27 with 10K pull-up resistor P27 without 10K pull-up resistor 3–4 P26 with 10K pull-up resistor P26 without 10K pull-up resistor 5–6 P25 with 10K pull-up resistor P25 without 10K pull-up resistor 7–8...
Page 18
C84 ICEBOX ANUAL WARNING: If your design already has a power supply, do not power your design from the ICEBOX ™ pin. Powering Up. If anything unusual (such as unexpected sounds and smells) occurs the first time you turn on the power supply, quickly turn off the power supply and check your connections. If your power supply allows voltage adjustment, adjust it again to +5V (It may be somewhat lower than +5V because of the load of the ICEBOX.) If your power supply has a current meter, ensure that the ICEBOX is...
C84 ICEBOX ANUAL EMULATOR OPERATION Resetting ™ Pressing the RESET button on the ICEBOX resets the state of the target Z8 and much of the status that you establish using the GUI. For example, it resets the emulated ROM size to 4 KB, and clears all 32 KB Breakpoint ROM.
Special Emulator Operation Considerations The C84 ICEBOX uses the Z86C50 ICE Chip; therefore, emulation at more than 12 MHz requires that the Expanded Register file timing of the ICE Chip be slowed down to SCLK x 2. This is accomplished by loading value %01 to ICECON Register (BankF, Register A) of the ICE Chip.
Then start the new GUI software to see if the emulator boots properly. The GUI should first show the blue Zilog screen, then LED A should blink during self-test and stay on after successfully passing the self-test. If it fails, check the following items: a.
Page 22
Then start the new GUI software to see if the emulator boots properly. The GUI should first show the blue Zilog screen, then LED A should blink during self-test and stay on after successfully passing the self-test. If it fails, check the following items: a.
C84 ICEBOX ANUAL EMULATOR OPERATION (Continued) A/D V Measurement When A/D accuracy is a concern, use the following procedure to measure the actual V voltage applied to the ADC chip on board. 1. Power down and disconnect all cables from the ICEBOX.
C84 ICEBOX ANUAL ANUAL HAPTER ICEBOX S AMPLE ESSION ICEBOX SAMPLE SESSION ® This sample session is designed to introduce you to the features of the Z8 graphical user interface (GUI) software and thoroughly acquaint you with the various GUI windows you will be using in this program.
Page 25
C84 ICEBOX ANUAL ICEBOX SAMPLE SESSION (Continued) Figure 3-1. Zilog ICEBOX Configuration Dialog Box 6. Select the emulation ROM size (see Figure 3-1, which shows this value as “4K”). This affects the size of the code file you can download.
12. Use the File menu to download your sample file to the Z8 Code Memory. a. Sample Z8 source code file and sample assembly batch files are on the "Zilog ZASM Cross Assembler/Zilog MOBJ Object File Util." Diskette. b. Sample files can also be downloaded from the Zilog Bulletin Board Service (ZBBS). Refer to Appendix A, which describes how to access the ZBBS and download sample files.
C84 ICEBOX ANUAL ICEBOX SAMPLE SESSION (Continued) Using the Debug Window 13. Open the Debug window. The content of the Program (Code) Memory is disassembled and listed here. You can do line-down or page-down to get around in the code list, but page-up or line-up is not supported.
C84 ICEBOX ANUAL RUNNING MULTIPLE INSTANCES ™ The ICEBOX will allow several emulators running at the same time, if your PC has more than one communication port. Figure 3-3 shows two emulators running at the same time. Figure 3-3. Running Multiple Instances Note: Running multiple instances of the ICEBOX GUI (two or more emulators running simultaneously) requires more memory than single-emulation operation;...
C84 ICEBOX ANUAL MULTITASKING WITH OTHER WINDOWS APPLICATIONS ™ You can simultaneously run your ICEBOX and other windows applications. Figure 3-4 shows an ICEBOX working under the MS-Windows multitasking environment. Figure 3-4. Multitasking with Other Windows Applications UM009902-0601...
C84 ICEBOX R E L I M I N A R Y ANUAL ANUAL HAPTER UMMARY OF ENUS OMMANDS PERATIONS MAIN MENU ICEBOX Configuration File Help The Main Menu window of the ICEBOX graphical user interface (GUI) is displayed after the GUI program is started.
C84 ICEBOX ANUAL FILE MENU (Continued) Upload Code Memory: Save Z8 ® Code Memory (part or whole) to a file in binary or Intel hex format. Upload Data Memory Save Z8 Data Memory (part or whole) to a file in binary or Intel hex format.
Page 32
C84 ICEBOX ANUAL ICEBOX File Tracking Font Size Window Help Absolute Address Indirect (@Rg) Register Pointer Selecting the "Tracking" menu produces the following menu items: Absolute Address Dialog Box, the Indirect (@Rg) Dialog Box, and the Register Pointer Message Box, which displays the register pointer value in hex format.
Page 33
C84 ICEBOX ANUAL ICEBOX MENU (Continued) 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, especially on a VGA display.
Page 34
C84 ICEBOX ANUAL Data Memory Tracking ICEBOX File Tracking Edit Font Size Window Help Absolute Address Indirect (@RR) Index Address Program Counter Stack Pointer Tracking Selecting the Tracking menu (from the Data Memory menu) produces windows similar to those from the Registers menu (see preceding Registers section);...
Page 35
C84 ICEBOX ANUAL ICEBOX MENU (Continued) ICEBOX File Tracking Edit Font Size Window Help Fill Clear All Edit Selecting the Edit menu from 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 (Figure 4-3).
Page 36
C84 ICEBOX ANUAL This emulator does not support OTP program capabilities. ICEBOX Configuration! File Help Registers Exp. Registers Data Memory Code Memory DSP Memory Status Counter/Timers Ports Debug Exit DSP Memory This window displays the DSP code memory, where editing and tracking can be performed.
Page 37
C84 ICEBOX ANUAL ICEBOX MENU (Continued) ICEBOX Configuration File Help Registers Ext. Registers Data Memory Code Memory DSP Memory Status Counter/Timers Ports Debug Exit Status The Status window displays some of the more important registers. The contents can be displayed in hexadecimal or binary format.
Page 38
C84 ICEBOX ANUAL ICEBOX Configuration File Help Registers Ext. Registers Data Memory Code Memory DSP Memory Status Counter/Timers Ports Debug Exit Debug ™ Selecting Debug from the ICEBOX menu displays the following menu bar: ICEBOX File Font Size Window Help The Debug window allows you to view the assembly code, set break points, trace through the code, and perform other debug operations.
C84 ICEBOX ANUAL ICEBOX MENU (Continued) ICEBOX Configuration File Help Registers Ext. Registers Data Memory Code Memory DSP Memory Status Counter/Timers Ports Debug Exit ICEBOX File Font Size Window Help Trace Code Trace Call Animate Clear Trace Selecting "Run" from the Debug menu displays four menu items (Trace Code, Trace Call, Animate, and Clear Trace), each of which, when selected, provides further program options.
Page 40
C84 ICEBOX ANUAL Debug Window Figure 4-4. Debug Window Debug Window Elements (Refer to Figure 4-5) Code List ® The content of the Z8 Code Memory is disassembled and displayed and any changes made to the memory are immediately reflected here. (Only line-down and page-down scrolling are allowed.) Use the JUMP button to go to an address outside the visible range.
Page 41
C84 ICEBOX ANUAL ICEBOX Menu (Continued) 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. Click on the RESET button to set the program counter to address 000c hex. A subsequent click of the GO button will cause the ICEBOX to perform a RESET and then execute the Z8 ®...
C84 ICEBOX ANUAL Line Assembler From the Code List field 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 depress the Return key.
When you press the RESET button (or power-down, then immediately power-up), the GUI will pick up the signal from the ICEBOX after about 5 seconds. The initial blue screen and the ZILOG logo will be shown while the ICEBOX goes through the initialization sequence.
HAPTER ROUBLESHOOTING UIDE TROUBLESHOOTING GUIDE Zilog Screen Does Not Appear. Blue Zilog screen not appearing after selecting COM port and screen message displays “Time-out while reading ...” Check RS-232 cable connection. Check if transmit/receive signals need to be swapped. Note: On some DB9 connectors for the COM ports, the transmit/receive signal may be swapped and a "Null Modem"...
Page 45
C84 ICEBOX ANUAL TROUBLESHOOTING GUIDE (Continued) "Out of Synchronization with the Emulator" Message. This message appears whenever communication between the ICEBOX emulator and the PC is interrupted. Ensure that the power cable is connected. Ensure that the RS-232 cable is connected.
NTERNET ZILOG BULLETIN BOARD INFORMATION The Zilog Bulletin Board Service (ZBBS) currently provides basic information on Zilog products and includes a ROM CODE upload area. In addition, the ZBBS provides valuable information on items of interest, such as Zilog specialty software and documentation.
2. Some values are given as "taXY" with XY being a two-digit hexadecimal number. Note: Values are not separated by spaces. How To Convert Zilog Linker Output File To convert the Zilog linker output file to obtain the Wolfgang format, use the "cnvzisym.exe" utility with the following command line: cnvzisym < filename >.lnk 2500 AD Symbol File Generate a symbol file using the linker option “-Z = Zax -h = Intel hex”...
Page 48
Full Assembly Multiple Sources These files can be used to generate a symbol table (Zilog or Wolfgang format), a listing file of the absolute addresses, and a hex file loadable for the Zilog emulator. For more information on the available options in the utility programs, refer to the Z8 ASM Assembler User's Guide and the Zilog Universal Object File Utilities User's Guide .
Page 49
-i %1.lnk -o %1.hex generates Intel hex file for code downloading. mnm -l -s -o %1.sym %1.lnk generates symbol table file in Zilog format. cnvzisym.exe %1.lnk generates symbol table file in Wolfgang format. mconv -c -l -o %1.mcon %1.lnk converts MUFOM file to ASCII character file.
If you experience any problems while operating this product, or if you note any inaccuracies while reading the User's Manual, please copy this form, fill it out, then mail or fax it to Zilog (see "Return Information"). We also welcome your suggestions!
Need help?
Do you have a question about the C84 ICEBOX and is the answer not in the manual?
Questions and answers