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:
Greetings,
In a thread from a long time ago, I was made aware of loadBinaryProgram which is executed from the Scripting Console. That has been working well.
Now I want to do the load but only have it erase the sectors which are needed instead of the entire flash. Is that possible?
Thank you,
Ed
Hi Ed,
Yes, there is a section for "Necessary Sectors Only (for Program Load)" in the Erase settings for the On-Chip Flash tool, this can be seen by connecting to the CPU target in Code Composer Studio, going to Tools->On-Chip Flash Tool. You must select that option.
Thanks and regards,
Charles
Ahhh... So loadBinaryProgram uses the same setting? I have multiple projects loaded in CCS. I assume the tool is looking at the settings for the project which is actively being debugged?
Thank you,
Ed
Hi Ed,
The loadBinaryProgram function is separate part of the DSS scripting in CCS session, so you will have to give the debug settings strings it requires to operate similarly as the On-Chip Flash tool. The On-Chip Flash tool's settings should apply to any open project currently being debugged (if the settings are saved).
Thanks,
Charles
Hi Charles,
What do you mean by "if the settings are saved"? Aren't they saved when I create them and click Apply or Apply and Close?
Thank you,
Ed