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.

TMS320F28335仿真程序时报错cannot load from non-primitive location

比如如下程序:

void main(void)
{InitSysCtrl();

DINT;

InitPieCtrl();

// Disable CPU interrupts and clear all CPU interrupt flags:
IER = 0x0000;
IFR = 0x0000;

InitPieVectTable();
configtestled();

LED1=0;
DELAY_US(10);
LED2=0;
DELAY_US(10);
LED3=0;
DELAY_US(10);
LED4=0;
DELAY_US(10);

while(1)
{
LED1=~LED1;
DELAY_US(500000);
LED2=~LED2;
DELAY_US(500000);
LED3=~LED3;
DELAY_US(500000);
LED4=~LED4;
DELAY_US(500000);
LED5=~LED5;
DELAY_US(500000);
LED6=~LED6;
DELAY_US(500000);

}
}

会出现如下报错