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.

TMS320F280049C: /boards/TMDSCNCD280049C: Resource not under a .meta folder: /boards/TMDSCNCD280049C.syscfg.json

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG, TMDSCNCD280049C

Tool/software:

Imported an existing project from C2000ware_5_00_00_00 on a different PC to C2000Ware_5_04_00_00 on a new PC.

Building the project throws the error in the title. attached error snapshot, compiler include options and sysconfig basic options for reference.

Kindly help.

  • Hi, 

    Pls specify "/boards/TMDSCNCD280049C" as the board option in the SysConfig options.   This should resolve the issue.

    Best Regards

    Siddharth

  • Thanks Siddharth, for the quick Response.

    Unfortunately, after adding this "/boards/TMDSCNCD280049C" same issue still exists.

    Is there anything else that might be missing?

  • Hi, 

    Sorry for the detayed response. 

    Request you to share the syscfg file and the project options that you are using to take a deeper look into this issue.

    Best Regards

    Siddharth

  • /**
     * 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/TMDSCNCD280049C" --context "system" --product "C2000WARE@5.00.00.00"
     * @versions {"tool":"1.17.0+3128"}
     */
    
    /**
     * Import the modules used in this configuration.
     */
    const adc            = scripting.addModule("/driverlib/adc.js", {}, false);
    const adc1           = adc.addInstance();
    const asysctl        = scripting.addModule("/driverlib/asysctl.js");
    const cputimer       = scripting.addModule("/driverlib/cputimer.js", {}, false);
    const cputimer1      = cputimer.addInstance();
    const cputimer2      = cputimer.addInstance();
    const cputimer3      = cputimer.addInstance();
    const device_support = scripting.addModule("/driverlib/device_support.js");
    const epwm           = scripting.addModule("/driverlib/epwm.js", {}, false);
    const epwm1          = epwm.addInstance();
    const gpio           = scripting.addModule("/driverlib/gpio.js", {}, false);
    const gpio1          = gpio.addInstance();
    const memcfg         = scripting.addModule("/driverlib/memcfg.js");
    const spi            = scripting.addModule("/driverlib/spi.js", {}, false);
    const spi1           = spi.addInstance();
    const spi2           = spi.addInstance();
    
    /**
     * Write custom configuration values to the imported modules.
     */
    adc1.$name                          = "ADC_A";
    adc1.adcClockPrescaler              = "ADC_CLK_DIV_2_0";
    adc1.socHighPriorityMode            = "ADC_PRI_THRU_SOC1_HIPRI";
    adc1.enabledSOCs                    = ["ADC_SOC_NUMBER0","ADC_SOC_NUMBER1"];
    adc1.soc0SampleWindow               = 50;
    adc1.soc1SampleWindow               = 50;
    adc1.enabledInts                    = ["ADC_INT_NUMBER1"];
    adc1.enableInterrupt1ContinuousMode = true;
    adc1.enableInterrupt1               = true;
    adc1.soc1Channel                    = "ADC_CH_ADCIN1";
    adc1.interruptPulseMode             = "ADC_PULSE_END_OF_CONV";
    
    asysctl.analogReference        = "INTERNAL";
    asysctl.analogReferenceVoltage = "1P65";
    
    const divider2       = system.clockTree["SYSCLKDIVSEL"];
    divider2.divideValue = 4;
    
    cputimer1.$name           = "myCPUTIMER0";
    cputimer1.enableInterrupt = true;
    cputimer1.emulationMode   = "CPUTIMER_EMULATIONMODE_RUNFREE";
    cputimer1.timerPeriod     = 50000000;
    cputimer1.startTimer      = true;
    
    cputimer2.$name           = "myCPUTIMER1";
    cputimer2.cputimerBase    = "CPUTIMER1_BASE";
    cputimer2.enableInterrupt = true;
    cputimer2.emulationMode   = "CPUTIMER_EMULATIONMODE_RUNFREE";
    cputimer2.timerPeriod     = 100000000;
    cputimer2.startTimer      = true;
    
    cputimer3.$name           = "myCPUTIMER2";
    cputimer3.cputimerBase    = "CPUTIMER2_BASE";
    cputimer3.emulationMode   = "CPUTIMER_EMULATIONMODE_RUNFREE";
    cputimer3.timerPeriod     = 250000000;
    cputimer3.enableInterrupt = true;
    cputimer3.startTimer      = true;
    
    device_support.build = "Release";
    
    epwm1.$hardware                = system.deviceData.board.components.PWM_LOC1;
    epwm1.$name                    = "EPWM_1";
    epwm1.epwmTimebase_hsClockDiv  = "EPWM_HSCLOCK_DIVIDER_1";
    epwm1.epwmTimebase_counterMode = "EPWM_COUNTER_MODE_UP_DOWN";
    epwm1.epwm.$assign             = "EPWM1";
    epwm1.epwm.epwm_aPin.$assign   = "hsecDigital.49";
    epwm1.epwm.epwm_bPin.$assign   = "hsecDigital.51";
    
    gpio1.$name             = "LED_31";
    gpio1.qualMode          = "GPIO_QUAL_ASYNC";
    gpio1.direction         = "GPIO_DIR_MODE_OUT";
    gpio1.writeInitialValue = true;
    gpio1.initialValue      = 1;
    gpio1.gpioPin.$assign   = "hsecDigital.74";
    scripting.suppress("Connected to hardware,@@@.+?@@@ is connected to EQEP1 on the Control Card F280049C\\. Consider selecting it in 'use hardware' above\\. @@@.+?@@@", gpio1, "gpioPin");
    
    spi1.mode                    = "SPI_MODE_CONTROLLER";
    spi1.enabledInterrupts       = ["SPI_INT_RX_DATA_TX_EMPTY"];
    spi1.$hardware               = system.deviceData.board.components.SPI_LOC2;
    spi1.$name                   = "SPIB_Controller";
    spi1.bitRate                 = 500000;
    spi1.enabledFIFOInterrupts   = ["SPI_INT_RXFF"];
    spi1.rxFifo                  = "SPI_FIFO_RX16";
    spi1.txFifo                  = "SPI_FIFO_TX16";
    spi1.useInterrupts           = false;
    spi1.emulationMode           = "SPI_EMULATION_FREE_RUN";
    spi1.transferProtocol        = "SPI_PROT_POL1PHA1";
    spi1.picoQual.padConfig      = "PULLUP";
    spi1.pociQual.padConfig      = "PULLUP";
    spi1.clkQual.padConfig       = "PULLUP";
    spi1.pteQual.padConfig       = "PULLUP";
    spi1.spi.$assign             = "SPIB";
    spi1.spi.spi_picoPin.$assign = "hsecDigital.75";
    spi1.spi.spi_pociPin.$assign = "hsecDigital.77";
    spi1.spi.spi_clkPin.$assign  = "hsecDigital.79";
    spi1.spi.spi_ptePin.$assign  = "hsecDigital.81";
    
    spi2.$name                   = "SPIA_Peripheral";
    spi2.$hardware               = system.deviceData.board.components.SPI_LOC1;
    spi2.bitRate                 = 500000;
    spi2.enabledInterrupts       = ["SPI_INT_RX_DATA_TX_EMPTY"];
    spi2.enabledFIFOInterrupts   = ["SPI_INT_RXFF"];
    spi2.rxFifo                  = "SPI_FIFO_RX16";
    spi2.txFifo                  = "SPI_FIFO_TXFULL";
    spi2.emulationMode           = "SPI_EMULATION_STOP_AFTER_TRANSMIT";
    spi2.picoQual.padConfig      = "PULLUP";
    spi2.pociQual.padConfig      = "PULLUP";
    spi2.clkQual.padConfig       = "PULLUP";
    spi2.pteQual.padConfig       = "PULLUP";
    spi2.spi.$assign             = "SPIA";
    spi2.spi.spi_picoPin.$assign = "hsecDigital.67";
    spi2.spi.spi_pociPin.$assign = "hsecDigital.69";
    spi2.spi.spi_clkPin.$assign  = "hsecDigital.71";
    spi2.spi.spi_ptePin.$assign  = "hsecDigital.73";
    

    Added syscfg contents and configured options for reference.

    Same error is thrown when the syscfg file is double clicked to edit.

  • Hi, 

    Unfortunately I am unable to reproduce the error.  Few things that you can check are mentioned below

    1. Make sure that this fiel exists : file 'TMDSCNCD280049C.syscfg.json' should exist in C:\ti\c2000\C2000Ware_5_04_00_00\boards\.meta

    2. Are you seeing any pop-up message while trying to open up the SysConfif file similar to below? A new feature was added in SysConfig v1.21 to support standard TI part numbers, hence it should prompt you to choose the device and package type when you launch it for the first time.

    3. Are you seeing this error with only this project? Can you try compilation an existing C2000Ware project ? I tried with i2c_ex1_loopback project and was able to compile it successfully.  These are the options that I used

    Best Regards

    Siddharth

  • Hello Siddarth,

    Thanks for the detailed analysis. 

    1. The .json file exists in the .meta folder under boards. 

    2.while opening the syscfg file that was created in C2000ware_5_00_00_00 version into C2000ware_5_04_00_00 and this error pops up.

    if you see the header of syscfg file it shows this:

     * @cliArgs --board "/boards/TMDSCNCD280049C" --context "system" --product "C2000WARE@5.00.00.00"

    3. Yes only this project is showing the error. I am able to build i2c_ex1_loopback example successfully even without Board settings in syscfg properties.

       

    Also here I found that there is not debug variable {C2000WARE_ROOT} in my project, how do I create it?

    And I clicked on "This resolved my issue by mistake" How to set it back to unresolved?

  • Hello Siddarth,

    Thanks for the detailed analysis. 

    1. The .json file exists in the .meta folder under boards. 

    2.while opening the syscfg file that was created in C2000ware_5_00_00_00 version into C2000ware_5_04_00_00 and this error pops up.

    if you see the header of syscfg file it shows this:

     * @cliArgs --board "/boards/TMDSCNCD280049C" --context "system" --product "C2000WARE@5.00.00.00"

    3. Yes only this project is showing the error. I am able to build i2c_ex1_loopback example successfully even without Board settings in syscfg properties.

       

    Also here I found that there are no debug variables

    ${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST},

    {C2000WARE_ROOT}

    & ${COM_TI_C2000WARE_SYSCONFIG_MANIFEST}

    in my project, how do I create it?

    Not sure if this is the reason for error.

  • These build variables got added after including C2000ware and sysconfig products in General properties.         

    But the error still exists.

  • Hi, 

    Not sure why this error is reported only for this project.  Is it possible for you to share the project spec / project?

    Best Regards

    Siddharth