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.

CCS/MSP430FR5959: CCS7 not erasing fram memory during debug

Part Number: MSP430FR5959

Tool/software: Code Composer Studio

im using ccs 7.3

i have this code in my software

#pragma SET_DATA_SECTION(".sysmem")
unsigned int initialization;

//other stuff
#pragma SET_DATA_SECTION()

if (initialization != 'x') {

initialization = 'x';
//other stuff
}

i been doing it this way for a while.. initialization get cleared when debugging so i can initialize variables that are located in fram.

I loaded my source code into a fresh environment. Now when i run debug initialization is never erased.
under erase option i have "Erase main memory only" same as i always have.

I can open up a different environment with another source code and debug function like i expect.. i compared setting between the 2 and i cant find anything different.. dont know what i am missing..


Thank you

CCS7 not erasing fram memory during debug

**Attention** This is a public forum