Keil Logo

Technical Support

On-Line Manuals

µVision3 User's Guide

µVision3 Overview User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs File Device Database License Management Single-User License Floating-User License Floating License Administrator Edit Find in Files Configuration Editor Colors & Fonts User Keywords Shortcut Keys Templates View Symbol Window Project Components, Enviornment, and Books Project Components Folders/Extensions Books Multi-Project Select Device Options Device Properties Target Target (Keil ARM) Target (Keil C51) Target (Keil C166) Target (Keil C251) Target (GNU ARM) Target (RealView ARM) Output Output (Keil) Output (GNU ARM) Output (RealView ARM) Listing Listing (Keil) Listing (GNU ARM) Listing (RealView ARM) User Keil EC++ Compiler Compiler Keil CA ARM Compiler Keil Cx51 Compiler Keil C166 Compiler Keil C251 Compiler GNU ARM C Compiler RealView ARM C Compiler Assembler Keil AA ARM Assembler Keil Ax51 Assembler Keil A166 Assembler Keil A251 Assembler GNU ARM Assembler RealView ARM Assembler Linker Keil LA Locate Keil LA Misc Keil BL51 Locate Keil BL51 Misc Keil Lx51 Locate Keil Lx51 Misc Keil L166 Locate Keil L166 Misc GNU ARM Linker RealView ARM Linker Debug Utilities Batch Build Debug Breakpoints Debug Settings Logic Analyzer Memory Map Performance Analyzer Function Editor Tools Setup PC-Lint Customize Tools Menu SVCS Configure Version Control Example Programs Command Line Appendix

Debug

Use Simulator
Select the µVision Simulator for program test. This simulator debugging.
Simulator Settings
Configure device specific Simulator options such as start-up features and BUS characteristics (only available on some devices).
Limit Speed to Real-Time
Allows you to synchronize the speed of the CPU simulation to the PC clock which is a real-world clock. This setting is only useful for targets that simulate faster than real-time (mostly 8051 applications).
Use ... (Target Driver)
Select a target driver for debugging in your hardware. Several AGDI target drivers are available that use different software or hardware tools for program test. For example, a ULINK USB-JTAG Adapter driver that use an embedded on-chip debugging hardware.
Target Driver Settings
Configure target driver options such as communication channel or memory cache.

This dialog page contains two almost identical sections for Simulator and Target Driver that configure:

Load Application at Startup
Load the executable file specified in the Output dialog on start of the Debugger.
Go till main()
Executes the program till main label after starting the µVision debugger. 
Initialization File
Specify a file that contains Debug Commands executed at start of the Debugger or Debug Functions definitions used during the debug session. Such a file is used for configuration setup (like Toolbox buttons). Press Edit or Create to open an editor window.
Restore Debug Session Settings
Use settings from the previous debug session for Breakpoints, Watchpoints, PA (Performance Analyzer), Memory Display, and Toolbox.
CPU/Driver DLL - Parameter
Review simulator or target driver DLL settings (taken from the Device Database). Please do not modify the DLL file or parameters.
Dialog DLL - Parameter
Review dialog DLL settings (taken from the Device Database). Please do not modify the DLL file or parameters.

µVision executes the commands of the dialog Project - Options - Debug in the following order:

  1. When Load Application at Startup is enabled, the debugger loads the file stated under Project — Options Target - Output — Name of Executable.
  2. When enabled Restore Debug Session Settings.
  3. Execute the commands in the Initialization File.
  4. When Run to main () is enabled the command G, main is executed.
  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.