Advertisement

Quick Links

Z86L9900100ZEM
Z86L9900100ZEM
Z86L99 ICEBOX
User Manual
UM005100-IRR0400
ZiLOG W
H
• 910 E. H
A
• C
, CA 95008
ORLDWIDE
EADQUARTERS
AMILTON
VENUE
AMPBELL
T
: 408.558.8500 • F
: 408.558.8300 •
.Z
LOG.
ELEPHONE
AX
WWW
I
COM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z86L99 ICEBOX and is the answer not in the manual?

Questions and answers

Summary of Contents for ZiLOG Z86L99 ICEBOX

  • Page 1 Z86L9900100ZEM Z86L9900100ZEM Z86L99 ICEBOX User Manual UM005100-IRR0400 ZiLOG W • 910 E. H • C , CA 95008 ORLDWIDE EADQUARTERS AMILTON VENUE AMPBELL : 408.558.8500 • F : 408.558.8300 • LOG. ELEPHONE...
  • Page 2 DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. Except with the express written approval ZiLOG, use of information, devices, or technology as critical components of life support systems is not authorized. No licenses or other rights are conveyed, implicitly or otherwise, by this document under any intellectual property rights.
  • Page 3 Electrical Safeguards Follow the precautions listed below to avoid permanent damage to the emulator. Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD). II. Power-Up Precautions. 3. Ensure that all power to the emulator and the target application (if any) is turned OFF. 4.
  • Page 5 Z86L99 ICEBOX U ’ ANUAL REFACE ABOUT THIS MANUAL We recommend that you read and understand everything in this manual before setting up and using the product. However, we recognize that users have different styles of learning. There- fore, we have designed this manual to be used either as a how-to procedural manual or a ref- erence guide to important data.
  • Page 7: Table Of Contents

    Z86L99 ICEBOX U ’ ANUAL ABLE ONTENTS Chapter Title and Subsections Page Chapter 1 Introduction ............. . 1-1 VERVIEW .
  • Page 8 Chapter Title and Subsections Page Chapter 2 Set-Up and Installation ..........2-1 ARDWARE NSTALLATION .
  • Page 9 Z86L99 ICEBOX U ’ ANUAL IST OF ABLES Table Page 1-1 S ..........1-3...
  • Page 11 Z86L99 ICEBOX U ’ ANUAL IST OF IGURES Figure Page 2-1 E ..........2-2...
  • Page 13: Overview

    P2 headers. The Z86D99 ICE chip is used as the emulation processor on the daughter board. The motherboard provides host communication interface, control processor, I/O space decoding and LED indicators. The emulator is designed to be used with ZiLOG Developers Studio, giving the user a total package to write, edit and debug their applications.
  • Page 14: Emulator Features

    • Emulates and supports all the features and functions for a specified Z8 IR microcontroller • Multitasking allows the user to use other Windows applications while ZiLOG Developer Studio (ZDS) is running MULATOR IMITATIONS The Z86D99 ICE chip’s ROM/ROMLESS pin is used to configure the ICE CHIP for 32K of internal ROM.
  • Page 15: Supported Zilog Devices

    Introduction Supported ZiLOG Devices SUPPORTED ZILOG DEVICES Table 1-1 shows the products supported by the Z86L9900100ZEM ICEBOX: 1-1. S ABLE UPPORTED PRODUCTS Packages Emulation Required accessories 28 PDIP Z86L991PZ008SC Z86D991 28 PDIP emulation pod PZ008SC 28 PDIP program platform (PC ASSY#99C0667-001...
  • Page 16: Serial Interface

    ZiLOG Developer Studio communicates with theZ86L9900100ZEM ICEBOX using a DB25, RS-232 and DCE cable (TxD, RxD only). GUI-SUPPORTED COMPILER, ASSEMBLER FORMATS The Emulator supports object (binary or Intel hex) code files produced by ZiLOG Developer Studio (ZDS), ZiLOG Macro Cross Assembler (ZMASM). KIT CONTENTS The emulator kit contains one each of the following items: •...
  • Page 17: Optional Recommended Item

    16 MB RAM VGA Video Adapter Hard Disk Drive (12 MB free space) CD-ROM Drive (a CD-ROM drive is not needed if you download ZDS from the web at www.zilog.com) RS-232 COM Port Mouse or Pointing Device Microsoft Windows 95/98/NT...
  • Page 18: Contacting Zilog Customer Support

    Introduction CONTACTING ZILOG CUSTOMER SUPPORT ZILOG has a worldwide customer support center located in Austin, Texas. The customer support center is open from 7 a.m. to 7 p.m. Central Time. The customer support toll-free number for the United States and Canada is 1-877-ZiLOGCS (1-877-945-6427).
  • Page 19: Set-Up And Installation

    Z86L99 ICEBOX U ’ ANUAL HAPTER P AND NSTALLATION HARDWARE INSTALLATION Before installing the hardware, refer to Figure 2-1 for a diagram on connecting the emulator to a PC and power supply; Figure 2-3 provides option jumper locations. UICK INSTALLATION INSTRUCTIONS To install the hardware utilizing a 5VDC wall-adaptor power supply, perform the following.
  • Page 20: Complete Installation Instructions

    Hardware Installation Set-Up and Installation OMPLETE INSTALLATION INSTRUCTIONS The following procedures illustrate a complete step-by-step guide on installing the emulator. 2-1. E IGURE MULATOR CONNECTION Set Power Jumper The Z86L9900100ZEM ICEBOX allows the user to power the emulator and target from a variety of different sources.
  • Page 21: Figure 2-2 J6 Jumper Schematic

    Set-Up and Installation Hardware Installation The user should choose from one of the below options when selecting their power source • Jumper pin 1 to pin 3 and pin 2 to pin 4 to power both the ICE chip and target from the emulator’s adjustable voltage regulator (default setting) •...
  • Page 22 Hardware Installation Set-Up and Installation RS-232C Power Reset Debug pins Logic analyzer Voltage connector adjuster OTP programing interface Ice Chip 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Oscillator...
  • Page 23 (This connection is keyed to ensure against an improper connection.) The ZiLOG Power Supply Accessory Kit (ZPS05V00ZAC), which is sold separately, provides a fixed-5V Universal Output Power Supply, accepts 110V to 220V AC input, and includes a power cable and an in-line jack cable.
  • Page 24 Hardware Installation Set-Up and Installation Connect to the Design Connect to the target design by performing the following steps: 1. Locate the emulation cable for the device. CAUTION! Wear a properly grounded wrist strap or similar ESD protection before continuing. 2.
  • Page 25 The logic analyzer adapter can be ordered from customer support by requesting part number 98C0289-001. 3. Plug the cable from the ZiLOG logic analyzer adapter into the emulator. Ensure that the pin 1 marking (as indicated by the red mark on the ribbon cable) matches the pin 1 on the target board.
  • Page 26: Software Installation

    SOFTWARE INSTALLATION For more information on installing ZDS refer to the user manual PDF that is included on the installation CD-ROM or download ZDS literature from the ZiLOG web page at zilog.com. EMULATOR OPERATION The following topics guide the user on how to operate the emulator and configure jumper set- tings.
  • Page 27: Led Operation

    Set-Up and Installation Emulator Operation LED O PERATION ZiLOG emulators use LEDs to communicate the different hardware states. The following table gives a description of the LEDs. The Z86L9900100ZEM LED’s are located on the right front of the emulator. 2-4. F...
  • Page 28: Umper Settings

    Target is powered by emulator’s adjustable regulator ICE chip is powered by a programmable regulator (The programmable regulator is currently not supported . Contact ZiLOG customer support to see if the programmable regulator has been released .) Target is not powered by emulator (See Emulator...
  • Page 29 Set-Up and Installation Emulator Operation 2-1. J ABLE UMPER SETTINGS ONTINUED Jumper Pin Position Description Out (Default) OTP programming adapter pins (see Note at the ICE chip uses target oscillator/clock bottom of the table) In * (Default) ICE chip uses emulator oscillator/clock (see Note at the bottom of the table) The user can not run the emulator’s oscillator if the target oscillator or XTAL is connected.
  • Page 30: Dip Settings

    Emulator Operation Set-Up and Installation ETTINGS DIP switch banks S1 and S3 are used to disable digital functions for ports 1 and 3. DIP switch banks S2, S4, S5 and S6 are used to emulate port pin pull-up transistors for the Ice Chip.
  • Page 31 Set-Up and Installation Emulator Operation 2-3. DIP ABLE SETTINGS TO SET PULL ESISTORS ONTINUED DIP bank Switch Description Turn on to set a pull-up resistor for Port 5 Pin 5 Turn on to set a pull-up resistor for Port 5 Pin 6 Turn on to set a pull-up resistor for Port 5 Pin 7 Turn on to set a pull-up resistor for Port 6 Pin 0 Turn on to set a pull-up resistor for Port 6 Pin 1...
  • Page 32: Performing Otp Programming

    ERFORMING PROGRAMMING The Z86L9900100ZEM ICEBOX is designed for OTP programming. To perform OTP pro- gramming perform the following steps: 1. Locate the supplied OTP adapter for the micro controller you wish to program. Consult Table 1-1for the proper OTP adapter. 2.
  • Page 33: Overview

    Z86L99 ICEBOX U ’ ANUAL HAPTER VERVIEW EMULATION The Z86L9900100ZEM ICEBOX uses the Z86D99 ICE chip to provide emulation for the Z8 family of IR controllers. The emulator is capable of OTP programming for the family being emulated. The user can manually set pull-up resistors and adjust the voltage of the ICE chip to match the target’s voltage.
  • Page 34: Using Zds

    Overview USING ZDS This emulator is fully compatible with ZiLOG Developer Studio (ZDS) software. The fol- lowing steps briefly describe the procedures necessary to setup and create projects with the Z86L9900100ZEM emulator. A summary of the emulator’s available debug windows is also included at the end of this chapter.
  • Page 35: Figure 3-2 Emulator Configuration Dialog Box

    Overview Using ZDS 7. Click on the browse button (...) in the Project Name field. The New Project Browse dialog box appears. 8. Enter the project file name and select a path in the New Project Browse dialog box. All build output files, such as linker and assembly files are saved in the same directory as the project.
  • Page 36: Open A Project And Add Files

    Using ZDS Overview PEN A PROJECT AND ADD FILES A previously created project has the following attributes saved with it: • Target settings • Assembler and Linker settings for the specified target • Source files (including header files) Use the Project Viewer window to view and access the various files in any given project. Perform the following steps to open a previously created project: 1.
  • Page 37: Figure 3-4 Insert Files Into Project Dialog Box

    Overview Using ZDS 3-4. I IGURE NSERT ILES ROJECT DIALOG BOX 2. Select the file to add to the project. 3. Click Open. The file appears in the Project Viewer window. See Figure 3-5. 3-5. P IGURE ROJECT IEWER WINDOW WITH FILE 4.
  • Page 38 Using ZDS Overview Add a new file 1. Select Add to Project>New from the Project menu. The Insert New Files Into Project dialog box appears. 2. Type a file name in the File Name field. 3. Click Open. The new file name appears in the Project Viewer window with a .asm suffix, and a blank Edit window also appears.
  • Page 39: Available Debug Windows

    Overview Available Debug Windows AVAILABLE DEBUG WINDOWS The following table lists the debug windows that are available using ZDS. 3-1. D ABLE EBUG WINDOWS Window Function (Updated values will display in red) • Watch Shows the symbols and the contents of the registers (see the ZDS user manual for more information) •...
  • Page 40: Table 3-1 Debug Windows

    Available Debug Windows Overview 3-1. D ABLE EBUG WINDOWS ONTINUED Window Function (Updated values will display in red) • Timer Counter Modify the timer/counter registers in this window Registers • Ports Register Monitor and edit port registers in this window •...
  • Page 41: Appendix A Troubleshooting Guide

    If a hardware failure is suspected, contact a local ZiLOG representative for assistance. If the initial ZiLOG screen is not appearing after selecting the COM port and the screen mes- sage displays Time-out while reading: 1.
  • Page 42: Counter Jumps To Unexpected Address

    The previous Z86L71 and Z86L98 ICEBOX 40 pin target pod have pin 31 connecting to ground for emulating the L73/87/89. That target pod can not be used for Z86L990 emulation. Only use the target cable which is shipped with the Z86L99 ICEBOX. COUNTER JUMPS TO UNEXPECTED ADDRESS Any instruction other than a DI instruction is used to disable interrupts.
  • Page 43: Zds Error Messages

    Troubleshooting Guide ZDS Error Messages ZDS ERROR MESSAGES INDOWS If this message appears while attempting to open a window in ZDS, there may be too many applications running. Try closing the other active applications or exit and restart your PC. UT OF YNCHRONIZATION WITH THE MULATOR...
  • Page 45: Problem/Suggestion Report Form

    Address Fax Number City/State/ZIP E-Mail Address Product Information and Return Information Serial # or Board Fab #/Rev. # ZiLOG, Inc. Software Version System Test/Customer Support Manual Number 910 E. Hamilton Ave., Suite 110, MS 4-3 Host Computer Description/Type Campbell, CA 95008 Fax Number: (408) 558-8536 Email: tools@zilog.com...
  • Page 47: Glossary

    Z86L99 ICEBOX U ’ ANUAL LOSSARY Address Space Physical or logical area of the target systemÕs Memory Map. The memory map could be physically partitioned into ROM to store code, and RAM for data. The memory can also be divided logically to form sepa- rate areas for code and data storage.
  • Page 48 Glossary sending and receiving computers synchronize their clocks before data transfer may begin. A digit of a binary system. It has only two possible values: 0 or 1. Bits Per Second. Number of binary digits transmitted every second during a data-transfer procedure. Buffer Storage Area in Memory.
  • Page 49 Hexadecimal, Half-Carry Flag. Hexadecimal. Hexadecimal A Base-16 Number System. Hex values are often substituted for harder to read binary numbers. In-Circuit Emulator. A ZiLOG product which supports the application design process. Interrupt Enable. UM005100-IRR0400 Glossary–3...
  • Page 50 Glossary Immediate Data Addressing Mode. IMASK Interrupt Mask Register. Interrupt Mask Register. Increment. INCW Increment Word. Initialize To establish start-up parameters, typically involving clearing all of some part of the deviceÕs memory space. Instruction Command. Interrupt. Internal Symbol A symbol that is defined in a program file. This symbol could be visible to multiple functions within the same program file.
  • Page 51 Glossary Jump. Jump Relative. Library A File Created by a Librarian. This file contains a collection of object modules that were created by an assembler or directly by a C compiler. Local Symbol Symbol visible only to a particular function within a program file.
  • Page 52 Glossary Operation Code. Op Code Operation Code. One-Time Programmable. PCON Port configuration register. Peripheral. A device which supports the import or output of information. Retrieve a Value from the Stack. Power-On Reset. Port The point at which a communications circuit termi- nates at a Network, Serial, or Parallel Interface card.
  • Page 53 Glossary Public/Global Symbol A programming variable that is available to more than one program file. PUSH Store a Value In the Stack. Working Register Address. Register or Working-Register Address, Rising Edge. Relative Address. Random-Access Memory. A memory that can be written to or read at random.
  • Page 54 Glossary Serial Input/Output. Shift Left or Special Lot. Shift Left Logical. Stop Mode Recovery. Serial Number. SOIC Small Outline IC. Stack Pointer. Stack Pointer High. Serial Peripheral Interface. Stack Pointer Low. SRAM Static Random Access Memory. Shift Right. Shift Right Arithmetic. Source.
  • Page 55 Glossary Subtract. SVGA Super Video Graphics Adapter. Software. Software Interrupt. Symbol Definition Symbol defined when the symbol name is associ- ated with a certain amount of memory space, depending on the type of the symbol and the size of Its dimension. Symbol Reference Symbol referenced within a program flow, when- ever It is accessed for a read, write, or execute...
  • Page 56 Glossary Unsigned Less Than or Equal. Unsigned Less Than. UserÕs Manual. USART Universal Synchronous/Asynchronous Receiver/Transmitter. Can handle synchronous as well as asynchronous transmissions. Universal Serial Bus. Universal Serial Controller. Use Test Box. A board or system to test a particular chip in an end-use application.
  • Page 57 ZiLOG Symbol Format Three fields per symbol including a string containing the Symbol Name, a Symbol Attribute, and an Absolute Value in Hexadecimal. ZiLOG Linkage Editor. Cross linkage editor for ZiLOGÕs microcontrollers. ZLIB ZiLOG Librarian. Librarian for creating library files from locatable object modules for the ZiLOG family of microcontrollers.
  • Page 58 Glossary ZMASM ZiLOG Macro Cross Assembler. ZiLOGÕs program development environment for Windows 3.1 and up. ZOMF ZiLOGÕs Object Module Format. The object module format used by the linkage editor. Glossary–12 UM005100-IRR0400...
  • Page 59 Z86L99 ICEBOX U ’ ANUAL NDEX A–D ....2-1 Quick installation ....1-5 Requirements .
  • Page 60 (U13) (U13) (U13) (U13) (U13) (U13) (U13) (U13) (U8) (U8) (U8) (U8) (U10) (U10) (U12) (U12) (U9) (U9) 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF 0.1UF (U9) (U9) (U11) (U11) (U11) (U11) (U15)
  • Page 61 CONTROL LOGIC nIACKtv VOLTAGE TRANSLATOR nMAS_I SCLK nRST_Itv nSYNC A_I[15..8] AD_I[7..0] MOTHERBOARD INTERFACE ZILOG 4201 Bee Caves Road FOR USER"S MANUAL ONLY Suite C-100 Austin, TX 78746 Title SCHEMATIC, Z86L99 EMULATION DAUGHTER BOARD Size Document Number R e v Date:...
  • Page 62 USER NOTE: DM_ENA EXT_M EM USER NOTE: INSTALL JUMPER IF TA RGET INSTALL JUMPER IF SYSTEM USES POR T 3 PIN 4 TARGET SYSTEM U SES AS /DM PIN TO ACCE SS PORT 1 AS AD DRESS/DATA EXTERNAL DATA/PROG RAM BUS.
  • Page 63 VCC_I VCC_I A_Itv[15..8] A_Itv[15..8] pg11 Test Port AD_Itv[7..0] AD_Itv[7..0] pg11 AD_Itv0 AD_Itv1 L99 IC E MCU AD_Itv2 P34tv pg11 AD_Itv3 P2_I[0..7] (L99 PORT2) P2_I[0..7] pg5,7 AD_Itv4 AD_Itv5 AD_Itv0 P2_I0 nRST_Ttv pg11 MAD0 AD_Itv6 AD_Itv1 P2_I1 MAD1 AD_Itv7 AD_Itv2 P2_I2 MAD2 VCC_I VCC_I AD_Itv3...
  • Page 64 (L99 PORT5) P5_I[0..7] pg4,7 P5_I[0..7] P6_I[0..7] (L99 PORT6) pg4,7 P6_I[0..7] P4_I[0..7] (L99 PORT4) pg4,7 P4_I[0..7] P2_I[0..7] (L99 PORT2) pg4,7 P2_I[0..7] TURN SWITCH TO ON POSIT ION TARGE T CONNECTORS PLACE SWITCH IN OPEN TO ENABL E RESISTOR PULL UP POSITION WHEN USING PORT VCC_I ON PORT PINS.
  • Page 65 L99 MODE: - SET ROM_SIZE_RG = 16K. - T3 IS TRI-STATED. - WHEN DS_I IS ASSERTED: IF (FG/BG && OUTSIDE_ROM) TR-STATE T1. ELSE IF (FG/BG && !OUTSIDE_ROM) ENABLE T1. ELSE IF (!FG/BG) IF (C_JAM_P1) TRI-STATE T1. ELSE ENABLE T1. NOTE: ZDS MUST NOT SET D_MEMFLAG REGISTER DMF_DATA BIT WHEN ACCESSING EXECUTABLE RAM.
  • Page 66 AD_I[7..0] pg8,11 AD_I[7..0] AD_I0 MAD0 AD_I1 MAD1 AD_I2 MAD2 SIGNAL BUFFER AD_I3 MAD3 P6[0..7] AD_I4 MAD4 P2[0..7] AD_I5 MAD5 AD_I6 MAD6 nAS_I nAS_I pg11 AD_I7 MAD7 LG_32_64 R32_64 R32_64 SIGNAL BUFFER A_I8 nMAS nMAS_I nMAS_I pg11 A_I9 R_W_I R_W_I pg11 A_I10 MA10 A_I11...
  • Page 67 A_M[15..8] MB INTER FACE CONNECTOR 2 A_M[15..8] AD_I[7..0] AD_I[7..0] pg7,11 MB INTER FACE CONNECTOR 1 FG_BG pg3,7,11 nRST_frM nMAS_I pg11 C_DR_ADI C_JAM_P1 pg3 nIRQ_ACK pg11 R_W_M nRST_CT (nM_AS) (TRACE) (nIACK) (U_PXX) nAS_M nIRQ_ACK R_W_I nAS_M R_W_I pg11 (nM_DS) (CH_DIR) (nCS_U245) (U_P35) nDS_M C_DR_ADI...
  • Page 68 15V OUTP UT ISR VCC_15V PT5042 VOUT + C3 LT1086CM 100uF16V VCC_reg VOUT + C73 + C74 10uF 22uF 0.1UF VCC_15V 2V - 4V Adjustable 73.2 Power 2K_1% POWER OP-AMP LT1014DS CIRC UIT 0.1UF (0-14V) 2K_1% 10K_1% VCC_VV VCC_VV 2K_1% VCC_15V 2K_1% DAC IC...
  • Page 69 HEADERS FOR OTP PROGRAMMING SOCKET HIGH TO LOW & LOW TO HIGH ADAPTER VOLTAGE TRANSLATION D_P[7..0] D_Ptv[7..0] D_P[7..0] D_P0 D_Ptv0 D_P1 D_Ptv1 D_P2 D_Ptv2 CONTROL SIGNAL FOR D_P3 D_Ptv3 D_Ptv0 D_Ptv1 D_P4 D_Ptv4 D_Ptv2 D_Ptv3 PROGRAMM ING D_P5 D_Ptv5 D_Ptv4 D_Ptv5 D_P6 D_Ptv6...
  • Page 70 pg7,8 nIRQ_ACK pg3,7 nRST_frI pg3,7 nAS_I pg3,7,8 SCLK pg3,7,8 nSYNC P34_nDM pg3,7,8 nMAS_I pg3,7,8 R_W_I pg3,7 nDS_I pg3,7 nMDS_I n R S T _ T LOW TO HIGH VOLT AGE TRANSLATION nRST_Ttv nRST_ T nRST_Ttv nMDS_Itv nMDS_I nMDS_Itv nDS_Itv nDS_I nDS_Itv R_W_Itv R_W_I...

Table of Contents