Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I am having an issue making my project portable with respect to the "Debug Flash Settings".
On my machine I have set the Flash settings "Erase Sector Selection" to include Sectors B to G. This leaves the other sectors (A,H) for the bootloader and configuration data.
When I setup a new development environment for another developer, the new setup is erasing all sectors for the same debug option.
The git repo includes the contents of the ".launches" directory.
I have followed the notes in "Debug Configurations" in http://software-dl.ti.com/ccs/esd/documents/ccs_portable-projects.html
However in the new environment, when I look in my "Production Application.launch" file I see my original settings with the correct flash configuration
<stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_DEBUGGER_PROPERTIES./home/firmware/original/tms320f28335-master/targetConfigs/TMS320F28335.ccxml.Texas Instruments XDS100v2 USB Emulator/C28xx" value="<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <PropertyValues> <property id="ConnectOnStartup"> <curValue>1</curValue> </property> <property id="EnableInstalledBreakpoint"> <curValue>1</curValue> </property> <property id="IgnoreSoftLaunchFailures"> <curValue>0</curValue> </property> <property id="FlashSectorA"> <curValue>0</curValue> </property> <property id="FlashSectorB"> <curValue>1</curValue> </property> <property id="FlashSectorC"> <curValue>1</curValue> </property> <property id="FlashSectorD"> <curValue>1</curValue> </property> <property id="FlashSectorE"> <curValue>1</curValue> </property> <property id="FlashSectorF"> <curValue>1</curValue> </property> <property id="FlashSectorG"> <curValue>1</curValue> </property> <property id="FlashSectorH"> <curValue>0</curValue> </property> </PropertyValues> "/>
followed by a new line that does not contain any explicit flash settings
<stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_DEBUGGER_PROPERTIES./home/firmware/new-environment/tms320f28335-master/targetConfigs/TMS320F28335.ccxml.Texas Instruments XDS100v2 USB Emulator/C28xx" value="<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <PropertyValues> <property id="ConnectOnStartup"> <curValue>1</curValue> </property> <property id="EnableInstalledBreakpoint"> <curValue>1</curValue> </property> <property id="IgnoreSoftLaunchFailures"> <curValue>0</curValue> </property> </PropertyValues> "/>
I have attempted to make the settings in targetConfigs/TMS320F28335.ccxml have the correct flash settings, but these do not seem to persist.
The absolute reference to the location of the ccxml file is surprising since I "Converted" to the linked resource of PROJECT_LOC/targetConfigs/TMS320F28335.ccxml.
It looks like when the Debug option is launched in the new environment:
1. it cannot find the ccxml file at the absolute path
2. It creates a new entry in the launch file for the known ccxml, and uses the default erase sector settings of A to H.
Is there a way to make these erase flash sector settings project portable?
Thanks