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.
Hello,
i'm using CCS 4.2.4.0033 with external Spectrum Digital Debugger XDS510USB.
It is possible to execute "loadti.bat -v --reset --no-profile -c XDS510_FLASH_TargetConfiguration.ccxml example.out" well.
This needs much time and I think that the whole flash is erased.
In CCS it is possible to change the flashing by: Target -> Debug -> Target -> TMS570... -> "necessary sectors only".
How can i do it here?
Best Regards,
Matthias
Hi Matthias,
Matthias Kruesselin said:In CCS it is possible to change the flashing by: Target -> Debug -> Target -> TMS570... -> "necessary sectors only".
loadti does not support this by default. However, loadti is simply a DSS example script and there are DSS APIs to change the flash options. An example of this API shown in the below thread:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/93378/324967.aspx
Hence you can modify the loadti script to support this additional functionality.
Thanks
ki
Hi Ki,
> http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/93378/324967.aspx
Thank's that's the solution. Adding this line.
debugSession.options.setString("FlashEraseSelection", "Necessary Sectors Only (for Program Load)");
Regards,
Matthias