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.

Converting the HVPSFB EVM to F28069 MCU

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I'm converting the HVPSFB EVM software package to the F28069 MCU on a new PCB, and get two linker error that I find difficult to solve:

1. unresolved symbol _Comp, first referenced in ./DAC_Cnf.obj HVPSFB_PCMC

2. unresolved symbol _ePWM, first referenced in ./PWM_PSFB_PCMC_Cnf.obj HVPSFB_PCMC

I'm not able to determine in which file these structs are defined:

**

// Used to indirectly access all Comparator modules

volatile struct COMP_REGS *Comp[] = ..........

**

// Used to indirectly access all EPWM modules

volatile struct EPWM_REGS *ePWM[] = ........

**

 

Best regards

Consul

  • Hello Consul!

    I'm not sure but perhaps you need to define within your main file:

    Variant 1

    volatile struct EPWM_REGS *ePWM[8] = {&EPwm1Regs, &EPwm2Regs, &EPwm3Regs, &EPwm4Regs,

    &EPwm5Regs, &EPwm6Regs, &EPwm7Regs, &EPwm8Regs};

    volatile struct COMP_REGS *Comp[3] = {&Comp1Regs, &Comp2Regs, &Comp3Regs};

    Variant 2

    extern volatile struct EPWM_REGS *ePWM[];

    extern volatile struct COMP_REGS *Comp[];

    Also perhaps you need to include to project this library: 

    ti\controlSUITE\device_support\f2806x\v136\MWare\rts2800_bl\Release\rts2800_bl.lib

     Regards,

    Igor