Tool/software: Code Composer Studio
I have falied to test flash program and now I can't download any code to the launchpad with the error "CORTEX_M4_0: File Loader: Verification failed: Values at address 0x0000000000000000 do not match Please verify target memory and memory map.".
my codes is as follow:
int main(void) {
SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |SYSCTL_OSC_MAIN |SYSCTL_USE_PLL |SYSCTL_CFG_VCO_480), 80000000);
int i =1;
FlashErase(DDSADDR);
FlashProgram(sin,DDSADDR,sizeof(sin));
FlashProtectSet(DDSADDR,FlashReadOnly);
FlashProtectSave();
while(1);
return 0;
}
Where DDSADDR equal 0x004020 means the address I want to write and the sin is a suitable array.
What the problem actually happened? What can I do to solve this problem?