Function SaveData

Top 

 

Declaration:

void SaveData(unsigned char file_name[], int format, int addr_space, unsigned long start_addr, unsigned long end_addr);

Description

Saves the microcontroller memory area in the file.

Parameters:

file_name - the name of unloaded file.

format   - the format of unloaded file. Character constants with

             the prefix SF_ declared in the system.h header file

             are provided for this parameter. To understand this better,

             open the Save file dialog  and go through the

             format names.

addr_space - the microcontroller memory space, from where data is unloaded.

start_addr - the initial address of unloaded area.

end_addr  - the final address of unloaded area (inclusive).

Example

SaveData("C:\\PROG\\TEST.HEX", SF_HEX, AS_CODE, 0, 0x3FFF);