µVision User's GuideAbout µVision User Interface Creating Applications Debugging Start Debugging Start Energy Measurement without Debug Application Program Execution Debug Windows and Dialogs Breakpoints Window Call Stack and Locals Window Code Coverage Command Window Component Viewer Disassembly Window Event Recorder Setup Event Recorder Event Recorder Window Events Filtering Event Statistics Window Event Viewer Execution Profiler Instruction Trace Window System Analyzer Usage tips Restrictions Logic Analyzer Setup Setup in Detail Restrictions Cortex-M Trace Configuration Memory Map Memory Window Performance Analyzer Registers Window Serial Window Debug (printf) Viewer Symbols Window System Viewer Adding System Viewer Windows System and Thread Viewer Thread States Toolbox Trace Data Window Trace Navigation Trace Exceptions Event Counters ULINKplus Window Watch Window Core Peripherals Cortex-M0 and Cortex-M0+ Nested Vector Interrupt Controller System Control and Configuration System Tick Timer Fault Reports (Cortex-M0+ only) Cortex-M3, Cortex-M4, and Cortex-M7 Nested Vector Interrupt Controller System Control and Configuration System Tick Timer Fault Reports Memory Protection Unit Cortex-M23 and Cortex-M33 Nested Vector Interrupt Controller System Control and Configuration System Tick Timer Fault Reports Memory Protection Unit Security Attribution Unit Debug Scripting Expressions Constants System Variables Peripheral Variables I/O Ports Serial Ports Program Variables (Symbols) Fully Qualified Symbols Non-Qualified Symbols Literal Symbols Using Symbols Line Numbers Bit Addresses Type Specifications Operators Differences between µVision and C Expression Examples Code and Data Trace (Cortex-M) Trace Features Tracepoint Expressions Tracepoint Intrinsics Tracepoint Limitations Configuring the Trace Hardware Tracepoint Marks Tips and Tricks Review Peripherals and CPU Configuration Simulate I/O Ports Simulate Interrupts and Clock Inputs Simulate external I/O Devices Assign Serial I/O to a PC COM Port Check Illegal Memory Access Command Input from File Preset I/O Ports or Memory Contents Write Debug Output to a File Keyboard Shortcuts TPIU Initialization after RESET (Cortex-M) Prevent Opening Files Show Japanese Messages Debug Commands Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs Appendix
The Logic Analyzer is a graphical analysis tool that shows value changes of variables or VTREGs. These elements can be specified by the user, but are subject to restrictions. As a consequence, not every variable can be shown.
The Logic Analyzer can be used with the Simulator or with Cortex-M devices that provide trace.
Open the Logic Analyzer from the toolbar or via the menu View - Analysis Windows - Logic Analyzer.
Signal Names can be changed in width and height.
Signals can be rearranged. Left-Mouse-button-down on a signal name and drag the signal to another location.
Setup... opens a dialog to define variables for recording and to configure the signal output. Some configuration settings can be changed through the signal's context menu.
Load... imports the signals recorded and saved previously in a file (*.UVLA). The data can be analyzed off-line. No signals can be added or removed when viewing data from such a file. Click the button Start to return to the currently defined signals.
Save... stores the signals in a file with a proprietary format (*.UVLA), or a comma-separated file (*.CSV), or in a tab-delimited file (*.TAB) for future analysis. Stop code execution for saving the signals. Only information available in the data buffer can be saved. The margins are delimited by Min Time and Max Time. Signals are not streamed nor saved automatically on hard drive. (For saving signal definitions, refer to Setup - Export Signal Definitions.)
The time fields show:
Zoom buttons change the time range of the display:
Min/Max buttons configure the signal amplitude range in the display. Highlight a variable name and click:
Update Screen buttons refresh, halt, or clear the screen content:
Transition buttons snap the reference line to the next transition point. Highlight a variable name and click:
Jump to buttons navigate to the code or trace data that correspond to the Mouse Cursor. Highlight a variable name and click:
Signal Info enables signal details while hovering the mouse over a signal point.
Show Cycles enables cycle information, which are displayed in the time stamp axis.
Amplitude enables the reference amplitude line and, when Cursor is enabled, also the mouse amplitude line.
Cursor enables a mouse cursor line that displays signal values at mouse position and deltas to the reference line.
Timestamps Enable activate timestamps dynamically. Refer to Cortex-M Trace Configuration for details.
Scroll to End button (right bottom corner) jumps to the end of the data buffer. Signal changes are displayed immediately.
Additional Mouse and Key Commands
of your data.