7.7.8.45. GEL_LoadProgramOnly()ΒΆ

Loads a program without loading symbol information

Syntax

GEL_LoadProgramOnly( "file_path", ["cpuName"], ["boardName"], [is_data_only] );

Parameters

file_path: The path to the file to be loaded. The file_path must be enclosed in quotation marks.

cpuName (optional): Names the CPU on which to load the file (useful in a multiprocessor environment). The cpuName must be enclosed in quotation marks.

boardName (optional): is the text string specified as the Board Name in the target configuration. The boardName must be enclosed in quotation marks.

is_data_only (optional): If non-zero, indicates that we should just load the contents of the file and not perform other debugger events related to loading a program. For example, the debugger will not set the PC or call the GEL callbacks related to program loads. Default is 0 (false).

Description

Like GEL_Load <GEL_Load.html>, this function downloads both program code and data onto the target at the addresses specified in the file. However, no attempt will be made by the debugger to load symbol information.

Supported file formats

  • COFF - ELF - S-Record - Intel Hex - Tektronix Hex - TI HEX (also known

as TI-txt)

If the file is not in the current directory, provide a full path name within the string. A double backslash escape sequence is required to ensure that you get a backslash into the fileName.

The cpuName must match the CPU name as configured in the multiprocessor setup. In a single processor system, you do not need to fill this field.

Synchronous

Synchronous from GEL: No

Completely synchronous: No

Example

GEL_LoadProgramOnly("c:\\mydir\\myfile.out", "cpu_a", "Emulator");

Related Topics

GEL_Load

GEL_LoadBin

GEL_Reload

GEL_SymbolAdd

GEL_SymbolAddRel

GEL_SymbolLoad

GEL_SymbolLoadRel

GEL_SymbolRemove

GEL_UnloadAllSymbols

GEL_VerifyProgram