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-F28379D: CCS version 12.5 Linking error

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

When I tried to build a project with the CCS version, I got these linking errors:

undefined               first referenced
symbol                            in file
---------                    ----------------
_EPwm1Regs ./CurrentControl_debug_comm.obj
_EPwm2Regs ./CurrentControl_debug_comm.obj
_EPwm3Regs ./CurrentControl_debug_comm.obj
_EPwm4Regs ./CurrentControl_debug_comm.obj
_EPwm5Regs ./CurrentControl_debug_comm.obj
_EPwm6Regs ./CurrentControl_debug_comm.obj
_EPwm7Regs ./CurrentControl_debug_comm.obj
_EPwm8Regs ./CurrentControl_debug_comm.obj

Would you please help me regarding how to rectify these errors?

The project was successfully built by CCS version 10.1.1 (about 3 years ago). 

  • It's possible your include paths got corrupted when migrating CCS versions. If you share your project I can test this on my side.

  • It may also help to import an empty example from C2000Ware and then add your source files to that and see if it builds

  • The link is for the CCS version 12.5 project. 

    CurrentControl_debug_COM2.zip

    In addition, I put more materials which might be necessary. 

    1. Pinmap

    ADC A3 J3-26 – Va 

    ADC A4 J7-69 – Vb 

    ADC A5 J7-66 - Vc

    ADC B3 J3-25 – Ia 

    ADC B4 J7-68 – Ib 

    ADC B5 J7-65 – Ic 

    ePWM1A (Mux value 1) J4-40 

    ePWM1B (Mux value 1) J4-39 

    ePWM2A (Mux value 1) J4-38 

    ePWM2B (Mux value 1) J4-37 

    ePWM3A (Mux value 1) J4-36 

    ePWM3B (Mux value 1) J4-35 

    2. Gain/offset matching

    The attached Maple worksheet shows the necessary calculation to map the input range of the launchpad ADC to an external signal sources when they have different input range and offset. 

    GTAO_gain_offset_general.mw

    3. Simulation case

    For those really interested, the attached RTDS simulation is a paring simulation case, which acts as the power stack. 

    3PhaseCurrentControl_mod1g_ucm.rtfx

  • Hello,

    I can't seem to download your project for some reason. Could you try importing an empty example from C2000Ware, add your source files to it and see if that builds successfully?

    Thank you,

    Luke