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.

TMS320F280025: Instructions not permitted in structure/Union definitions

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE-DIGITALPOWER-SDK

Hi Champs,

Here are customer's urgently issue as below:

Could you give me some suggestion/Dir?

#1.Customer are porting the code from F2802x to F28002x, they encounter the below figure showed compiler error. 

And the console as print the follow info:

"C:\Users\ADMINI~1\AppData\Local\Temp\{E189B8AE-2B98-4C27-864B-23E4A7442F08}", ERROR!  

at line 12810: [E0800] Instructions not permitted in structure/union definitions

              ERROR                 .bits 1              ; bit field, 1 bits, 0 bit offset

#2, All Union-related definitions are not used in the R_Isr function, why is there an error related to illegal definition?

  • Hi,

    Please reference the latest version of the Vienna Rectifier supported in C2000Ware-DigitalPower-SDK. You can use the F28004x as a starting place to port to the F28002x. This version of the software is the latest and most up-to-date.

    Regards,

    Ozino