Keil Logo

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.

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.

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.