To Trigger On Entry To A Function - HP 1660CS-Series User Manual

Logic analyzers
Table of Contents

Advertisement

Single-Machine Trigger Examples

To trigger on entry to a function

To trigger on entry to a function
This sequence triggers on entry to a function only when it is called by one
particular function.
Go to the state analyzer's Trigger menu.
1
Define the terms F1_START and F1_END to represent the start and
2
end addresses of the calling function. Define F2_START to represent
the start address of the called function.
Change State Sequence Level 1's macro to "Find event2 n times after
3
event1 before event3 occurs."
In the pop-up menu, enter the following sequence specification:
4
While storing anystate Find "F2_START" "1" times after "F1_START"
before "F1_END" occurs.
This sequence specification assumes there is some conditional logic in
function F1 that chooses whether or not to call function F2. Thus, if F1 ends
without the analyzer having seen F2, the sequence restarts.
The specification also stores all execution inside function F1, whether or not
F2 was called. If you are interested only in the execution of F1, without the
code that led to its invocation, you can change the storage specification from
"anystate" to "nostate" for the second sequence term.
Triggering on entry to a function
5-10

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

1662cs1663cs1660cs1661cs

Table of Contents