Keil Logo

Technical Support

On-Line Manuals

µVision User's Guide

About µVision User Interface Creating Applications Debugging Using the Debugger Simulation Start Debugging Application Program Execution Debug Windows and Dialogs Breakpoints Window Call Stack and Locals Window Code Coverage Command Window Component Viewer Disassembly Window Event Recorder Filter Component Levels Setup Event Recorder Event Viewer Execution Profiler Instruction Trace Window Logic Analyzer Setup Setup in Detail Restrictions Cortex-M Trace Configuration Memory Map Memory Window Performance Analyzer Registers Window Serial Window Symbols Window System Viewer Adding System Viewer Windows System and Thread Viewer Thread States Toolbox Trace Data Window Trace Navigation 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 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 Code Coverage Export MTB Trace Import for Code Coverage Debug Commands Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs Appendix

Logic Analyzer

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.

Logic Analyzer ButtonOpen the Logic Analyzer from the toolbar or via the menu View - Analysis Windows - Logic Analyzer.

Logic Analyzer Window

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:

  • Min Time is the first time stamp in the signal recording buffer. The time starts at zero and keeps rolling forward while µVision is recording the signals.
  • Max Time is the last time stamp of the signal recording buffer. It shows the time since signal recording started.
  • Grid is the time interval between two grid lines.

Zoom buttons change the time range of the display:

  • In zooms into the signals to get a detailed view at the reference line. The time interval between two grid lines gets smaller.
  • Out zooms out of the signals for a better overview at the reference line. The time interval between two grid lines gets larger.
  • All shows the complete content of the signal recording buffer.

Min/Max buttons configure the signal amplitude range in the display. Highlight a variable name and click:

  • Auto to configure the signal amplitude range based on the signal recording buffer data.
  • Undo to restore the amplitude range settings that existed before the button Auto was clicked.

Update Screen buttons refresh, halt, or clear the screen content:

  • Stop halts updating the display. µVision continues to fill the signal recording buffer. When clicked, the button changes its boilerplate text to Start.
  • Start updates the display with data from the signal recording buffer and incoming data. When clicked, the button changes its boilerplate text to Stop.
  • Clear empties the screen and the data buffer. Min Time is set to the value of Max Time.

Transition buttons snap the reference line to the next transition point. Highlight a variable name and click:

  • Priv to move the reference line to the previous transition point. The Left-Arrow key can be used also.
  • Next to move the reference line to the succeeding transition point. The Right-Arrow key can be used also.

Jump to buttons navigate to the code or trace data that correspond to the Mouse Cursor. Highlight a variable name and click:

  • Code opens the Disassembly or source window at the code line that caused the signal transition. The button is active when a program counter value has been recorded.
  • Trace opens the Trace Data and Trace Navigation window. Trace records are synchronized with the Logic Analyzer.

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

  • Click into the display area to set reference line to a time position.
  • Double-click into the display area to remove the reference line.
  • Use the mouse wheel to zoom in and out at mouse position.
  • Shift+button click applies that button-action to all signals and is effective for the Setup Min/Max buttons.
  • Shift+context menu item applies that configuration option to all signals.
  • Shift+mouse move snaps the mouse cursor line to the next transition of the moving direction.
  • Click on a variable name and press DEL to remove the signal.
  • Use the option Adaptive Min/Max of the context menu to configure the signal amplitude range dynamically based on the values available in the signal recording buffer and according to the incoming data.
  • Press the Up- or Down-arrow key to highlight the next signal.
  • Click on the variable name to toggle signal highlighting.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.