Other Parts Discussed in Thread: HALCOGEN,
Dear Experts:
How to save my important data into the divided ROM space .Rather than copying my code, some variable data goes into my divided ROM area
1.I want to read and write FLASH , based on the F021 FLASH API, and I have posted my problems in the forums. But when I solve this problems, some problems appeared.
2.My purpose is dividing a small field which address is 0x000fe000 and length is0x00001000 to restore vital data ,instead of only copy flash code into the SRAM to run. For example:
uint32_t parameter=18;
3.I want to restore the address of parameter into the CAL_ROM in order to modify the valve of parameter. Lots of data like it will be put in the CAL_ROM instead of RAM.
4.I didn’t know what to do after I declare the function copyAPI2RAM().In fact , copyAPI2RAM() was written by assembly language, and I have replaced it in C code due to my poor levels to understand the assembly code.