 | µVision User's Guide legacy |  |
|
|
| 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: - When Load Application at Startup is enabled, the debugger loads the file stated under Project — Options Target - Output — Name of Executable.
- When enabled Restore Debug Session Settings.
- Execute the commands in the Initialization File.
- When Run to main () is enabled the command G, main is executed.
Related Knowledgebase Articles |
|