Download Print this page

ZiLOG Z8018500ZCO User Manual

Z80185/195 development kit

Advertisement

Quick Links

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: some will want to set
up and use this kit while they read about it; others will open these pages only as a "last resort" to check
on a particular specification. Therefore, we have designed this manual to be used either as a "how
to" procedural manual or a reference guide to important data.
Additional assistance is provided in the following ways:
The User Interface features a help facility that provides brief messages on keyboard commands.
The complete 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 Development Kit .
© 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 information in this document is subject to change
without notice. Devices sold by Zilog, Inc. are covered by
warranty and patent indemnification provisions appearing
in Zilog, Inc. Terms and Conditions of Sale only. Zilog, Inc.
makes no warranty, express, statutory, implied or by
description, regarding the information set forth herein or
regarding the freedom of the described devices from
intellectual property infringement. Zilog, Inc. makes no
warranty of merchantability or fitness for any purpose.
Zilog, Inc. shall not be responsible for any errors that may
appear in this document. Zilog, Inc. makes no commit-
ment to update or keep current the information contained
in this document.
UM951800100
Z80185/195 Development Kit
User's Manual
Zilog's products are not authorized for use as critical
components in life support devices or systems unless a
specific written agreement pertaining to such intended
use is executed between the customer and Zilog prior to
use. Life support devices or systems are those which are
intended for surgical implantation into the body, or which
sustains life whose failure to perform, when properly used
in accordance with instructions for use provided in the
labeling, can be reasonably expected to result in signifi-
cant injury to the user.
Zilog, Inc. 210 East Hacienda Ave.
Campbell, CA 95008-6600
Telephone (408) 370-8000
Telex 910-338-7621
FAX 408 370-8056
Internet: http://www.zilog.com
I-1

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ZiLOG Z8018500ZCO

  • Page 1 The complete 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 Development Kit .
  • Page 2 Electrical Safeguards WARNING: Follow the precautions listed below to avoid permanent damage to hardware. I. Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD). II. Power-Up Precautions 1. Power-up the PC (or dumb terminal) and ensure that it is running properly. 2.
  • Page 3 Z80185/195 D EVELOPMENT ANUAL ABLE OF ONTENTS ITLE 1: I HAPTER NTRODUCTION ........................1-1 VERVIEW Z80185/195 D ............1-1 EATURES OF THE EVELOPMENT ....................1-1 UPPORTED ILOG EVICES ....................1-2 ARDWARE PECIFICATIONS Z80185/195 D ..........1-2 EVELOPMENT UNCTIONAL LOCK IAGRAM ................
  • Page 4 ABLE OF ONTENTS (Continued) ITLE A: D ................A-1 PPENDIX EVICE RIVERS VERVIEW B: H ZBBS................B-1 PPENDIX OW TO CCESS THE C: P ............. C-1 PPENDIX ROBLEM UGGESTION EPORT UM951800100...
  • Page 5 NTRODUCTION OVERVIEW The Z80185/195 Development Kit (Z8018500ZCO) provides all the necessary hardware, software, and documentation to properly evaluate and begin design development using the Z80185/195 Smart Peripheral Controller. The kit includes a monitor program shipped in EPROM and a software monitor program (TZ.EXE) that runs on a PC.
  • Page 6 Z80185/195 D EVELOPMENT ILOG ANUAL HARDWARE SPECIFICATIONS Dimensions 8.8 in. H x 5.9 in W Oscillator Frequency (OSC) 18.432 MHz Host Interface RS-232 (EIA-232) or RS-422 (EIA-530) Serial Link Serial Baud Rate 115,200 bps (RS-232); Up to OSC/64 (RS-422/485) +5 VDC ± 5% Power Supply Voltage Power Supply Current Less than 1A...
  • Page 7 Windows Startup File for TZ on COM1 TZ96COM2.PIF Windows Startup File for TZ on COM2 Publications Zilog Universal Object File Utilities User's Guide Z80185/195 Development Kit User's Manual Z80185/195 Software Dev. Kit User's Manual asm S800, Z800 Cross Assembler User's Guide...
  • Page 8 Z80185/195 D EVELOPMENT ILOG ANUAL REQUIREMENTS AND RESTRICTIONS Minimum Hardware The Z80185/195 Development Board can be used with a dumb terminal and a power supply; however, a PC is recommended to take full advantage of the development kit's software downloading and development capabilities.
  • Page 9 Software for the Z80185/195 Development Kit is stored on two diskettes: 1. Z80185 Sample Files and Monitor Source Code Diskette 2. Zilog ZASM Cross Assembler/Zilog MOBJ Object File Util. diskette Z80185 Source Diskette Installation 1. Select the “Run” command from the “File” menu under Microsoft Windows “Program Manager”.
  • Page 10 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).
  • Page 11 Z80185/195 D EVELOPMENT ILOG ANUAL SETTING UP THE SERIAL CHANNELS The Z80185/195 includes three serial channels called ASCI0, ASCI1, and the ESCC channel. The board is shipped ready to use ASCI1 as the user interface for the Debug Monitor, with RS-232 DCE pinning on ASCI1 connector J9.
  • Page 12 Z80185/195 D EVELOPMENT ILOG ANUAL SETTING UP THE HARDWARE (Continued) Function Jumper Connections LocalTalk/AppleTalk connector J15-1 to J15-2 from J16 J10 or J11 J15-2 to J15-3 Note: This board has no provision for “clock” or “handshake” input or output on the J16 LocalTalk/ AppleTalk connector.
  • Page 13 Z80185/195 D EVELOPMENT ILOG ANUAL ESCC DTE Pinning on J10 Since the ESCC channel signals on the Z80185 are named appropriately for the DTE role, the following signals on J10 are driven from (or received into) the pins of the same name on the ESCC channel: TxD, RxD, RTS, CTS, DCD, DTR, and RxC.
  • Page 14 Z80185/195 D EVELOPMENT ILOG ANUAL SETTING UP THE HARDWARE (Continued) ASCI0 DTE Pinning on J12 TXA0 drives TxD on J12. RxD on J12 is received into RXA0. /RTS0 drives RTS on J12 CTS on J12 is received onto J7-10 (/CTS0 on the schematic). It can be jumpered to the 185’s /CTS0/RxS pin on J7-9, in which case this pin should be programmed for the /CTS0 function.
  • Page 15 Z80185/195 D EVELOPMENT ILOG ANUAL ASCI0 DCE Pinning on J13 (Continued) DTR on J13 is received onto J14-14 (/DSR0 on the schematic). It can be jumpered to the 185’s PIA12 pin on J14-13, or PIA11 on J14-15. The signal on J14-16 (/DCD0O on the schematic) drives DCD on J13. It can be jumpered from the 185’s PIA11 pin on J14-15, or PIA10 on J14-17.
  • Page 16 Z80185/195 D EVELOPMENT ILOG ANUAL SETTING UP THE PARALLEL CHANNEL (Optional) (Skip this section if you are not using the 185’s parallel port.) Host If you are using the 185 board to act as a Host on the parallel port, such as connecting it to a printer, make sure there is a shunt block on J5 and not on J6.
  • Page 17 Z80185/195 D EVELOPMENT ILOG ANUAL Summary of J14 The following lists all the signals in the J14 header, many of which are provided for application- dependent. Signal Function J14-1 Z80185 /INT0 Ext. interrupt requests J14-2 Z80185 /INT1 Ext. interrupt requests and/or monitor console selection J14-3 J4 HOSTHI Auto-adaptation host versus peripheral...
  • Page 18 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.) Figure 2-1. Z80185/195 Development Board-to-PC Hook-Up Diagram...
  • Page 19 Z80185/195 D EVELOPMENT ILOG ANUAL INITIAL CHECKOUT/SAMPLE SESSION The sections that follow are designed to provide an initial checkout of the hardware/software installation and setup and introduce you to some of the features of the TZ terminal emulation program. 1. If necessary, power-up the PC and wait for the boot process to complete. 2.
  • Page 20 Z80185/195 D EVELOPMENT ILOG ANUAL 9. Press ENTER at the command prompt to disassemble more of the instructions in DISTEST. Note: The file, which preceded, is not intended to be an executable program. Rather, it is the test file for the disassembly command in this Debug Monitor. DISTEST includes all the instructions that can be executed by the Z8018x family processors.
  • Page 21 Two hex files, DISTEST.HEX and TSTRST20.HEX, containing binary/absolute programs for the Z80195 processor are provided with this development kit. You can use the Zilog Z800 assembler and object utilities provided with this kit, or third-party Z80 or Z180 software development tools to generate your own 185/195 programs and hex files.
  • Page 22 If all connections to your PC are correct, you should see the following opening message at power up or by pressing the RESET button on the board: Zilog Z80185 Monitor Version v.m Z80185 > Where v is the current version of the debug monitor and m is the revision.
  • Page 23 Z80185/195 D EVELOPMENT ILOG ANUAL TZ Program Restrictions If the Debug Monitor is used with a dumb terminal, or with a PC running a terminal emulator other than TZ, two commands will not work as described in this chapter: 1. An “L” command (for loading a hex file) will not be followed by the “Enter File Name:” prompt. 2.
  • Page 24 Z80185/195 D EVELOPMENT ILOG ANUAL PROGRAM COMMANDS Program Basics 1. The monitor program will prompt for all commands (A–X) with “Z80185 >”. 2. Press the <ESC> key if you make a mistake or want to return to the command prompt. 3.
  • Page 25 Z80185/195 D EVELOPMENT ILOG ANUAL Alter Memory [A] Use the Alter Memory command to modify bytes in memory. The display shows the address and current data. When a byte is entered, it is written to the address shown, and the next higher or lower address is displayed.
  • Page 26 Z80185/195 D EVELOPMENT ILOG ANUAL Set or Show Breakpoints [B] (Continued) Example: Z80185 > Breakpoint at Address (just CR to Display All): 2100 Z80185 > Breakpoint at Address (just CR to Display All): Breakpoints 2100 Z80185 > Z80185 > Go Starting at Address : 9000 B C D E H L A’...
  • Page 27 Z80185/195 D EVELOPMENT ILOG ANUAL Edit/Display I/O Data [E] This command allows editing or display of registers in I/O space. First, the program asks for a starting address, which can be 16 bits. Then it asks for the number of registers to display. If you enter "0" or just a <RETURN>, you enter Editing mode.
  • Page 28 Z80185/195 D EVELOPMENT ILOG ANUAL Fill Memory [F] This commands fills memory with a specified byte value. The desired numbers of bytes can be up to 65K. Be careful with overwriting monitors RAM variables, which are typically at addresses 2000-20FF. Example: Z80185>Fill Memory starting at: 8000 With data: 77...
  • Page 29 Z80185/195 D EVELOPMENT ILOG ANUAL Help [H] Entering “H” displays the command set available from the monitor program. A – Alter Memory B – Set or Show Breakpoints C – Compare Memory Data D – Display Memory Data E – Edit/Display I/O Data F –...
  • Page 30 Z80185/195 D EVELOPMENT ILOG ANUAL Loading an Intel Hex File [L] This command affects both the Z80185 monitor and the TZ.EXE program, which runs on a PC. After you enter the name of the file, the PC sends it to the board RAM. This command and the N command are the two commands that require that you use the TZ.EXE program on a PC as the terminal.
  • Page 31 Z80185/195 D EVELOPMENT ILOG ANUAL Change Serial Data Rate [N] Changes the bit rate of serial communications between the host and the board. This command and the L command are the two commands that require that you use the TZ.EXE program on a PC as the terminal.
  • Page 32 Z80185/195 D EVELOPMENT ILOG ANUAL Display/Alter Registers [R] You will be asked for a starting register. If no register name is supplied, all CPU registers are displayed. If a register name is supplied, display starts from that register, and the values can be modified.
  • Page 33 Z80185/195 D EVELOPMENT ILOG ANUAL Step (Into Subroutine Calls) [T] This command steps a specified number of instructions, stepping “into” the subroutines and calls. Stepping can be done in RAM and the monitor program checks for this. You can step “over” but not “into”...
  • Page 34 Display Version of the Monitor [V] Entering a "V" displays the software version number Example: Z80185 > Version Zilog Z8015 Monitor Version 1.2 Z80185> Examine the MMU [X] This command can be used to control the mapping from logical to physical memory. When you enter an "X"...
  • Page 35 Z80185/195 D EVELOPMENT ILOG ANUAL Other Features If you press the NMI button, you will see the following message: Non-Maskable Interrupt! D E H A’ F’ B’ C’ D’ E’ H’ L’ I FC 7C 00 00 81 53 00 BF 62 04 01 0E 90 00 80 89 00 904A 800F 827A 0 0F77 CB7F BIT 7,A...
  • Page 36 Z80185/195 D EVELOPMENT ILOG ANUAL RST 20H Services The monitor program offers a number of console I/O services using the RST 20 instruction. These services have advantages over direct I/O to the ASCI or ESCC registers—they implicitly use the console port that the user has selected. Prior to the RST 20h, the user should set the B register to identify the services required, from the following list.
  • Page 37 Z80185/195 D EVELOPMENT ILOG ANUAL ANUAL HAPTER EFERENCE MEMORY CONFIGURATIONS AND JUMPER SETTINGS Memory Configurations EPROM. The Z80185/195 board is shipped with a 28-pin ROM socket. The board is being shipped with populated 27256-type ROM, which contains the Z80185 monitor program. SRAM.
  • Page 38 Z80185/195 D EVELOPMENT ILOG ANUAL Serial Interface The serial I/O pins of the Z80185/195 serial controller are connected to the J9–J13 connector blocks through RS-232 or RS-422 drivers and receivers. J9–J12 are EIA-570 DB-25 connectors for the three serial ports (ASCI0, ASCI1, and EMSCC) of the Z80185/195. Jumper Description ASCI1, data (TXD and RXD) only, female, DTE or DCE...
  • Page 39 Z80185/195 D EVELOPMENT ILOG ANUAL Serial Interface Jumper Settings (Continued) To use J9 as RS-422 DTE: Jumper Numbers 1–3, 2–4, 7–9, 8–10 To use J9 as RS-422 DCE: Jumper Numbers 1–2, 3–4, 7–8, 9–10 ESCC Signals To use the ESCC /TRXC pin as an input from J10: Jumper Numbers 1–2...
  • Page 40 Z80185/195 D EVELOPMENT ILOG ANUAL Serial Interface Jumper Settings (Continued) ASCI0 Signals Jumper Numbers Description 4–5 To use ASCI0 CKA0 as an input from J12 or J13. 5–6 To use ASCI0 CKA0 as an output on J12 or J13. Modem Control Signals J14 allows jumpering between modem control inputs and outputs for J10-13 as shown below.
  • Page 41 Z80185/195 D EVELOPMENT ILOG ANUAL Other Jumpering The following modem control signals can be interconnected with PIA16-10 I/Os on the Z80185/195 or INT0-2 inputs on the Z80185/195 and the HOSTHI and PERIPHI lines of J3 and J4, using the J14 jumper block as follows.
  • Page 42 Z80185/195 D EVELOPMENT ILOG ANUAL Debug Monitor Memory Map The Debug Monitor sets the ROM/RAM boundary to hex 02000, so in effect it takes up the first 8K bytes of the Z80185 address space. Since there is 128K bytes of RAM on the board, the Debug Monitor sets the top of RAM to 21FFF.
  • Page 43 Z80185/195 D EVELOPMENT ILOG ANUAL Z80185/195 DEVELOPMENT BOARD SCHEMATIC Board schematic not available at this site. UM951800100...
  • Page 44 Z80185/195 D EVELOPMENT ANUAL ILOG ANUAL PPENDIX RIVERS VERVIEW Introduction The Z80185/195 Development Kit includes device drivers software that supports the serial or P1284 Centronics ports. The software is structured as modular libraries so that you can use only those pieces actually needed.
  • Page 45 Z80185/195 D EVELOPMENT ANUAL ILOG OVERVIEW (Continued) P1284 Key Features There are separate drivers for inclusion in printers (peripheral) and the host computer. Both drivers support compatible, byte, nibble, and ECP modes. Both drivers achieve high data rates by using the hardware support of the Z80185/195 for data transfer.
  • Page 46 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.
  • Page 47 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!