This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash Programming using CCS


Hi,

My requirement : I need to load the flash memory with the 127K of configuration data with starting address as 0x00080000.

Is it possible to program flash (data storing) with CCS program ?

My idea is to create a C struture which reflects the configuration data structure. Load this struture with the required configuration data. Copy this loaded struture to required flash location. The CCS created hex file for this program will loaded to target using nowFlash or CCS. After running this program, the flash should be loaded withn required data. Then erase the program memory only. Then load the program which actually uses this configuration table or data. Is that my approach correct ?

I started doing as above, i am able to point the structure to required memory location, but the flash is not loaded with required data in debugging. This is beacuse flash is readable only.

Let me know how to store the data to Flash. Suggestion are weleocme.

I have read about F035 Flash API library in the TMS570 TRM. Do i need to use this for writing to flash ? IF so please provide me more information on usage of this library in the application program.