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.
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.
• 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.
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: •...
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...
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).
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.
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.
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 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.
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.
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...
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.
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...
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.
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.
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.
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.
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.
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.
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) •...
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 •...
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.
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.
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...
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...
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 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 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 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...
Need help?
Do you have a question about the Z86L99 ICEBOX and is the answer not in the manual?
Questions and answers