TI E2E Community
Code Composer Studio
Code Composer Forum
Is it possible for CCSv4 to erase only some of the information memory segments when debugging?
On a MSP430F2012, I'm using information memory segments B and C to hold calibration data which I do not want erased when CCSv4 enters a debug session. Therefore, in the: CCSv4 Project Properties, CCS Debug Settings, MSP430 Properties, I've set the "Download Options" to "Erase main memory only."
However because of code size issues, I would like to use memory segment D to hold my "const" data tables (I only need 60 bytes for all my const tables). Moving these tables into segment D was easy: just change the ".const" specification in the linker command file from "FLASH", to "INFOD".
Unfortunately, with the CCSv4 "Erase main memory only" option, the INFOD section will not be erased before downloading for a debug session. If I've changed the constant tables in the source code, then the new values may not be written properly into INFOD (because it wasn't erased first).
My question: is there some way to set up CCSv4 so that it erases only some of the information memory segments when entering a debug session? If so, how?
Thanks very much!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.