Applied Microsystems Corporation

USER'S MANUAL

Z-80**/3880 Series Microprocessors

5020 148th Ave. N.E.
P.O. Box C-1002
Redmond, WA 98073-1002

Copyright © 1984. All rights reserved

EM-180 / 180B Diagnostic Emulator *

*Diagnostic Emulator is a Trademark of Applied Microsystems Corporation
**Z-80 is a Trademark of Zilog Inc.


  Applied Microsystems Corporation has made every effort to document this product accurately and completely. However, Applied Microsystems assumes no liability for errors or for any damages that result from use of this manual or the equipment it accompanies. Applied Microsystems reserves the right to make changes to this manual without notice at any time.

  Because this configuration of the EM-180B Diagnostic Emulator is intended for use in developing, debugging, and testing Zilog Z-80/3880 Series microprocessor-based systems, it is presumed that the user is familiar with the terminology of the Z80/3880 Series microprocessor.


Table of Contents

Section 1 - Introduction

1-1System Concept . . . . . . . .1-2
1-2Transparency . . . . . . . . . . .1-2
1-3Warranty . . . . . . . . . . . . . . .1-2
1-4General Specifications . . .1-3

Section 2 - EM-180 Components

2-1Operator's Station . . . . . . .2-2
2-2Emulator Probe . . . . . . . . .2-2
2-3Keyboard . . . . . . . . . . . . . .2-2
2-4Diagnostic EPROM Socket . . . .2-2
2-5Display Panel . . . . . . . . . .2-2
2-6Trace Memory . . . . . . . . . .2-5
2-7Back Panel Controls and Connectors . . . .2-5
2-8RAM Overlay . . . . . . . . . . .2-5
2-9Disassembler . . . . . . . . . .2-6

Section 3 - Basic Operating Instructions

3-1Operating Voltage . . . . . .3-2
3-2Safety Information . . . . . .3-2
3-3Connection to Target Equipment . . . .3-2

Section 4 - EM-180 Functions

4-1Execution Control . . . . . . .4-2
4-1.0 RESET Keyswitch . . . .4-2
4-1.1 RUN Keyswitch . . . . . .4-2
4-1.2 RUN BKPT Keyswitch . . . .4-3
4-1.3 STEP Keyswitch . . . . .4-3
4-1.4 Breakpoint System . . .4-6
4-1.5 Trace Memory . . . . . . .4-12
4-2Examination and Alteration of CPU Registers . . . .4-13
4-3Examination and Alteration of Memory Locations . .4-15
4-4Exmination and Alteration of I/O Ports . . . . . . . . . . . .4-17

Section 5 - RAM Overlay

5-1Overview . . . . . . . . .5-2
5-2Installation . . . . . . . .5-3
5-3Controls . . . . . . . . . .5-4
5-4Uploading/Downloading . . .5-6

Section 6 - Disassembly

6-1Overview . . . . . . . . .6-2
6-1.1 Operation Perparation Procedures . . . .6-2
6-2Format Definition . . .6-3


6-3Line Assembler . . . . .6-9
6-3.1 How to Use the Line Assembler . . . .6-9
6-3.2 Features Supported . . . . . . . .6-10
6-4Memory Disassembler . . . . . . .6-12
6-4.1 Overview . . . . . .6-12
6-4.2 How to Use the Disassembler . . . . .6-12
6-4.3 Disassembler Output Format . . . . . .6-12
6-4.4 Errors . . . . . . . .6-12

Section 7 - Built-in Diagnostic Functions

7-1Group A: Memory Tests . . . . . .7-2
7-2Group B: Oscilloscope Loops . . . .7-7
7-3Group C: Memory Load and Dump . . .7-9
7-4Group D: Miscellaneous . . . . .7-15
7-5Group E: Change Default Parameters . . .7-18
7-6Group F: Internal Operations . . . .7-19

Section 8 - User Implemented Code Functions

8-1Overview . . . . . .8-2
8-2Internal Environment . . . . .8-3
8-2.1 ROM . . . . .8-4
8-2.2 Front Panel EPROM Socket . . .8-4
8-2.3 Scratchpad RAM . . . .8-4
8-2.4 I/O Devices . . . . . . .8-6
8-3Entry to User Code Functions . . . .8-15
8-4Introspection Mode . . . . . .8-15
8-4.1 Code F . . . .8-16
8-5Getting To and From the Target System . . .8-16
8-5.1 Examine and Store . . . .8-17
8-5.2 Pause to Run . . . . . .8-18
8-5.3 Run to Pause . . . .8-18
8-5.4 Re-Entry Jump . . . . .8-19
8-6User Accessible Subroutines . . . .8-21
8-7Interrupts . . . .8-25
8-8Code Function Example . . . .8-25

Section 9 - Supplementary Information

9-1Auxiliary Connector . . . . . .9-2
9-2Option Switches . . . . . . .9-4
9-3Serial Interface . . . . . . .9-5
9-4Upload/Download Protocol . . . . .9-6
9-5External Breakpoint . . . . . . .9-8
9-6Trace Hold . . . . . . . .9-8
9-6.1 Window Mode . . . . .9-9
9-6.2 Selective Trace . . . .9-10
9-7Signature Analysis . . .9-10
9-8Soft Shutdown . . . .9-14


Section 10 - Maintenance and Troubleshooting

10-1Maintenance . . . .10-2
10-1.1 Power Supply . . .10-2
10-1.2 Cables . . . . . . .10-2
10-1.3 Probe Tip Assembly . . . . .10-2
10-2Troubleshooting . . . .10-3

Index