|
| Using the Logic AnalyzerThe Logic Analyzer window may be used to graphically show up to 4 variable values over time based on the Trace Records captured. 
To display variables using the Logic Analyzer display: In Cortex-M Target Driver Setup window enable Timestamps and select a appropriate Prescaler value to define the Granularity of the timestamps.You must enable Timestamps to see exact time values in the Logic Analyzer window. - Add the variable you want to watch to the Logic Analyzer. For more details see Logic Analyzer in the µVision User's Guide.
- Watch the values of the chosen variables change during the Target Debug Session.
Notes - When you define variables for Logic Analyzer display, this automatically sets up Trace to record Data Read/Data Write events for those variables. These events become part of the Trace Records display.
Restrictions - Up to four variables may be displayed. Using watchpoints at the same time reduces the number of variables you may watch.
- You may not display automatic variables defined inside a function. Select only global variables.
- Trace must run without any errors. Lost trace packets lead to incomplete data. Please see Trace Status Bar page for more information about Trace errors.
|
|