LoadProgram |
Top |
void LoadProgram(unsigned char file_name[], int format, int addr_space=AS_CODE, unsigned long start_addr=0); Description To download a program in the buffer{buffer} memory. Parameters: file_name - Name of the loaded file. format - Format of the loaded file. Character constants with the prefix F_ declared in the mprog.h header file are provided for this parameter. To understand this better, open the Load Programm Dialog. and go through format names. addr_space - address space{addr_sp} where the data is downloaded (0 by default). start_addr - Load address. This parameter is used only for loading a file that is a binary memory image. Example LoadProgram("C:\\PROG\\TEST.HEX", F_HEX, SubLevel(1, 0)); |