Other Parts Discussed in Thread: MSP430FE4252
Hi,
I am using CCS ver. 5.2.1.00018 and I have been trying to modify the watthour meter demo (slaa203c) using the MSP430FE4252.
I had no problems programming the chip but now I get this error:
MSP430: File Loader: Data verification failed at address 0x00001080 Please verify target memory and memory map.
MSP430: GEL: File: C:\Users\MogajaneK\workspace_v5_2\slaa23c\Release\slaa23c.out: a data verification error occurred, file load failed.
I have tried using this code to try and erase that specified address using this code:
volatile int *CSM=(volatile int *)0x00001080;
volatile int *PWL=(volatile int *)0x003F7FF8;
volatile int tmp;
int I;
main()
{for(I=0;I<8;I++) tmp=*PWL++;
asm("EALLOW");
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
*CSM++=0xFFFF;
asm("EDIS");
}
which compiles and runs on the chip but as for my project code; I get that error.
Now I do not know what I was trying to do but isnt there a way to disassemble/debug code without writing to the chip? Maybe it can help me to see what is "written" to the ram
Thanks in advanced.