µVision User's GuideAbout µVision User Interface Creating Applications Debugging Debug Commands ASM ASSIGN BreakAccess BreakDisable BreakEnable BreakKill BreakList BreakSet COVERAGE COVERAGE Overview Report COVERAGE GCOV Export COVERAGE ASM Report COVERAGE MTB Import COVTOFILE DEFINE DIR Display Enter EVALuate EventRecorder EXIT FUNC Go INCLUDE IRLOG ITMLOG KILL LOAD LOG LogicAnalyze MAP MODE Ostep PerformanceAnalyze Pstep RESET SAVE SBC (only Cortex-M) SCOPE SET SIGNAL SLOG Tstep Unassemble WatchSet WatchKill TraceAccessPoint TraceDataPoint TraceDisable TraceEnable TraceHalt TraceKill TraceList TraceRun (ETM) TraceSuspend (ETM) Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs 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 loads myprog.hex.
Support for Key Sequences
A limited number of key sequences can be used in the LOAD command. This enhancement allows using a generic Debugger initialization file across multiple projects. Key sequences supported by the load command are:
LOAD $L%L INCREMENTAL
This command line loads the linker output file of the current project.
This command line loads an Intel hex file.
of your data.