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.

TMS320F28379D: SysConfig - project compiles and run when configuration CPU1_RAM but a sysconfig error rises when using CPU1_FLASH (C2000Ware 5.1.0.00 and SysConfig 1.18.0)

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Hardware: Control Card F28379D

Products: C2000Ware 5.1.0.00 and SysConfig 1.18.0


Issue:

I have a blink project with a sysconfig file just to setting up the peripherals.

The SysConfig generates the code that compile and run fine when using the build configuration as CPU1_RAM but when setting active the configuration CPU1_FLASH an error is rised by sysconfig in build:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Building file: "../config.syscfg"
Invoking: SysConfig
"C:/ti/ccs1250/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat" -s "C:/ti/C2000Ware_5_01_00_00/.metadata/sdk.json" -d "F2837xD" --script "C:/git/firmware/f28379d_dev/sysconfig/project/config.syscfg" -o "syscfg" --compiler ccs
Running script...
subdir_rules.mk:16: recipe for target 'build-427106431' failed
Error: cannot set '$assign' to 'hsecDigital.69': No option named hsecDigital.69 defined, valid options are
Any
GPIO18
ball.9
GPIO62
ball.57
GPIO70
ball.76
GPIO10
ball.100
GPIO13
ball.4
GPIO17
ball.8
GPIO21
ball.13
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The contents of the sysconfig file are:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
* @cliArgs --board "/boards/TMDSCNCD28379D" --context "CPU1" --product "C2000WARE@5.01.00.00"
* @versions {"tool":"1.18.0+3266"}
*/
/**
* Import the modules used in this configuration.
*/
const can = scripting.addModule("/driverlib/can.js", {}, false);
const can1 = can.addInstance();
const sci = scripting.addModule("/driverlib/sci.js", {}, false);
const sci1 = sci.addInstance();
const sci2 = sci.addInstance();
const spi = scripting.addModule("/driverlib/spi.js", {}, false);
const spi1 = spi.addInstance();
/**
* Write custom configuration values to the imported modules.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Is this a bug with the SysConfig or am I missing something?

Thank you!

  • Hi, 

    When you open the sysconfig file in the  Sysconfig GUI , is it showing any errors or warnings that are suppressed?

    This error seems to be related to pinmux where the pin is not configured is not available . 

    You can click on the "Info" icon on the Sysconfig GUI to show if any problems are reported in the configuration.

    Best Regards

    Siddharth

  • Thank you for the return.

    I just can open the sysconfig GUI using the build configuration as CPU1_RAM. Using the build configuration as CPU1_FLASH the sysconfig returns an error.

    Using the build configuration as CPU1_RAM

    I have 13 supressed warnings that I validated with the hardware specs (and the project compiles).

    On the other hand, using the build configuration as CPU1_FLASH, the sysconfig throws an error and can't open even in compatibility mode.

    edit: typo

  • Andre

    Is it possible for you to share the CCS project and the sysconfig file to take a look.?

    Best Regards

    Sididjartj

  • Sure.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /**
    * These arguments were used when this file was generated. They will be automatically applied on subsequent loads
    * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
    * @cliArgs --board "/boards/TMDSCNCD28379D" --context "CPU1" --product "C2000WARE@5.01.00.00"
    * @versions {"tool":"1.18.0+3266"}
    */
    /**
    * Import the modules used in this configuration.
    */
    const adc = scripting.addModule("/driverlib/adc.js");
    const adc1 = adc.addInstance();
    const adc2 = adc.addInstance();
    const adc3 = adc.addInstance();
    const adc4 = adc.addInstance();
    /**
    * Write custom configuration values to the imported modules.
    */
    adc.synchronousModeCheck = true;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Andre

    Pls share the CCS project of if you are using any project provided within C2000Ware , let me know the path to it.

    Best Regards

    Siddharth