7.7.8.43. GEL_LoadBin()ΒΆ

Loads a binary file.

Syntax

GEL_LoadBin( "file_path", [start_address], ["cpu_name"], ["board_name"] );

Parameters

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

start_address (optional): Address on the target at which the contents of the file should be written. Default is 0.

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

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

Description

Loads a raw binary file into target memory, starting at the specified address. The entire contents of the file are treated as binary data to be written to the target memory.

Synchronous

Synchronous from GEL: Yes

Completely synchronous: No

Example

GEL_LoadBin( "C:/path/to/file.bin", 0x8000 );
GEL_LoadBin( "C:/path/to/file.bin", 0x8000, "cpu_a", "Emulator" );

Related Topics

GEL_Load

GEL_LoadProgramOnly

GEL_MemoryLoad

GEL_MemoryLoadData

GEL_MemorySaveBin

GEL_Reload

GEL_VerifyBinProgram