To View Your Target System Processing An Interrupt - HP 1660CS-Series User Manual

Logic analyzers
Table of Contents

Advertisement

To view your target system processing an interrupt

Use the oscilloscope to trigger on the asynchronous interrupt request.
Go to the state analyzer's Trigger menu, and set the analyzer to
1
trigger on any state and store any state.
Select Arming Control. Set the analyzer to respond to the arm signal
2
from the oscilloscope, and set the oscilloscope to Group Run.
Go to the Scope Trigger menu, and set the mode to Edge trigger. Set
3
the Source field to C1, and probe the interrupt with Channel 1.
Press the Run key.
4
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

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

1662cs1663cs1660cs1661cs

Table of Contents