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.

CCS/TMS320F28379D: Debug Settings - Launch Options

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hello,

For our CCS examples for CPU2 of our dual core device, we want the debug Launch Option "Connect to the target on debugger startup" to be checked. If I go into a project and edit this, I see a ".launch" file created. Is there another place to specify this setting within the project or some other file being used (besides .launch)? Somehow there are certain projects that actually have this checked by default, but no .launch file is provided with the example.

Regards

Chris

  • Chris,

    The place I would look for is the ProjectSpec of the projects that have this option already defined.

    processors.wiki.ti.com/.../ProjectSpecs_in_CCS

    Unfortunately I never payed attention to this particular option and no example project comes to mind that I could look to confirm. Do you have an example where this is set?

    Regards,
    Rafael
  • Rafael,

    Unfortunately this for our older examples which aren't using projectspecs yet. The one example I know I see this being defined by default is in controlSUITE, at ~\controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Dual\ipc_gpio_toggle\cpu02. When looking at the Launch options for the C28xx_CPU2.

    Thanks
    Chris
  • Is there an option to generate projectspecs out of existing project? Is there a tool which would generate projectspecs?

    Coming from C2000 programing "XML schema" and stuff is somewhat foreign for me.


    Best regards

  • Chris,

    Using the example you mentioned, I couldn't find anything that is related to Debug options in the regular project files (.ccsproject, .cproject, .project) and, just like you, if I touch the Debug options a .launch file is immediately created.

    In this case, I wonder if this is set only on newer projects because the Connection Type (JTAG debugger) is also set as part of the project. This is a relatively new feature (CCSv6.1.x IIRC).

    I will contact other folks that may have additional ideas about that.

    Regards,
    Rafael
  • Chris,

    The dev team confirmed that no file other than .launch carries debug launch configurations per project. If you see different configurations per project I can only imagine there may be other details at hand.

    One detail is that, when using the dual core device, the .launch file will always be created given it will ask for which core the project should be loaded - in a single core this question is skipped.

    >>Somehow there are certain projects that actually have this checked by default, but no .launch file is provided with the example.
    Therefore, if the project does not have a .launch file, what you are seeing is most probably a default setting stored in the workspace. (the option "Connect to the target on debugger startup" is enabled in my setup here)

    Regards,
    Rafael
  • Rafael,

    Alright that makes sense. Appreciate the help and looking further into this. Sound like will have to include the launch file to get this setting.

    Thanks
    Chris