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.
Tool/software: TI C/C++ Compiler
Hi,
I want to erase information memory when I did debug operation.
I set the erase options of properties in CCS but it can not be changed.
How can I solve the problem?
These are the steps I did below,
1) Click on "Erase main and information memory" of the Erase Options.
2) Click on "Apply" of the windows.
3) Click on "OK" of the windows.
After that, I could not erase the information memory and the erase option is still "Erase main memory only".
Best Regards,
Yu-Chaun Chen
Hello,
Your steps looks correct and it should work. I tried it out myself and the the option remained set. Something is not behaving right on your end.
Can you try explicitly applying the setting in the debug launch configuration for the project (under 'Run -> Debug Configurations') and see if applying the change there works?
Thanks
ki
Hi,
I have tried your way to change the configuration and it did not work, either.
Check with the following figure,
I could change the erase options to "Erase main and information memory" but the "Apply" button did not allow me to press.
I also tried to press "Debug" button directly without pressing "Apply" button, the data in the information memory still exist.
Which option can I check or how can I solve the problem?
I am now using coding to erase the data before the beginning of the main process instead of using the debug option during the design.
Best Regards,
Yu-Chuan Chen
Yu-Chuan Chen said:I could change the erase options to "Erase main and information memory" but the "Apply" button did not allow me to press.
I also tried to press "Debug" button directly without pressing "Apply" button, the data in the information memory still exist.
Which option can I check or how can I solve the problem?
That is odd. when you change an option, the "Apply" button should become available. It is like the launch config file is read-only or something.
Can you delete the launch configuration and then restart a debug session for the project? This will cause CCS to create a new launch config file. Then see if you can modify those settings.
Hi,
Of course I can try. How can I delete the launch config?
Are there any information or user guide can let me read to finish the operation?
Best regards,
Yu-Chuan Chen
Yu-Chuan Chen said:Of course I can try. How can I delete the launch config?
Select the config from the list and press the delete button:
Yu-Chuan Chen said:Are there any information or user guide can let me read to finish the operation?
The Debug chapter of the user's guide has several sections that talk about launch configurations and debug options:
https://software-dl.ti.com/ccs/esd/documents/users_guide/index_debug.html
Thanks
ki
Hi,
After the way to tell me, the apply button was available to press.
But it still can not be set as "Erase main and information memory" option.
The information of the chip still exist.
The windows of debug config still showed as "Erase main memory only" option.
How could I do now?
Best regard,
Yu-Chuan, Chen
Yu-Chuan Chen said:But it still can not be set as "Erase main and information memory" option.
The information of the chip still exist.
The windows of debug config still showed as "Erase main memory only" option.
It's odd, it is like CCS does not have write access to modify the launch configuration.
Try changing it AFTER you are in a debug session. While you are in a debug session, go to "Tools -> Debugger Options" and apply the flash settings from there. At the bottom of the dialog, there should be a button to "Remember my settings". Apply that button also. Then try relaunching a debug session again.
Hi,
It can be changed in a debug session.
Just like the way you told me, using "remember my setting" can work.
Best regards,
Yu-Chuan, Chen