F28069:将SRAM模式下调试好的程序搬迁到FLASH中,程序运行到”InitAdc()“函数中的”(*Device_cal)()“语句时就跑飞了。请问这是什么原因造成的?已在主程序中添加了如下的两句话:
// Step 5. User specific code, enable interrupts::
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
InitFlash();
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.
F28069:将SRAM模式下调试好的程序搬迁到FLASH中,程序运行到”InitAdc()“函数中的”(*Device_cal)()“语句时就跑飞了。请问这是什么原因造成的?已在主程序中添加了如下的两句话:
// Step 5. User specific code, enable interrupts::
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
InitFlash();