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.

CCS6 F28069 debug config - not auto connecting to target and loading program on launch

On CCS6, I created a new .ccxml Target Configuration file from scratch for my F28069 board (custom).

Then I created a new Debug Configuration to use this new target config file. 

When I launch the debugger with the new debug configuration, the XDS100v2 does not connect, and the program does not load. However, I can choose Run/Connect Target... manually, and then Run/Load/Load Program... manually, and the program will load and continue to the breakpoint at main(). My debug configuration has the Auto Run and Launch Options checkbox "Connect to the target on debugger startup" enabled. See image below.

I never used to have this problem with CCS 5.5.2. 

  • I followed similar steps and created a debug configuration but in my case I was using a F28069 controlcard. I was able to get the debug configuration to launch, connect to target and load the code automatically with settings similar to yours, so i'm not really sure why it doesn't work for you. 

    Could you show screenshots of your settings for the "Main" and "Program" tabs?

  • I think I know what the problem is.

    A new project created in CCS6 (called LogDemo) worked just fine...the debugger launch connected to the target via XDS100v2 and loaded the program. My other project imported from CCS5 was the one with the problem on launch. When I looked at the Main and Program tabs as you suggested, the Program tab for the debug configuration corresponding to my imported project (SIM100_F28069_CCS6) did not have the Program specified like it used to be under CCS5. I updated my debug configuration which wasn't working to use "${build_artifact:SIM100}" as the program to load, and all is well now. See screen shots below. Perhaps there is a problem with converting and specifying the .out program to launch when importing debug configurations for CCS5 projects?

    With the program name properly configured, all is well now and the launch works (connects and loads).

    Do CCS5 debug configurations work properly under CCS6 - does the program artifact to launch convert over properly?

  • Gordon Finlay said:

    Do CCS5 debug configurations work properly under CCS6 - does the program artifact to launch convert over properly?

    I imported a CCSv5 project into v6 and the Program artifact stayed the way it was specified, and was not removed. There might be some specific corner cases where it is not preserved as you observed, but we would need a reproducible test case to take it any further. Unfortunately I haven't been able to reproduce it so far. However, I am glad it was an easy fix and all is well now.