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/LAUNCHXL-CC1312R1: rfPacketTx_CC1312R1_LAUNCHXL_tirtos_ccs: Does NOT debug.

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Code Composer Studio

Hello,

I imported the SDK from the Resource Explorer in CCS and used sysconfig on the project to target my board through it's specific serial. When I try to debug the code I get an error.

Error exist in project:

Proceed with launch?  

Errors being: 

gmake[1]: *** [build-1173590961-inproc] Error 1
subdir_rules.mk:16: recipe for target 'build-1173590961' failed
gmake: *** [build-1173590961] Error 2
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

After Proceed:

Encountered a problem loading file: *Directory*

Could not open file.

Any idea how to fix this?

 

  • You do not show the complete console output but I suspect there were some other errors mentioned before the gmake one. 

    Please take a look at this link and see if any of the items noted there apply to your situation. A very common scenario for this error is when there are spaces in directory paths, either tools installation path or workspace/project path.

    http://software-dl.ti.com/ccs/esd/documents/sdto_ccs_build-errors.html#rtsc-diagnostics

  • Hello Aarti, 

    I couldn't find the error I'm getting in the link you shared above. See the full error message below. I tried changing the launchpad and respective serial number but I get the same error. 

    **** Build of configuration Debug for project rfPacketTx_CC1312R1_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../rfPacketTx.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs920/ccs/utils/sysconfig/sysconfig_cli.bat" -s "C:/ti/simplelink_cc13x2_26x2_sdk_4_20_00_35/.metadata/product.json" -o "syscfg" --compiler ccs "../rfPacketTx.syscfg"

    Usage:
    cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script>
    cli --help
    cli --version

    example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
    example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg

    Note that the all arguments other than '--help' and '--version' may also be
    specified via the script with an embedded @cliArgs comment directive.
    E.g. // @cliArgs -d MSP432P401R

    If an argument is embedded in a script and explicitly specified via the CLI
    then precedence is given to the CLI arguments. Additionally, specifying
    "--board" or "--device" on the CLI will override any "--board" and "--device"
    arguments specified in the script.

    subdir_rules.mk:19: recipe for target 'build-1173590961-inproc' failed
    Invalid argument '-s': C:\ti\simplelink_cc13x2_26x2_sdk_4_20_00_35\.metadata\product.json: Validation failed: [
    {
    "keyword": "additionalProperties",
    "dataPath": "",
    "schemaPath": "#/additionalProperties",
    "params": {
    "additionalProperty": "minToolVersion"
    },
    "message": "should NOT have additional properties"
    }
    ]
    gmake[1]: *** [build-1173590961-inproc] Error 1
    subdir_rules.mk:16: recipe for target 'build-1173590961' failed
    gmake: *** [build-1173590961] Error 2
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • I see that you are using CCS 9.2 and SDK 4.20. A per the release notes for this version of SDK, it was validated with CCS v10.1 so I would recommend using it with that version. SDK 4.10 and higher are known to be incompatible with CCSv9.x.

    Please download and install the latest version of CCS from here and let us know if that does not resolve the issue: http://www.ti.com/tool/download/CCSTUDIO