JTAG not erase entire flash memory in code composer studio with MSP-FET

debuggingflashjtagmsp430

I am using MSP430F2619 for storing device specific parameters in internal Flash memory using flash write routines.

while debugging using JTAG MSP-FET I found that my flash is getting written during debug session. But when I reload the program next time using JTAG previously written flash memory segments are erased by debugger.

Is it possible to set JTAG such that it will not overwrite this segment of program memory?

I am using code composer studio 6.

Best Answer

Yes, this is possible. In Code Composer, Go to Debug Configurations, then select Target, then MSP430 properties. There are five options, depending on whether you want to erase main memory only, or main and information memory, or protected memory etc. See below: Debug Configurations Dialog Box