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.

LAUNCHXL-F28P55X: Unable to build Example: Error in call to sysconfig

Part Number: LAUNCHXL-F28P55X
Other Parts Discussed in Thread: C2000WARE, , SYSCONFIG, TMDSCNCD28P55X

Tool/software:

Hi,

I'm trying to get the LED example from c2000ware running on the LAUNCHXL-F28P55X evaluation board with CCS THEIA v20.0.0.12__1.6.0. However, I'm encountering an issue right away when executing sysconfig_cli. What am I doing wrong?

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[0]**** Build of configuration CPU1_RAM for project led_ex1_blinky ****
[1]"C:\\ti\\ccstheia151\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
[2]Building file: "../led_ex1_blinky.syscfg"
[3]Invoking: SysConfig
[4]"C:/ti/ccstheia151/ccs/utils/sysconfig_1.22.0/sysconfig_cli.bat" --script "C:/Users/henryp/workspace_ccstheia/led_ex1_blinky/led_ex1_blinky.syscfg" -o "syscfg" -s "C:/ti/C2000Ware_5_04_00_00/.metadata/sdk.json" --compiler ccs
[5]Usage:
[6] cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] [--quiet -q] <script>
[7] cli --help
[8] cli --version
[9] example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
[10] example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg
[11] Note that the all arguments other than '--help' and '--version' may also be
[12] specified via the script with an embedded @cliArgs comment directive.
[13] E.g. // @cliArgs -d MSP432P401R
[14] If an argument is embedded in a script and explicitly specified via the CLI
[15] then precedence is given to the CLI arguments. Additionally, specifying
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi Henry,

    Does TMDSCNCD28P55X.syscfg.json exist in C2000Ware_5_04_00_00 > boards > .meta?

    Can you try building other example projects and let us know if those are successful? What compiler version are you using and what changes (if any) did you make to the build settings?

    Best,

    Matt

  • Hi Matt,

    Yes, the file exists, and I did not make any changes to the build settings. I tried to build the example driverlib_cc_f28p55x, it was buildable out of the box. Could the led example be corrupted in some way?

    Best,
    Henry.

  • Hi Henry,

    I was able to successfully build the example on my end with v20.0.0.13__1.6.0 and sysconfig v1.22.0. 

    From line 4 of your build output, ccstheia151 sysconfig is called:

    "C:/ti/ccstheia151/ccs/utils/sysconfig_1.22.0/sysconfig_cli.bat"

    I believe the error might be occurring because CCS is still using an incompatible version of sysconfig.

    Right click on the Project and go to File -> Preferences -> Code Composer Studio Settings > Products. Make sure C:/ti/ccs2000 is in the "Product Discovery Path", and select the correct sysconfig version in the "Dicovered Products" dropdown below it.

    Best,

    Matt 

  • Hi Matt,

    there is c:/ti/ccs2000, since i made an update from v1.5.1 and it seems to have kept the old directory. However, i changed sysconfig_cli.bat, so it outputs the cli.js version, and it gets me 1.22.0, so this should be correct.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    [0]**** Build of configuration CPU1_RAM for project led_ex1_blinky ****
    [1]"C:\\ti\\ccstheia151\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
    [2]Building file: "../led_ex1_blinky.syscfg"
    [3]Invoking: SysConfig
    [4]"C:/ti/ccstheia151/ccs/utils/sysconfig_1.22.0/sysconfig_cli.bat" --script "C:/Users/henryp/workspace_ccstheia/led_ex1_blinky/led_ex1_blinky.syscfg" -o "syscfg" -s "C:/ti/C2000Ware_5_04_00_00/.metadata/sdk.json" --compiler ccs
    [5]*** node version ***
    [6]v18.16.0
    [7]*** cli version ***
    [8]1.22.0+3893
    [9]Usage:
    [10] cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] [--quiet -q] <script>
    [11] cli --help
    [12] cli --version
    [...]
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    I also tried to run the cli.js manually from command line, and then, it outputs it could not find

    Fullscreen
    1
    2
    ➜ node C:\ti\ccstheia151\ccs\utils\sysconfig_1.22.0\dist\cli.js --script "C:/Users/henryp/workspace_ccstheia/led_ex1_blinky/led_ex1_blinky.syscfg" -o "syscfg" -s "C:/ti/C2000Ware_5_04_00_00/.metadata/sdk.json" --compiler ccs
    boards/TMDSCNCD28P55X: Resource not under a .meta folder: /boards/TMDSCNCD28P55X.syscfg.json
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    However, C:\ti\C2000Ware_5_04_00_00\boards\.meta\TMDSCNCD28P55X.syscfg.json is present. Could another path be missing?

    Best
    Henry

  • Hi Henry,

    Given there seems to be some incompatible directory intersection between CCS Theia 1.5.1 and CCS 20.0.0 on your machine, can you try uninstalling both and reinstalling only CCS 20.0.0?  

    Best,

    Matt

  • I will assume that this issue is resolved and close the thread, as its been several weeks without a response