µVision User's GuideAbout µVision User Interface Creating Applications Utilities Debugging Debug Commands ASM ASSIGN BreakAccess BreakDisable BreakEnable BreakKill BreakList BreakSet COVERAGE COVTOFILE DEFINE DIR Display Enter EVALuate EXIT FUNC Go INCLUDE KILL LOAD LOG LogicAnalyze MAP MODE Ostep PerformanceAnalyze Pstep RESET SAVE SCOPE SET SIGNAL SLOG Tstep Unassemble WatchSet WatchKill Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix
The LOAD command instructs the µVision debugger to load an object file. You can load the object file of the current project when starting the µVision debugger by enabling Options for Target – Debug - Load Application at Startup.
µVision analyzes the contents of the file to determine the file type (if the file type cannot be determined, then an error message is displayed). The following file types are supported:
The LOAD command has several options that depend on the target in use:
This command line loads measure from the directory c:\projects\c51\examples\measure. This directory is also searched by µVision for source files.
This command line loads myprog.hex.
Support for Key Sequences
Key sequences can be used in the LOAD command. This enhancement allows using a generic Debugger initialization file across multiple projects, for example: in a Multi-Project Workspace, the name of the linker output file can be specified with %L.
LOAD %L INCREMENTAL
This command line loads the linker output file of the current project for debugging.
of your data.