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.

Write Protection on Flash Memory

Other Parts Discussed in Thread: TMS320F28335

Hi

I am trying to store data from a buffer on the RAM to the a buffer on flash memory, but i can't make it work.  

When i inspect the memory from CCSv4 it seems like the flash memory somehow is write protected. (Memory Protection Flags: [Write Protected]).

 

The flash memory is defined in as:

Memory(page 1):   

FLASHA  : origin = 0x300000, length = 0x008000

 

Section

.toFLASHA : > FLASHA,   PAGE = 1

 

 

In the main file we use:

================

// Variable for data collection

#pragma DATA_SECTION(Table, ".toFLASHA"); // Put data from Table into Flash

unsigned short Table[x]; // Table for datacollection with x entrances

===============

 

Is it possible to change the flag value, and how? 

The reason why we want to use the flash memory is because the RAM doesn't contain sufficient space.  

I am using the Delfino TMS320F28335.