Part Number: TMS570LS1114
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:
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.
In reply to chi qiu:
Thanks and Regards,
In reply to Chuck Davenport:
Hello Chuck Davenport:
Now ,by second way,I have successed to copy the code from flash to ram.But I could't write data to my CAL_ROM
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.