Tektronix TMS241 Instruction Manual

Instruction Manual
TMS 241 68HC12 Microcontroller Support
071-0145-01
Warning
The servicing instructions are for use by qualified personnel only. To avoid personal injury, do not perform any servicing unless you are qualified to do so. Refer to all safety summaries prior to performing service.
Copyright E T ektronix, Inc. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and are protected by United States copyright laws and international treaty provisions.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in T echnical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (c)(1) and (2) of the Commercial Computer Software – Restricted Rights clause at F AR 52.227-19, as applicable.
T ektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved.
Printed in the U.S.A.
T ektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000 TEKTRONIX and TEK are registered trademarks of T ektronix, Inc.
SOFTWARE WARRANTY
T ektronix warrants that the media on which this software product is furnished and the encoding of the programs on the media will be free from defects in materials and workmanship for a period of three (3) months from the date of shipment. If a medium or encoding proves defective during the warranty period, T ektronix will provide a replacement in exchange for the defective medium. Except as to the media on which this software product is furnished, this software product is provided “as is” without warranty of any kind, either express or implied. T ektronix does not warrant that the functions contained in this software product will meet Customer’s requirements or that the operation of the programs will be uninterrupted or error-free.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the warranty period. If T ektronix is unable to provide a replacement that is free from defects in materials and workmanship within a reasonable time thereafter, Customer may terminate the license for this software product and return this software product and any associated materials for credit or refund.
THIS WARRANTY IS GIVEN BY TEKTRONIX IN LIEU OF ANY OTHER WARRANTIES, EXPRESS OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. TEKTRONIX’ RESPONSIBILITY TO REPLACE DEFECTIVE MEDIA OR REFUND CUSTOMER’S PAYMENT IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY. TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.

Table of Contents

Getting Started
Operating Basics
General Safety Summary iii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service Safety Summary v. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface vii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Manual Conventions vii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logic Analyzer Documentation viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contacting T ektronix viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Support Package Description 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logic Analyzer Software Compatibility 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logic Analyzer Configuration 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Requirements and Restrictions 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Labeling P6434 Probes 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DAS Mass T ermination Interface (MTIF) Probes 1–2. . . . . . . . . . . . . . . . . . . . . . . .
Channel Assignments 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPU To Mictor Connections 1–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Up the Support 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Group Definitions 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Show Cycles 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clocking 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Custom Clocking 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clocking Options 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Symbols 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acquiring and Viewing Disassembled Data 2–5. . . . . . . . . . . . . . . . . . . . .
Acquiring Data 2–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Viewing Disassembled Data 2–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Display Format 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Displaying Exception Vectors 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Software Display Format 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Flow Display Format 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Subroutine Display Format 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Changing How Data is Displayed 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Display Selections For the
TLA 700 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Display Selections For the
DAS 9200 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Marking Cycles 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Microprocessor Specific Disassembly Restrictions 2–10. . . . . . . . . . . . . . . . . . . . . . .
TMS 241 68HC12 Microcontroller Support Instruction Manual
i
Table of Contents
Specifications
Replaceable Parts
Index

List of Tables

Specification Tables 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Parts Ordering Information 4–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 1–1: Address group channel assignments 1–3. . . . . . . . . . . . . . . . . .
Table 1–2: Data group channel assignments 1–4. . . . . . . . . . . . . . . . . . . . .
Table 1–3: Control group channel assignments 1–4. . . . . . . . . . . . . . . . . .
Table 1–4: Ctrl2 group channel assignments 1–5. . . . . . . . . . . . . . . . . . . .
Table 1–5: Chip_Sel group channel assignments 1–5. . . . . . . . . . . . . . . . .
Table 1–6: Addr_Hi group channel assignments 1–5. . . . . . . . . . . . . . . . .
Table 1–7: Clock channel assignments 1–6. . . . . . . . . . . . . . . . . . . . . . . . .
Table 1–8: CPU to Mictor connections for Mictor A pins 1–7. . . . . . . . .
Table 1–9: CPU to Mictor connections for Mictor C pins 1–8. . . . . . . . .
Table 1–10: CPU to Mictor connections for Mictor D pins 1–10. . . . . . . .
Table 2–1: Chip_Sel group symbol table definitions 2–3. . . . . . . . . . . . . .
Table 2–2: Ctrl2 group symbol table definitions 2–3. . . . . . . . . . . . . . . . .
Table 2–3: Control group symbol table definitions 2–4. . . . . . . . . . . . . . .
Table 2–4: Description of special characters in the display 2–5. . . . . . . .
Table 3–1: Specifications 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
TMS 241 68HC12 Microcontroller Support Instruction Manual

General Safety Summary

Review the following safety precautions to avoid injury and prevent damage to this product or any products connected to it. To avoid potential hazards, use this product only as specified.
Only qualified personnel should perform service procedures.
While using this product, you may need to access other parts of the system. Read the General Safety Summary in other system manuals for warnings and cautions related to operating the system.
To Avoid Fire or Personal Injury
Connect and Disconnect Properly . Do not connect or disconnect probes or test
leads while they are connected to a voltage source. Ground the Product. This product is indirectly grounded through the grounding
conductor of the mainframe power cord. To avoid electric shock, the grounding conductor must be connected to earth ground. Before making connections to the input or output terminals of the product, ensure that the product is properly grounded.
Observe All Terminal Ratings. To avoid fire or shock hazard, observe all ratings and marking on the product. Consult the product manual for further ratings information before making connections to the product.
The common terminal is at ground potential. Do not connect the common terminal to elevated voltages.
Do Not Operate Without Covers. Do not operate this product with covers or panels removed.
Avoid Exposed Circuitry. Do not touch exposed connections and components when power is present.
Do Not Operate With Suspected Failures. If you suspect there is damage to this product, have it inspected by qualified service personnel.
Do Not Operate in Wet/Damp Conditions. Do Not Operate in an Explosive Atmosphere. Keep Product Surfaces Clean and Dry .
TMS 241 68HC12 Microcontroller Support Instruction Manual
iii
General Safety Summary
Symbols and Terms
T erms in this Manual. These terms may appear in this manual:
WARNING. Warning statements identify conditions or practices that could result in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in damage to this product or other property.
T erms on the Product. These terms may appear on the product: DANGER indicates an injury hazard immediately accessible as you read the
marking. WARNING indicates an injury hazard not immediately accessible as you read the
marking. CAUTION indicates a hazard to property including the product. Symbols on the Product. The following symbols may appear on the product:
WARNING
High Voltage
Protective Ground
(Earth) T erminal
CAUTION
Refer to Manual
Double
Insulated
iv
TMS 241 68HC12 Microcontroller Support Instruction Manual

Service Safety Summary

Only qualified personnel should perform service procedures. Read this Service Safety Summary and the General Safety Summary before performing any service
procedures. Do Not Service Alone. Do not perform internal service or adjustments of this
product unless another person capable of rendering first aid and resuscitation is present.
Disconnect Power. To avoid electric shock, disconnect the main power by means of the power cord or, if provided, the power switch.
Use Care When Servicing With Power On. Dangerous voltages or currents may exist in this product. Disconnect power, remove battery (if applicable), and disconnect test leads before removing protective panels, soldering, or replacing components.
To avoid electric shock, do not touch exposed connections.
TMS 241 68HC12 Microcontroller Support Instruction Manual
v
Service Safety Summary
vi
TMS 241 68HC12 Microcontroller Support Instruction Manual

Preface

This instruction manual contains specific information about the TMS 241 68HC12 microcontroller support package and is part of a set of information on how to operate this product on compatible Tektronix logic analyzers.
If you are familiar with operating microcontroller support packages on the logic analyzer for which the TMS 241 68HC12 support was purchased, you will probably only need this instruction manual to set up and run the support.
If you are not familiar with operating microcontroller support packages, you will need to supplement this instruction manual with information on basic operations to set up and run the support.
Information on basic operations of microcontroller support packages is included with each product. Each logic analyzer has basic information that describes how to perform tasks common to support packages on that platform. This information can be in the form of online help, an installation manual, or a user manual.
This manual provides detailed information on the following topics: H Connecting the logic analyzer to the system under test

Manual Conventions

H Setting up the logic analyzer to acquire data from the system under test H Acquiring and viewing disassembled data
This manual uses the following conventions:
The term “disassembler” refers to the software that disassembles bus cycles into instruction mnemonics and cycle types.
The phrase “information on basic operations” refers to online help, an installation manual, or a basic operations of microcontroller supports user manual.
In the information on basic operations, the term “XXX” or “P54C” used in field selections and file names must be replaced with 68HC12. This is the name of the microcontroller in field selections and file names you must use to operate the 68HC12 support.
The term “SUT” (system under test) refers to the microcontroller-based system from which data will be acquired.
TMS 241 68HC12 Microcontroller Support Instruction Manual
vii
Preface
The term “logic analyzer” refers to the Tektronix logic analyzer for which this product was purchased.
The term “HI module” refers to the module in the higher-numbered slot and the term “LO module” refers to the module in the lower-numbered slot.
68HC12 refers to all supported variations of the 68HC12 microcontroller, including the 68HC812 and 68HC912 unless otherwise noted.
A tilde (~) following a signal name indicates that the signal is active low.

Logic Analyzer Documentation

A description of other documentation available for each type of Tektronix logic analyzer is located in the corresponding module user manual. The manual set provides the information necessary to install, operate, maintain, and service the logic analyzer and associated products.

Contacting Tektronix

Product Support
Service Support
For other information
To write us
For questions about using Tektronix measurement products, call toll free in North America: 1-800-TEK-WIDE (1-800-835-9433 ext. 2400) 6:00 a.m. – 5:00 p.m. Pacific time
Or contact us by e-mail: tm_app_supp@tek.com
For product support outside of North America, contact your local Tektronix distributor or sales office.
Tektronix offers extended warranty and calibration programs as options on many products. Contact your local Tektronix distributor or sales office.
For a listing of worldwide service centers, visit our web site. In North America:
1-800-TEK-WIDE (1-800-835-9433) An operator will direct your call.
Tektronix, Inc. P.O. Box 1000 Wilsonville, OR 97070-1000 USA
viii
Website
Tektronix.com
TMS 241 68HC12 Microcontroller Support Instruction Manual
Getting Started

Getting Started

This chapter contains information on the TMS 241 microcontroller support, and information on connecting your logic analyzer to your system under test.

Support Package Description

The TMS 241 microcontroller support package displays disassembled data from systems based on the Motorola 68HC12 family of microcontrollers.
To use this support efficiently, you need to have the items listed in the informa­tion on basic operations as well as the following reference material:
68HC12 CPU12 Reference Manual, Motorola, First Edition, 1996, CPU12RM/AD
MC68HC812A4 Technical Summary: 16-Bit Microcontroller, Motorola, 1997, MC68HC812A4TS/D
Technical Supplement: MC68HC812A4 Electrical Characteristics, Motorola, 16-JAN-97, no part number, this is an online manual
MC68HC912B32 Technical Summary: 16-Bit Microcontroller, Motorola, 1997, MC68HC912B32TS/D
Technical Supplement: MC68HC912B32 Electrical Characteristics, Motorola, 16-JAN-97, no part number, this is an online manual

Logic Analyzer Software Compatibility

The label on the microcontroller support floppy disk states which version of logic analyzer software this support is compatible with.

Logic Analyzer Configuration

For use with a TLA 700 Series, the TMS 241 support requires a minimum of one 102-channel module.
For use with a DAS 9200 Series, the TMS 241 support requires a minimum of one 96-channel module.
TMS 241 68HC12 Microcontroller Support Instruction Manual
1–1
Getting Started

Requirements and Restrictions

Review the Specifications chapter in this manual as they pertain to your system under test, as well as the following descriptions of other 68HC12 support requirements and restrictions.
System Clock Rate. The 68HC12 microcontroller support can acquire data from the 68HC12 microcontroller operating at speeds of up to 8 MHz. This specifica­tion is valid at the time this manual was printed. Please contact your Tektronix Sales Representative for current information on the fastest devices supported.
Custom Clocking. The TMS 241 microcontroller support disassembler requires Custom clocking in order to function correctly. Other clocking selections like Internal and External may cause incorrect disassembly.
Hardware Reset. If a hardware reset occurs in your 68HC12 system during an acquisition, the application disassembler may acquire an invalid sample.
Marking Cycles. The 68HC12 disassembler does not support the marking of cycles.

Labeling P6434 Probes

The TMS 241 channel assignments follow the standard channel mapping and labeling scheme for P6434 probes. Apply labels using the standard method as described in the P6434 Mass Termination Probe Instructions.

DAS Mass Termination Interface (MTIF) Probes

The MTIF probes are already labeled since the probe sections for each probe are permanent. The TMS 241 channel assignments follow the standard channel mapping.

Channel Assignments

Channel assignments shown in Table 1–1 through Table 1–7 use the following conventions:
1–2
H Unless otherwise indicated, all signals are required by the support. H Channels are shown starting with the most significant bit (MSB) descending
to the least significant bit (LSB).
TMS 241 68HC12 Microcontroller Support Instruction Manual
+ 36 hidden pages