Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TMS320F28035: XDAIS v 0.0 to solve in CCs

Part Number: TMS320F28035
Other Parts Discussed in Thread: SYSBIOS, C2000WARE, CONTROLSUITE, ENERGIA

Hi team,

When attempts were made to execute the inbuilt example program, encountered an error 

**** Build Finished ****
Buildfile generation error occurred..
Product XDAIS v0.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..

However, as mentioned in multiple forum, XDAIS was disabled/removed from Project Properties 

Post that I'm encountering this error

**** Build of configuration Debug for project Example_2803xAdcTempSensor ****

"C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k all

gmake: Nothing to be done for 'all'.

Somebody please help me with this

  • Puneeth,

    Which example you are running? Is this SysBios based example?

    Regards, Santosh

  • Hi Santhosh,

    I'm running basic programs such as ADC, ADC tempconv, PWM these sort and the error is same in all

  • Hi Puneeth,

    I am able to import and run the example without any issue.

    Which version of C2000Ware SDK you are using? I will recommend to get latest C2000Ware, and they the examples. You should not need XDAIS. It does not have any library with xdais interface.

    Regards, Santosh

  • Hi Santhosh,

    I'm using C2000Ware_4_02_00_00

  • Hi santhosh,
    This is another set of error which I'm getting I feel its creating linking issue or something. I even tried uninstalling and installing the whole software again.


    **** Build of configuration Debug for project Example_2803xEPwmDeadBand ****

    "C:\\ti\\ccs1100\\ccs\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/source/DSP2803x_CpuTimers.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" --silicon_version=28 -g --define=_DEBUG --define=LARGE_MODEL --preinclude="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include/DSP2803x_Examples.h" --preinclude="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include/DSP2803x_Device.h" --include_path="C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="/packages/ti/xdais" --include_path="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/include" --quiet --diag_warning=225 --issue_remarks --large_memory_model --unified_memory --asm_directory="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_examples_ccsv4/epwm_deadband/Debug" --preproc_with_compile --preproc_dependency="DSP2803x_CpuTimers.d_raw" "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/source/DSP2803x_CpuTimers.c"

    >> Compilation failure
    subdir_rules.mk:16: recipe for target 'DSP2803x_CpuTimers.obj' failed
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 25: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 26: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 28: remark: zero used for undefined preprocessing identifier "DSP28_ECANA"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 39: remark: zero used for undefined preprocessing identifier "DSP28_COMP2"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 42: remark: zero used for undefined preprocessing identifier "DSP28_COMP2"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 50: remark: zero used for undefined preprocessing identifier "DSP28_EPWM4"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 53: remark: zero used for undefined preprocessing identifier "DSP28_EPWM5"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 56: remark: zero used for undefined preprocessing identifier "DSP28_EPWM6"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 59: remark: zero used for undefined preprocessing identifier "DSP28_EPWM7"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 62: remark: zero used for undefined preprocessing identifier "DSP28_EQEP1"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 69: remark: zero used for undefined preprocessing identifier "DSP28_LINA"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 83: remark: zero used for undefined preprocessing identifier "DSP28_SPIB"
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 89: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 89: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 92: error: identifier "Uint32" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 96: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 102: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 102: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 103: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 103: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 104: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 105: error: identifier "int16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 109: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 116: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 116: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 116: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 123: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 124: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_GlobalPrototypes.h", line 125: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 92: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 102: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 103: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 104: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 105: error: identifier "Uint16" is undefined
    "C:\ti\controlSUITE\device_support\f2803x\v121\DSP2803x_headers\include\DSP2803x_I2C_defines.h", line 106: error: identifier "Uint16" is undefined
    25 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/source/DSP2803x_CpuTimers.c".
    gmake: *** [DSP2803x_CpuTimers.obj] Error 1
    Building file: "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/source/DSP2803x_DefaultIsr.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" --silicon_version=28 -g --define=_DEBUG --define=LARGE_MODEL --preinclude="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include/DSP2803x_Examples.h" --preinclude="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include/DSP2803x_Device.h" --include_path="C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --include_path="/packages/ti/xdais" --include_path="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/include" --quiet --diag_warning=225 --issue_remarks --large_memory_model --unified_memory --asm_directory="C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_examples_ccsv4/epwm_deadband/Debug" --preproc_with_compile --preproc_dependency="DSP2803x_DefaultIsr.d_raw" "C:/ti/controlSUITE/device_support/f2803x/v121/DSP2803x_common/source/DSP2803x_DefaultIsr.c"

  • Puneeth,

    Looks like your setup is corrupted. I am using the same C2000Ware version.

    Let's make sure you have:

    If you have same version, uninstall it,  delete the folder, and install it again.

    The compiler version 22.6.0_LTS is installed automatically as part of CCS, so no need to download/install separately.

    XDAIS package is not needed to run the example.

    Let's do these steps. This should resolve your project import or build error issue.

    Please note : controlSUITE is not supported and maintained anymore. You should use C2000Ware. Do not mix the two projects.

    Regards, Santosh 

  • okay santhosh I'll follow this steps and update you 

    Thanks

  • Hi Santhosh,

    I've CCS12.1 now with C2000ware.

    Yes I could  import the examples successfully Thanks for that.

    But, I bit modified very little, and made a different folder of the project.

    This is the include options that I've included

    ${PROJECT_ROOT}
    C:\ti\c2000\C2000Ware_4_02_00_00\libraries\math\IQmath\c28\include
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\headers\include
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\common\include
    ${CG_TOOL_ROOT}/include

    But still I'm facing the error


    **** Build of configuration Debug for project try_1_7_1_23 ****

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

    Building file: "../main.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/Users/Dr.PSB/workspace_v12/try_1_7_1_23" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/common/include" --include_path="C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
    Finished building: "../main.c"

    Building target: "try_1_7_1_23.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"try_1_7_1_23.map" --stack_size=0x300 --warn_sections -i"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="try_1_7_1_23_linkInfo.xml" --rom_model -o "try_1_7_1_23.out" "./main.obj" "../28035_RAM_lnk.cmd" -llibc.a
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    _EPwm1Regs ./main.obj
    _InitEPwm1Gpio ./main.obj
    _InitPieCtrl ./main.obj
    _InitPieVectTable ./main.obj
    _InitSysCtrl ./main.obj
    _PieCtrlRegs ./main.obj
    _PieVectTable ./main.obj
    _SysCtrlRegs ./main.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "try_1_7_1_23.out" not built

    >> Compilation failure
    makefile:141: recipe for target 'try_1_7_1_23.out' failed
    gmake[1]: *** [try_1_7_1_23.out] Error 1
    makefile:137: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

    Last question, do we have alternative for CC Studio and does energia support C2000 microcontrollers.

  • What did you modify? You should be able to compare from original project and how it affects the path. These registers. are defined in DSP2803x_GlobalVariableDefs.c. Make sure it is included in the project.

    Regards, Santosh

  • In "Example_2803xEPWMDeadBand" it was meant to generate 3 PWMs I modified it to generate only one thats it. Have included headers in program

    As per previous suggestion, included DSP2803x_GlobalVariableDefs.c still no change

    ${PROJECT_ROOT}
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\headers\source
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\headers\source\DSP2803x_GlobalVariableDefs.c
    C:\ti\c2000\C2000Ware_4_02_00_00\libraries\math\IQmath\c28\include
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\headers\include
    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\common\include
    ${CG_TOOL_ROOT}/include

    Still the same error


    **** Build of configuration Debug for project try_1_7_1_23 ****

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

    Building file: "../main.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/Users/Dr.PSB/workspace_v12/try_1_7_1_23" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/headers/source" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/headers/source/DSP2803x_GlobalVariableDefs.c" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2803x/common/include" --include_path="C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
    Finished building: "../main.c"

    Building target: "try_1_7_1_23.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"try_1_7_1_23.map" --stack_size=0x300 --warn_sections -i"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/ccs1210/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="try_1_7_1_23_linkInfo.xml" --rom_model -o "try_1_7_1_23.out" "./main.obj" "../28035_RAM_lnk.cmd" -llibc.a
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    _EPwm1Regs ./main.obj
    _InitEPwm1Gpio ./main.obj
    _InitPieCtrl ./main.obj
    _InitPieVectTable ./main.obj
    _InitSysCtrl ./main.obj
    _PieCtrlRegs ./main.obj
    _PieVectTable ./main.obj
    _SysCtrlRegs ./main.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "try_1_7_1_23.out" not built

    >> Compilation failure
    makefile:141: recipe for target 'try_1_7_1_23.out' failed
    gmake[1]: *** [try_1_7_1_23.out] Error 1
    makefile:137: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

    This is the programme

    #include "DSP28x_Project.h"

    void InitEPwm1Example(void);

    __interrupt void epwm1_isr(void);

    Uint32 EPwm1TimerIntCount;
    Uint16 EPwm1_DB_Direction;

    #define EPWM1_MAX_DB 0x03FF
    #define EPWM1_MIN_DB 0

    #define DB_UP 1
    #define DB_DOWN 0

    void main(void)
    {
    InitSysCtrl();
    InitEPwm1Gpio();
    DINT;
    InitPieCtrl();
    IER = 0x0000;
    IFR = 0x0000;
    InitPieVectTable();
    EALLOW;
    PieVectTable.EPWM1_INT = &epwm1_isr;
    EDIS;

    EALLOW;
    SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 0;
    EDIS;

    InitEPwm1Example();
    EALLOW;
    SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 1;
    EDIS;

    EPwm1TimerIntCount = 0;
    IER |= M_INT3;

    PieCtrlRegs.PIEIER3.bit.INTx1 = 1;
    EINT;
    ERTM;

    for(;;)
    {
    __asm(" NOP");
    }
    }

    __interrupt void
    epwm1_isr(void)
    {
    if(EPwm1_DB_Direction == DB_UP)
    {
    if(EPwm1Regs.DBFED < EPWM1_MAX_DB)
    {
    EPwm1Regs.DBFED++;
    EPwm1Regs.DBRED++;
    }
    else
    {
    EPwm1_DB_Direction = DB_DOWN;
    EPwm1Regs.DBFED--;
    EPwm1Regs.DBRED--;
    }
    }
    else
    {
    if(EPwm1Regs.DBFED == EPWM1_MIN_DB)
    {
    EPwm1_DB_Direction = DB_UP;
    EPwm1Regs.DBFED++;
    EPwm1Regs.DBRED++;
    }
    else
    {
    EPwm1Regs.DBFED--;
    EPwm1Regs.DBRED--;
    }
    }

    EPwm1TimerIntCount++;

    EPwm1Regs.ETCLR.bit.INT = 1;

    PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
    }

    void
    InitEPwm1Example()
    {
    EPwm1Regs.TBPRD = 6000; // Set timer period
    EPwm1Regs.TBPHS.half.TBPHS = 0x0000; // Phase is 0
    EPwm1Regs.TBCTR = 0x0000; // Clear counter

    EPwm1Regs.TBCTL.bit.CTRMODE = TB_COUNT_UPDOWN; // Count up
    EPwm1Regs.TBCTL.bit.PHSEN = TB_DISABLE; // Disable phase loading
    EPwm1Regs.TBCTL.bit.HSPCLKDIV = TB_DIV4; // Clock ratio to SYSCLKOUT
    EPwm1Regs.TBCTL.bit.CLKDIV = TB_DIV4;

    EPwm1Regs.CMPCTL.bit.SHDWAMODE = CC_SHADOW; // Load registers every ZERO
    EPwm1Regs.CMPCTL.bit.SHDWBMODE = CC_SHADOW;
    EPwm1Regs.CMPCTL.bit.LOADAMODE = CC_CTR_ZERO;
    EPwm1Regs.CMPCTL.bit.LOADBMODE = CC_CTR_ZERO;

    EPwm1Regs.CMPA.half.CMPA = 3000;

    EPwm1Regs.AQCTLA.bit.CAU = AQ_SET; // Set PWM1A on CAU
    EPwm1Regs.AQCTLA.bit.CAD = AQ_CLEAR; // Clear PWM1A on CAD

    EPwm1Regs.AQCTLB.bit.CAU = AQ_CLEAR; // Clear PWM1B on CAU
    EPwm1Regs.AQCTLB.bit.CAD = AQ_SET; // Set PWM1B on CAD

    EPwm1Regs.DBCTL.bit.OUT_MODE = DB_FULL_ENABLE;
    EPwm1Regs.DBCTL.bit.POLSEL = DB_ACTV_LO;
    EPwm1Regs.DBCTL.bit.IN_MODE = DBA_ALL;
    EPwm1Regs.DBRED = EPWM1_MIN_DB;
    EPwm1Regs.DBFED = EPWM1_MIN_DB;
    EPwm1_DB_Direction = DB_UP;

    EPwm1Regs.ETSEL.bit.INTSEL = ET_CTR_ZERO; // Select INT on Zero event
    EPwm1Regs.ETSEL.bit.INTEN = 1; // Enable INT
    EPwm1Regs.ETPS.bit.INTPRD = ET_3RD; // Generate INT on 3rd event
    }

     

  • undefined first referenced
    symbol in file
    --------- ----------------
    _EPwm1Regs ./main.obj
    _InitEPwm1Gpio ./main.obj
    _InitPieCtrl ./main.obj
    _InitPieVectTable ./main.obj
    _InitSysCtrl ./main.obj
    _PieCtrlRegs ./main.obj
    _PieVectTable ./main.obj
    _SysCtrlRegs ./main.obj

    These registers. are defined in DSP2803x_GlobalVariableDefs.c. Make sure it is included in the project.

    Looks like you are removing this file from the project.

  • This is the address of DSP2803x_GlobalVariableDefs.c.

    C:\ti\c2000\C2000Ware_4_02_00_00\device_support\f2803x\headers\source

    this is included in the project and still the same error

  • Hi santhosh,

    I copy pasted all the files from example to the new project it is building now 

    Thanks