To view your target system processing an interrupt
Use the oscilloscope to trigger on the asynchronous interrupt request.
1
Go to the state analyzer’s Trigger menu, and set the analyzer to
trigger on any state and store any state.
2
Select Arming Control. Set the analyzer to respond to the arm signal
from the oscilloscope, and set the oscilloscope to Group Run.
3
Go to the Scope Trigger menu, and set the mode to Edge trigger. Set
the Source field to C1, and probe the interrupt with Channel 1.
4
Press the Run key.
When the interrupt occurs, the oscilloscope will trigger, subsequently
triggering the state analyzer.
If the analyzer doesn’t capture the expected interrupt activity, ensure that
the interrupt isn’t masked due to the actions of other program code.
This setup can help you answer questions like the following:
•
Does the processor branch to the proper interrupt handling routine?
•
Are registers and status information saved properly?
•
How long does it take to service the interrupt?
•
Is the interrupt acknowledged properly?
•
After the interrupt is serviced, does the processor restore registers and
status information and continue with the interrupted routine as expected?
You can use the state analyzer to check the address of the interrupt routine as
well as to see if interrupt processing is done as expected. Using a preprocessor
and inverse assembler with the state analyzer will make it easier to read the
program flow.
Cross-Arming Trigger Examples
To view your target system processing an interrupt
5-27
Summary of Contents for 1660CS
Page 5: ...Introduction iv ...
Page 16: ...1 Logic Analyzer Overview ...
Page 24: ...2 Connecting Peripherals ...
Page 33: ...2 10 ...
Page 34: ...3 Using the Logic Analyzer ...
Page 55: ...3 22 ...
Page 56: ...4 Using the Trigger Menu ...
Page 75: ...4 20 ...
Page 76: ...5 Triggering Examples ...
Page 109: ...5 34 ...
Page 110: ...6 File Management ...
Page 119: ...6 10 ...
Page 120: ...7 Reference ...
Page 221: ...7 102 ...
Page 222: ...8 System Performance Analysis SPA Software ...
Page 241: ...SPA Time Interval System Performance Analysis SPA Software SPA measurement processes 8 20 ...
Page 252: ...9 Concepts ...
Page 284: ...10 Troubleshooting ...
Page 298: ...11 Specifications ...
Page 311: ...11 14 ...
Page 312: ...12 Operator s Service ...
Page 324: ...Troubleshooting Flowchart 2 Troubleshooting To use the flowcharts 12 13 ...
Page 337: ...Glossary 4 ...