Tektronix 15691 Training/Tutorials

Training Manual
Tektronix Logic Analyzer Family TLA 7QS QuickStart Training Board
070-9717-05
This document applies to System Software Ver­sion 3.2 and above.
www.tektronix.com
Copyright © 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.

HARDWARE WARRANTY

T ektronix warrants that the parts, assemblies and supplies (“products”) that it manufactures and sells will be free from defects in materials and workmanship for a period of three (3) months from the date of shipment. If a product proves defective during this warranty period, T ektronix, at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the defective product.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for packaging and shipping the defective product to the service center designated by T ektronix, with shipping charges prepaid. T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the T ektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate maintenance and care. T ektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting from attempts by personnel other than T ektronix representatives to install, repair or service the product; b) to repair damage resulting from improper use or connection to incompatible equipment; c) to repair any damage or malfunction caused by the use of non-T ektronix supplies; or d) to service a product that has been modified or integrated with other products when the effect of such modification or integration increases the time or difficulty of servicing the product.
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 PAR TICULAR PURPOSE. TEKTRONIX’ RESPONSIBILITY TO REP AIR OR REPLACE DEFECTIVE PRODUCTS 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.
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 PAR TICULAR 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.

SOFTWARE WARRANTY

Tektronix 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 PAR TICULAR 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

General Safety Summary ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface xi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Use This Document xi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contacting T ektronix xii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Started
Prerequisites 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accessories 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Care and Maintenance 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Obtaining Parts 1–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Purpose Exercises
General Purpose Exercises Setups 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Setups 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set up the P6417 Probes 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connect the Probes 2–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setups 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercise Overview 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Triggering on a Glitch (Exercise 1) 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setup 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Setup 2–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Channel Setups 2–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Capture a Pulse Width Violation (Exercise 2) 2–15. . . . . . . . . . . . . . . . . . .
Load the Setup 2–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Acquired Data 2–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Program 2–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Channel Setups 2–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Capture a Setup and Hold Violation (Exercise 3) 2–21. . . . . . . . . . . . . . . .
Load the Setup 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Setup 2–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Counting Setup and Hold Violations (Exercise 4) 2–25. . . . . . . . . . . . . . . .
Load the Setup 2–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Status Monitor 2–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Setups 2–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Capturing Data Bursts Using Transitional Storage (Exercise 5) 2–29. . . .
Load the Setup 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Channel Setups 2–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Program Using Conventional Storage 2–32. . . . . . . . . . . . . . . . . . .
View the Acquired Data Using Conventional Storage 2–33. . . . . . . . . . . . . . . . . . . . .
View the Trigger Program Using Transitional Storage 2–34. . . . . . . . . . . . . . . . . . . .
View the Acquired Data Using Transitional Storage 2–35. . . . . . . . . . . . . . . . . . . . . .
Optional 2–37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conclusion 2–38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TLA 7QS Training Manual
i
Table of Contents
Using the DSO to Trigger the Logic Analyzer on a
Runt Pulse (Exercise 6) 2–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setup 2–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 2–40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Setups 2–42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Logic Analyzer to Trigger the DSO (Exercise 7) 2–45. . . . . . . . .
Load the Setup 2–45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 2–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Setups 2–48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Microprocessor Support Debug Exercises
Microprocessor Exercises Setup 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Setups 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Up the P6418 or P6417 Probes 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connect the Probes 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setups 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger on a Power-on Reset and Capture the Controller
Startup Code (Exercise 1) 3–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setup 3–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 3–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger and Channel Setups 3–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Use Trigger Timers to Measure Interrupt Latency
(Exercise 2) 3–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setup 3–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Measure Timers 3–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 3–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Setups 3–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger on Faulty Data Written to the LED Display (Exercise 3) 3–17. . .
Load the Setup 3–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 3–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Setups 3–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger on Faulty Data Read by the CPU (Exercise 4) 3–21. . . . . . . . . . . .
Load the Setup 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 3–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Setups 3–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger on a Setup Violation of the CPU Read Cycle (Exercise 5) 3–25. . .
Load the Setup 3–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 3–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Trigger Setups 3–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
TLA 7QS Training Manual
Embedded Software Debug Exercises
Embedded Software Debug Exercises Setup 4–1. . . . . . . . . . . . . . . . . . . .
Source Code Window Background (Exercise 1) 4–3. . . . . . . . . . . . . . . . . .
Source Window Structure 4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Debugging Real-Time Execution of High Level Source (Exercise 1) 4–5.
Load the Saved System 4–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Source Window 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Triggering on Source Code Statements 4–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Source Window Features 4–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the T ektronix Logic Analyzer Symbol Support 4–22. . . . . . . . . . . . . .
Summary 4–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Automating System Verification (Exercise 2) 4–27. . . . . . . . . . . . . . . . . . . .
Load the Saved System 4–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create Reference Saved System 4–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Up Memory Comparison 4–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Up Repetitive Acquisition 4–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run the QuickStart Program and View the Acquired Data 4–35. . . . . . . . . . . . . . . . .
View the Trigger Program 4–38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tektronix Logic Analyzer Programmatic Interface (TPI) Background
(Exercise 3) 4–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Characteristics 4–39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TLAScript 4–40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Remotely Controlling the Tektronix Logic Analyzer with the
Programmatic Interface (Exercise 3) 4–43. . . . . . . . . . . . . . . . . . . . . . .
Application Requirements 4–43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Client Application Description 4–43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create T est Module Setup 4–44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run the Client Application and View the Acquired Data 4–45. . . . . . . . . . . . . . . . . .
Single-Step Through the Client Application 4–47. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Histogram Window Background (Exercises 4 and 5) 4–51. . . . . . . . . . . . .
Histogram Window Using Channel Groups 4–51. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Histogram Window Using Counters and Timers 4–51. . . . . . . . . . . . . . . . . . . . . . . . .
Characterizing System Performance (Exercise 4) 4–53. . . . . . . . . . . . . . . .
Load the Saved System 4–53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a New Histogram Window 4–54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run the QuickStart Program and View the Acquired Data 4–56. . . . . . . . . . . . . . . . .
View the Trigger Program 4–60. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optimizing Execution Time of Embedded Software (Exercise 5) 4–61. . . .
Load the Saved System 4–61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create a New Histogram Window 4–62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Run the QuickStart Program and View the Acquired Data 4–64. . . . . . . . . . . . . . . . .
View the Trigger Program 4–68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
TLA 7QS Training Manual
iii
Table of Contents
Pattern Generator Exercises
Pattern Generator Exercises Setup 5–1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Setups 5–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connect the Logic Analyzer Probes 5–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connect the Pattern Generator Probe 5–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pattern Generator Exercises 5–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Setups 5–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Resultant Data 5–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Pattern Generator Setup 5–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View the Logic Analyzer Setup 5–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Going Further 5–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendices
Appendix A: How to Create Setups A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load the Default Setup A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define the Setup Window A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define the Trigger Window A–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define the Waveform Window A–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B: Training Board Connections B–1. . . . . . . . . . . . . . . . . . . . . .
iv
TLA 7QS Training Manual

List of Figures

Table of Contents
Figure 2–1: Removing probe podlets 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–2: P6418 probe connections for the timing exercises 2–2. . . . . .
Figure 2–3: P6417 probe connections for the timing exercises 2–3. . . . . .
Figure 2–4: Load System dialog box 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–5: Restored system for Exercise 1 2–8. . . . . . . . . . . . . . . . . . . . .
Figure 2–6: Glitch data for Exercise 1 2–9. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–7: Waveform display with the MagniVu feature 2–10. . . . . . . . .
Figure 2–8: Trigger window for Exercise 1 2–11. . . . . . . . . . . . . . . . . . . . . .
Figure 2–9: Glitch Detection dialog box for Exercise 1 2–12. . . . . . . . . . . .
Figure 2–10: Channel setups for Exercise 1 2–13. . . . . . . . . . . . . . . . . . . . .
Figure 2–11: Restored system for Exercise 2 2–15. . . . . . . . . . . . . . . . . . . .
Figure 2–12: Timing waveform display for Exercise 2 2–16. . . . . . . . . . . .
Figure 2–13: Timing waveform using MagniVu acquisition 2–17. . . . . . . .
Figure 2–14: LA Trigger window for Exercise 2 2–18. . . . . . . . . . . . . . . . .
Figure 2–15: Channel setups for Exercise 2 2–19. . . . . . . . . . . . . . . . . . . . .
Figure 2–16: Timing waveform display for Exercise 3 2–21. . . . . . . . . . . .
Figure 2–17: Define Violation dialog box for Exercise 3 2–23. . . . . . . . . . .
Figure 2–18: Status Monitor for Exercise 4 2–26. . . . . . . . . . . . . . . . . . . . .
Figure 2–19: LA Trigger window for Exercise 4 2–27. . . . . . . . . . . . . . . . .
Figure 2–20: Restored system for Exercise 5 2–30. . . . . . . . . . . . . . . . . . . .
Figure 2–21: Setup window for Exercise 5 2–31. . . . . . . . . . . . . . . . . . . . . .
Figure 2–22: Trigger window using conventional storage for
Exercise 5 2–32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–23: Timing waveform using conventional storage for
Exercise 5 2–33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–24: Trigger window using transitional storage for
Exercise 5 2–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–25: Timing waveform using transitional storage for
Exercise 5 2–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–26: Waveform data at 100 ns Time/Div 2–36. . . . . . . . . . . . . . . . .
Figure 2–27: Timing waveform using transitional storage with
MagniVu for Exercise 5 2–37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–28: Timing waveform display for Exercise 6 2–41. . . . . . . . . . . .
Figure 2–29: DSO channel 1 setups for Exercise 6 2–42. . . . . . . . . . . . . . . .
Figure 2–30: DSO trigger setups for Exercise 6 2–43. . . . . . . . . . . . . . . . . .
Figure 2–31: Waveform display for Exercise 7 2–46. . . . . . . . . . . . . . . . . . .
Figure 2–32: Resultant waveform data for Exercise 7 2–47. . . . . . . . . . . . .
TLA 7QS Training Manual
v
Table of Contents
Figure 2–33: DSO channel trigger setups for Exercise 7 2–48. . . . . . . . . . .
Figure 3–1: Microprocessor exercise P6417 probe connections 3–2. . . . .
Figure 3–2: Microprocessor exercise P6418 probe connections 3–3. . . . .
Figure 3–3: Microprocessor exercise P6434 probe connections 3–4. . . . .
Figure 3–4: Load System dialog box 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–5: Load System Options dialog box 3–6. . . . . . . . . . . . . . . . . . . .
Figure 3–6: Listing window for Exercise 1 3–10. . . . . . . . . . . . . . . . . . . . . .
Figure 3–7: Timing waveform display for Exercise 1 3–11. . . . . . . . . . . . .
Figure 3–8: Trigger window for Exercise 1 3–12. . . . . . . . . . . . . . . . . . . . . .
Figure 3–9: Status Monitor 3–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–10: Listing window for Exercise 2 3–15. . . . . . . . . . . . . . . . . . . . .
Figure 3–11: Trigger window for Exercise 2 3–16. . . . . . . . . . . . . . . . . . . . .
Figure 3–12: Listing window for Exercise 3 3–18. . . . . . . . . . . . . . . . . . . . .
Figure 3–13: Trigger window for Exercise 3 3–19. . . . . . . . . . . . . . . . . . . . .
Figure 3–14: Listing window for Exercise 4 3–22. . . . . . . . . . . . . . . . . . . . .
Figure 3–15: Waveform window for Exercise 4 3–23. . . . . . . . . . . . . . . . . .
Figure 3–16: Waveform window with dashed zoom box 3–23. . . . . . . . . . .
Figure 3–17: Trigger window for Exercise 4 3–24. . . . . . . . . . . . . . . . . . . . .
Figure 3–18: Waveform data window for Exercise 5 3–26. . . . . . . . . . . . . .
Figure 3–19: Expanded data channels showing a setup violation for
Exercise 5 3–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–20: Trigger window for Exercise 5 3–27. . . . . . . . . . . . . . . . . . . . .
Figure 3–21: Define Violation dialog box 3–28. . . . . . . . . . . . . . . . . . . . . . .
Figure 4–1: Restored system for Exercise 1 4–5. . . . . . . . . . . . . . . . . . . . .
Figure 4–2: Real-time trace of the STOP LITES program 4–6. . . . . . . . .
Figure 4–3: New Data Window wizard dialog box 4–7. . . . . . . . . . . . . . . .
Figure 4–4: Lites Source window after connecting to the Lites List
Listing window 4–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–5: Recommended window layout for the portable
mainframe 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–6: Source and Listing windows after stepping forward
eight times 4–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–7: Source and Listing windows after using “Move
Cursor 1 Here” 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–8: Source and Listing windows after placing a
mark (step 1) 4–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–9: Source and Listing windows after step 2 4–14. . . . . . . . . . . . .
Figure 4–10: Source and Listing windows after step 3 4–15. . . . . . . . . . . .
Figure 4–11: Source and Listing windows after stepping
forward twice 4–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
TLA 7QS Training Manual
Table of Contents
Figure 4–12: Trigger window containing the copied address 4–19. . . . . . .
Figure 4–13: Source window 4–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–14: Symbols dialog box 4–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–15: Select Symbol File dialog box 4–23. . . . . . . . . . . . . . . . . . . . .
Figure 4–16: Load Symbols Options dialog box 4–23. . . . . . . . . . . . . . . . . .
Figure 4–17: Symbols dialog box 4–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–18: Function symbols 4–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–19: Variable symbols 4–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–20: Source symbols 4–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–21: Restored system for Exercise 2 4–27. . . . . . . . . . . . . . . . . . . .
Figure 4–22: Good Data Listing window, used as reference data 4–29. . . .
Figure 4–23: Good Timing Waveform window, identifying valid
data read 4–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–24: LA module Setup window 4–31. . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–25: Disable the comparison (136 channel LA modules only) 4–32
Figure 4–26: LA module Define Compare dialog box 4–33. . . . . . . . . . . . .
Figure 4–27: Repetitive Properties dialog box 4–34. . . . . . . . . . . . . . . . . . .
Figure 4–28: Set up the logic analyzer to display a message 4–34. . . . . . . .
Figure 4–29: Test Run Listing window, identifying data that has
changed 4–36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–30: Test Timing Waveform window 4–37. . . . . . . . . . . . . . . . . . . .
Figure 4–31: Trigger window for Exercise 2 4–38. . . . . . . . . . . . . . . . . . . . .
Figure 4–32: Saving Test Module Setup 4–44. . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–33: Client application connected to the logic analyzer server
(before acquiring data) 4–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–34: VBA Source window after setting the breakpoint 4–47. . . . .
Figure 4–35: Results after clicking on the client application RUN
button 4–48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–36: Source code of the VBA client application
(part one of two) 4–49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–37: Source code of the VBA client application
(part two of two) 4–50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–38: Restored system for Exercise 4 4–53. . . . . . . . . . . . . . . . . . . .
Figure 4–39: Setting the LA parameters 4–54. . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–40: Loading the symbol file 4–55. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–41: Customized Overview Histogram window 4–56. . . . . . . . . . .
Figure 4–42: Histogram data window showing program activity
during normal operation 4–57. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–43: Histogram window showing where the application is
spending most of its time 4–58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TLA 7QS Training Manual
vii
Table of Contents
Figure 4–44: Histogram window showing program activity sorted by
decreasing execution time 4–59. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–45: Overview Histogram window showing split screen
capabilities 4–59. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–46: Trigger window for Exercise 4 4–60. . . . . . . . . . . . . . . . . . . . .
Figure 4–47: Restored system for Exercise 5 4–61. . . . . . . . . . . . . . . . . . . .
Figure 4–48: Setting the data source parameters 4–62. . . . . . . . . . . . . . . . .
Figure 4–49: Setting the Range parameters 4–63. . . . . . . . . . . . . . . . . . . . .
Figure 4–50: The Int 3 ACK Histogram window 4–63. . . . . . . . . . . . . . . . .
Figure 4–51: Accumulated results for Timer 1 after 7 acquisitions 4–65. .
Figure 4–52: Results of Timer 2 after 7 acquisitions 4–66. . . . . . . . . . . . . .
Figure 4–53: Integrated view of the Listing and Histogram windows 4–67
Figure 4–54: Trigger window 4–68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–1: P6434 Probe connections 5–2. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–2: P6418 probe connections 5–3. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–3: Connecting the pattern generator probe to the top
of the training board 5–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–4: Connecting the pattern generator board to the
edge connector 5–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–5: Restored system for the pattern generator exercises 5–8. . . .
Figure 5–6: Restored system for the logic analyzer 5–9. . . . . . . . . . . . . . .
Figure 5–7: System window for the pattern generator 5–10. . . . . . . . . . . .
Figure 5–8: Waveform display showing IRQ~6_Run assertion 5–11. . . . .
Figure 5–9: Listing window showing the Run assertion 5–12. . . . . . . . . . .
Figure 5–10: Program dialog box 5–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 5–11: Sequence showing program selection and run 5–14. . . . . . . .
Figure A–1: Setup window for Exercise 1 A–3. . . . . . . . . . . . . . . . . . . . . . .
Figure A–2: Glitch Detection dialog box A–4. . . . . . . . . . . . . . . . . . . . . . . .
Figure A–3: Trigger window setups A–5. . . . . . . . . . . . . . . . . . . . . . . . . . . .
viii
TLA 7QS Training 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 instrument. Read the General Safety Summary in other manuals for warnings and cautions related to operating the instrument.

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. 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.
Do not apply a potential to any terminal, including the common terminal, that exceeds the maximum rating of that terminal.
Use Proper AC Adapter. Use only the AC adapter specified for this product. Use Proper Fuse. Use only the fuse type and rating specified for this product. 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 . Provide Proper Ventilation. Refer to the manual’s installation instructions for
details on installing the product so it has proper ventilation.
TLA 7QS Training Manual
ix
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
x
TLA 7QS Training Manual

Preface

The TLA 7QS QuickStart Training Manual is part of the TLA 7QS QuickStart package. It is intended to be used with the Tektronix Logic Analyzer Family as a training tool to learn some of the specific features of the logic analyzer.
You can use the training manual together with the online help to learn a basic overview of the Tektronix Logic Analyzer Family.

How to Use This Document

Use this training manual with the TLA 7QS QuickStart board to work through a series of exercises showing the features and benefits of the Tektronix Logic Analyzer Family. The exercises are intended to simulate typical problems that you may encounter and require a logic analysis system to remedy the problems.
The training manual is made up of the following sections: H The Getting Started chapter provides information on prerequisites, product
accessories, product installation, and basic product care and maintenance.
H The General Purpose Exercises provide examples to demonstrate the timing
analysis features of the logic analyzers.
H The Microprocessor Support Exercises provide examples to demonstrate the
microprocessor features of the logic analyzers.
H The Embedded Software Debug Exercises provide examples to demonstrate
the software debugging features of the logic analyzers.
H The Pattern Generator Exercises provide examples to demonstrate the
pattern generation features of the logic analyzers.
H Appendix A: How to Create Setups Used in this Book shows how to use the
menus of the logic analyzer to create the setups for the first general purpose exercise. It provides a means to become familiar with the menus in creating a logic analyzer setup.
H Appendix B: Training Board Connections shows the hardware connections
on the training board.
TLA 7QS Training Manual
xi
Preface

Contacting Tektronix

Phone 1-800-833-9200*
Address Tektronix, Inc.
Department or name (if known) 14200 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA
Web site www.tektronix.com
Sales support 1-800-833-9200, select option 1*
Service support 1-800-833-9200, select option 2*
Technical support Email: support@tektronix.com
1-800-833-9200, select option 3* 1-503-627-2400
6:00 a.m. – 5:00 p.m. Pacific time
* This phone number is toll free in North America. After office hours, please leave a
voice mail message. Outside North America, contact a Tektronix sales office or distributor; see the Tektronix web site for a list of offices.
xii
TLA 7QS Training Manual
Getting Started

Getting Started

Prerequisites

This chapter provides basic information that you need to be aware of before attempting any of the product exercises. It includes the following information:
H Prerequisites. This section contains a list of requirements that you need to be
aware of before using this product.
H Accessories. This section provides a brief overview of standard product
accessories.
H Configuration. This section provides information on the allowable logic
analyzer configurations for the exercises in this manual and software installation information.
H Care and Maintenance. This section provides basic cleaning information,
static precautions, and information on obtaining replacement parts.
The exercises and examples in this training manual are based on the following prerequisites and assumptions:
H To use this product, it is assumed that you are familiar with Microsoft
Windows. The Tektronix Logic Analyzers operate on a Microsoft Windows platform. This training manual is not intended to teach you how to use Windows. You may want to refer to the Windows online help for information on using a Windows based product.
H It is assumed that you are familiar with the basics of logic analysis. This
training manual is not intended to teach you logic analysis and basic digital circuit theory.
H It is assumed that you have some familiarity with the Tektronix Logic
Analyzer Family application. Refer to the online help or to the printed documentation for details on using the Tektronix Logic Analyzer Family application.
H It is assumed that the Tektronix Logic Analyzer and any accessories are
properly set up. For example, it is assumed that any oscilloscope probes that you intend to use with the DSO module are properly calibrated.
TLA 7QS Training Manual
1–1
Getting Started

Accessories

Configuration

The TLA 7QS QuickStart package comes with the following standard accesso­ries:
H This training manual and the CD containing software setups for the exercises
in training manual H The TLA 7QS QuickStart training board with appropriate power adapter
The following paragraphs list the configuration requirements for the Tektronix Logic Analyzer and for the training board.

Logic Analyzer

To complete all the exercises in this training manual you will need a Tektronix Logic Analyzer with a logic analyzer module (with probes), an oscilloscope (DSO) module (with probes), and a pattern generator module (with probes).
To complete the general purpose exercises, you can use any version of the logic analyzer module or any version of the TLA 600 logic analyzer. To complete the microprocessor exercises and the embedded software debug exercises, you will need a logic analyzer with 102 data acquisition channels or higher (for example, a TLA 7x3, TLA 7x4 module, TLA 6x3, or TLA 6x4).
You will need to install the TLA 7QS Exercise software on the logic analyzer. The exercise software consists of instrument setups and associated software for the individual exercises.
Complete the following steps to install the TLA 7QS Exercise software.
NOTE. This version of QuickStart software is compatible with Tektronix Logic Analyzer software version 3.2 and above.
Before continuing, remove any previous versions of QuickStart software by opening the Windows Explorer and deleting the Quick Start folder under C:\Program Files\TLA 700.
1–2
1. Insert the CD labeled TLA 7QS QuickStart Software in the CD ROM drive.
2. Click on the Windows Start button and select Run.
3. Enter the program name D:\QStart.exe in the dialog and click OK. (If the CD
ROM drive has a different designation enter that letter instead of D).
The logic analyzer will install the exercise software and place it in the
following location on the hard disk: C:\Program Files\TLA 700\Quick Start.
TLA 7QS Training Manual
Getting Started
4. Click the Unzip button in the dialog that appears.
5. Click OK when the dialog appears indicating that all files were installed
successfully.
6. Click the Close button.
7. Click on the Windows Start button and select Run.
8. Enter the program name D:\Support\Setup.exe in the dialog and click OK.
The logic analyzer will install the support software and place it in the following location on the hard disk: C:\Program Files\TLA 700\Supports\.
9. Click OK when the dialog appears indicating that all files were installed
successfully.
10. Click OK and then remove the CD.

Training Board

Care and Maintenance

Cleaning

Preventing Electrostatic
Discharge
The TLA 7QS QuickStart Training Board requires no special configuration procedures. Connect the probes to the training board as described in each chapter. Then connect the power adapter and apply power to the training board. The training board will execute the power-on diagnostics. When the power-on diagnostics are complete, select the program as defined in the individual exercises.
The TLA 7QS QuickStart Training Board does not require scheduled or periodic maintenance. However to keep good electrical contact and efficient heat dissipation, keep the training board free of dirt, dust, and contaminants. When not in use, store the training board in the protective box.
Clean dirt and dust with a soft bristle brush. For more extensive cleaning, use only a damp cloth moistened with deionized water; do not use any other chemical cleaning agents.
When handling the training board adhere to the following precautions to avoid damaging electronic components.
TLA 7QS Training Manual
CAUTION. Static discharge can damage semiconductor components on the training board.
1–3
Getting Started

Obtaining Parts

1. Minimize handling of the training board.
2. Transport and store the training board in the static protected container.
3. Discharge the static voltage from your body by wearing a grounded antistatic
wrist strap while handling the training board.
4. Nothing capable of generating or holding a static charge should be allowed
on the work station surface.
5. Handle the training board by the edges when possible.
6. Do not slide the training board over any surface.
7. Avoid handling the training board in areas that have a floor or work-surface
covering capable of generating a static charge.
Electrical and mechanical replacement parts are described in the TLA 7QS Technical Reference Manual. Refer to that manual for replacing and ordering parts and for any other service information.
1–4
TLA 7QS Training Manual
General Purpose Exercises

General Purpose Exercises Setups

The following series of exercises use the Signal Sources section of the training board to demonstrate the timing analysis features of the Tektronix Logic Analyzer. You should read through this section before attempting any exercises in this training manual. The exercises rely on a single setup of the training board.

Hardware Setups

Connect the P6418 or P6417 probe to the C2/C3 connector on the logic analyzer module. You will use the same probe connections through the remainder of this chapter. If you have an oscilloscope module (DSO), connect an oscilloscope probe to Channel 1 of the DSO module.

Set up the P6417 Probes

Depending on the number of your logic analyzer probes, you may need to reconfigure your probes. The following sections provide basic probe setup information.

Removing Podlets

To complete the exercises in this section, you must remove and separate the P6417 probe podlets from the podlet holder. Refer to Figure 2–1 and open the podlet holder as shown and remove the podlets one at a time.
Remove
podlet cables
Pull open the podlet holder
Figure 2–1: Removing probe podlets
TLA 7QS Training Manual
2–1
General Purpose Exercises Setups

Reinstalling Podlets

Connect the Probes

When reinstalling the podlets, make sure all the ground sides of the podlets line up with the ground side of the podlet connector. Arrange the podlets by their color-coded rings; use the key on the reverse side of the podlet holder to place the podlets in the correct channel order.
Complete the following steps to connect the logic analyzer probes to the training board. If you are using the P6418 probes, use the flying lead sets and refer to Figure 2–2 while connecting the probes; if you are using the P6417 probes, refer to Figure 2–3 while connecting the probes to the training board. Make sure that you connect the signal side of the probes to signal side of the square pins (ground signals are toward the rear of the training board as you face the LCD display).
1. Connect the clock channel (CK3) of the C2-C3 probe to J760 (CNTR CLK)
on the training board.
2. Connect the C2:0, C2:1, C2:2 probe podlets of the C2-C3 probe to J860 on
the training board.
3. Connect the Channel 1 oscilloscope probe to the unused J860 signal square
pin labeled FF-Q.
2–2
C2:CLK3 CNTR
CLK (J7600)
C2:0 FF–D
(J860)
C2:1 FF–Q
(J860)
DSO CH1
FF–Q (J860)
Figure 2–2: P6418 probe connections for the timing exercises
TLA 7QS Training Manual
Ground
C2:2 Burst
(J860)
General Purpose Exercises Setups
C2:CLK3 CNTR
CLK (J7600)
C2:0 FF–D
(J860)
C2:1 FF–Q
(J860)
DSO CH1
FF–Q (J860)
C2:2 Burst
(J860)
Figure 2–3: P6417 probe connections for the timing exercises
Start the Tektronix Logic Analyzer Family application and continue with the following steps. You will use the same hardware setups through the remainder of this chapter.
TLA 7QS Training Manual
2–3
General Purpose Exercises Setups

Load the Setups

Perform the following steps to load the timing exercises. All timing exercises are contained in the same folder (C:\Program Files\TLA 700\Quick Start\Hardware Analysis).
NOTE. Each exercise contains two saved setup files. One file contains only setup information and requires you to capture live acquisition data to complete the exercises. The other file contains setup information and saved data. Use the saved data files to complete nearly every exercise without the need for acquiring live data.
You can also use TLAVu to complete the exercises off-line without needing any acquisition hardware.
1. Select Load System from the File menu.
2. Open the Workbook folder and select the file as defined in the individual
exercises (for example, load the 1-Capture and Trigger on a Glitch.tla file for
Exercise 1).
The logic analyzer display should look similar to Figure 2–4.
Figure 2–4: Load System dialog box
2–4
TLA 7QS Training Manual
General Purpose Exercises Setups
3. When prompted to load without saving the current system, click on Yes.
4. If you get a message telling you that the configuration in the file does not
match your current hardware, click on OK. A new dialog box appears. a. Drag the “My Analyzer” icon (and the “My DSO” icon, if needed) from
the top of the window to the shaded LA1 icon in the Current System window.
b. Click on OK to continue with the exercise.
NOTE. If the Load System Options dialog box appears and you want to view saved data, you may need to complete steps 5 through 8 to load a data window with saved acquisition data.
To determine if you need to perform the following steps, click on one of the data window icons. If data appears in the data window, you can continue with the exercise. If no data appears, complete the following steps after you complete step 4 above.
5. Select Load Data Window from the Window menu; the Load Data Window
dialog box displays.
6. Click the Browse button, navigate to the Hardware Analysis setup folder,
and then double-click the setup for the current exercise.
7. Select the data window from the list in the Load Data Window dialog and
then click OK; the Name Data Window dialog box displays.
8. Change the name of the data window (it is recommended that you only
change one or two characters so the name is similar to the original data window).
Now you have a data window that displays saved acquisition data for the current exercise. If you want to continue with the exercise and capture live data, refer back to the original data window that was loaded with the setup.
TLA 7QS Training Manual
2–5
General Purpose Exercises Setups

Exercise Overview

These exercises focus on a metastable problem caused by driving the clock input of a flip-flop with a 50 MHz clock and the D input (FF-D) with an asynchronous 10 MHz data stream. Under these conditions the setup and hold times of the flip-flop are often violated. When the violation occurs, the output of the flip-flop goes into a potentially metastable state.
When the flip-flop is in a metastable state, the outputs are unpredictable. This can result in the flip-flop producing a glitch (the output pulse is shorter than normal), the outputs could briefly oscillate, or the outputs may not change at all. These type of failures are usually intermittent and can be difficult to find.
The key to isolating these kinds of timing faults is to trigger the logic analyzer when the Q output (FF-Q) of a flip-flop has a shorter pulse width than the period of the driving clock signal (FF-CLK). When an edge-triggered flip-flop works properly, the minimum time between changes on the Q output must be equal to or greater than the driving clock period.
The device used in these exercises is a 74F174 flip-flop with the specifications in Table 2–1. The training board provides connections to the flip-flop (see Figure 2–2 on page 2–2 or Figure on 2–3 page 2–3).
T able 2–1: 74F174 electrical characteristics
74F174
1
FF-Q
Parameter Limits
Setup time (ts) 3.0 ns Hold time (th) 1.0 ns Propagation Delay (t
1
Some of the specifications, such as the propagation delay , may vary because of circuit design and load conditions.
FF-D
FF-CLK
) 4.0 ns (min.) to 8.0 ns (max.)
PHL
Flip-Flop
2–6
TLA 7QS Training Manual
Loading...
+ 170 hidden pages