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.

TMS320F28384D: TMS320F28384D Dual Core Flash and File Linking

Part Number: TMS320F28384D

Tool/software:

Hi everyone,

I am trying to migrate from CCS 12.1.0 to CCS 20.1.1 but currently have two problems.

The first problem is that I am unable to flash and debug both CPUs at the same time, which was possible with CCS 12.1.0. For example, I tried the led_ex1_c28x_dual_blinky_cpu1 example project. I can flash both programs individually and it works, but not if I try to flash both together.
My launch.json is configured as follows:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "led_ex1_c28x_dual_blinky_cpu1",
            "type": "ccs-debug",
            "request": "launch",
            "projectInfo": {
                "name": "led_ex1_c28x_dual_blinky_cpu1",
                "resourceId": "/led_ex1_c28x_dual_blinky_cpu1"
            },
            "connections": [
                {
                    "name": "Texas Instruments XDS100v2 USB Debug Probe_0",
                    "cores": [
                        {
                            "name": "C28xx_CPU1",
                            "autoConnect": true,
                            "program": "${workspaceFolder}/led_ex1_c28x_dual_blinky_cpu1/CPU1_FLASH/led_ex1_blinky_cpu1.out"
                        },
                        {
                            "name": "C28xx_CPU2",
                            "autoConnect": true,
                            "program": "${workspaceFolder}/led_ex1_c28x_dual_blinky_cpu2/CPU2_FLASH/led_ex1_blinky_cpu2.out"
                        }
                    ]
                }
            ],
            "launchSettings": {
                "coreOrder": [
                    "C28xx_CPU1",
                    "C28xx_CPU2"
                ],
                "coresToLoadForProjectLaunch": [
                    "C28xx_CPU1",
                    "C28xx_CPU2"
                ],
                "resume": true,
                "runToSymbol": "main"
            }
        }
    ]
}

The second problem is that in our project we only write code in the CPU1 project and then link the folder for CPU2 (distinguished using the CPU1/CPU2 preprocessor symbols).
However, some libraries cannot be opened by CPU2. Is there a difference in the way linking works compared to CCS 12.1.0?