AutoFocus User’s Guide
16
©1989-2018 Lauterbach GmbH
Utilization
•
Preprocessor
•
Trace Port
Preprocessor
You can set up the preprocessor automatically or manually.
The automatic setup uses a pattern generator or a short test program to test the trace port. The availability of
the pattern generator is target dependent. TRACE32 will do the detection for you. Anyway, the way to force
test-program-based testing is still open for the user.
The short test program will be copied to the target memory (RAM) where the program pointer or the stack
pointer must point to. If both pointers does not point to RAM and no pattern generator is available, an error
message will be shown.
Automatic Setup
The automatic setup is applicable for the following cases:
•
Constant core/trace frequency
•
High signal integrity
•
Low signal skew
Prerequisite:
•
You have just run your start-up script in TRACE32 to set up your target.
To do an automatic setup of the preprocessor - option 1:
1.
Make sure that the final core/trace frequency is set (
Data.Set
).
2.
Make sure that the target application is stopped (
Break
).
3.
Set program counter to target RAM address space (
Register.Set
PC
).
The automatic setup is adequate in the most cases with free running clock signal.
In case of heavy electrical issues, large port sizes, gated clocking or high frequency
systems (>450MBaud) the manual setup may be the better choice.
NOTE:
Steps 1 to 3 or 1 to 4 should be part of your start-up script.