I am using Code Warrior for MCU 10.6.4, DSP56F8357, P&E U-MultiLink.
My application uses internal Data Flash as EEProm to store user settings. This works well, and I can read, write, and erase segments no problem.
To free up data flash for my uses, in the linker.cmd file I have moved all the constant data from x flash to p flash, and this also works fine. At startup my constants get moved from p flash to x ram as intended. The linker map file shows that x flash is empty, so this leaves the entire x flash for my uses - which is what I wanted.
However, it is a problem that every time I download new code into the processor, the entire data flash gets erased automatically by code warrior somewhere. This wipes out my user's settings of course.
Is there anywhere I can instruct code warrior or p&e to stop erasing data flash by default?