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.
rt,我将程序烧写进F28069的FLASH中。单步执行发现:在执行InitADC()时,运行至DELAY_US(ADC_usDELAY)时程序会进入ILLEGAL ISR,请各位大神解答,附件为我的ccs程序,环境为ccs6.0.1
晕,你需要memcpy后再调用DELAY函数,把这个函数放在InitAdc之前。
InitAdc(); // For this example, init the ADC
AdcOffsetSelfCal();
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);
InitFlash();
// Step 5. User specific code, enable interrupts:
DELAY_US(5000);
Eric