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.

TMS320F28035-EP: Unable to select output file for flashing

Part Number: TMS320F28035-EP
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

I’m using CCS 12.8.0 with the TMS320F28035MPNTEP microcontroller and an XDS110 debugger.

My .out file is located in the debug folder, but I don’t see an option to select it for flashing (see Screenshot 1).

However, if I first debug the program (Run → Debug), then stop debugging and attempt to flash it (Run → Load), the .out file becomes visible. See screenshot 3

This means that in a new workspace, if I haven't debugged the project at least once, I can't directly load the output file. When I try to manually browse and select the .out file via Run → Load → Select Program to Load, I encounter the error: "Load Program Error: Multiple debuggable cores detected."

How can I flash the output file without entering debug mode first.?

After first debug session

Thank You

  •  Hello,

    This means that in a new workspace, if I haven't debugged the project at least once, I can't directly load the output file.

    That is correct. As the first screenshot states, there's no launch history of your project being loaded in the workspace which is why you have to select the .out manually at first.

    When I try to manually browse and select the .out file via Run → Load → Select Program to Load, I encounter the error: "Load Program Error: Multiple debuggable cores detected."

    That dialog box shows up when there is more than one core that the program could be loaded/flashed onto. You can use the dialog to select which one (or more) you want to load.  CCS will then remember that selection and use it in the future. If your program is going into flash then it will program the flash on the selected core.

    How can I flash the output file without entering debug mode first.?

    To flash the output file onto the device, you have to connect to the device by starting a debug session. You can also manually launch a debug session by launching a target configuration and connecting to the intended core. Then, you can load the .out onto the device flash.

    1. Go to View > Target Configurations
    2. Right click the F2803x ccxml (you can import one from C2000Ware) and select "Launch Selected Configuration"
    3. Connect to the C28x core by right clicking it and selecting "Connect Target"
    4. Now you can load your program into the flash by navigating to Run > Load > Load Program

    Best,

    Matt

  • Thank You for your response Matt,

    In the target configuration advanced settings, I bypassed the CLA_0 core, assuming that the system would default to using C28xx (see screenshot below). With this change, I can now browse and load the .out file without encountering any errors.

    Is this approach acceptable?

    After making this change, launching the configuration (View > Target Configurations > Right-click > Launch Configuration) displays only one core, which is exactly what I intended

    Thank You

  • Hello,

    Yes, this is fine as long as you don't intend on using the CLA, as the GEL startup scripts won't initialize it with that debug configuration now. You can also not bypass it and only connect to the C28xx core after launching the configuration. Manually launching the target configuration gives you flexibility in deciding which core you want connect to.

    Best,

    Matt