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.

CORTEX_M4_0: File Loader: Verification failed: Values at address 0x0000000000000000 do not match Please verify target memory and memory map.

Other Parts Discussed in Thread: EK-TM4C1294XL

大家好!我在尝试EK-TM4C1294XL开发板的flash功能,再把数据写入flash失败后,再也无法将任何代码烧入板子中,console中报错:CORTEX_M4_0: File Loader: Verification failed: Values at address 0x0000000000000000 do not match Please verify target memory and memory map. 我的代码极其简单:

void main()

{

SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |SYSCTL_OSC_MAIN |SYSCTL_USE_PLL |SYSCTL_CFG_VCO_480), 80000000);
int i =1;
if(FlashErase(DDSADDR))
{
     i=2;
}
if(FlashProgram(sin,DDSADDR,sizeof(sin)))
{
      i=3;
};
FlashProtectSet(DDSADDR,FlashReadOnly);
FlashProtectSave();
while(1);
return 0;

}

其中DDSADDR为0x004020。sin为正弦波表,数据类型和大小均符合标准,之前未加flashprotec之前写入flah成功。

请问现在我该怎么拯救我的板子?