Other Parts Discussed in Thread: MSP430F5529
Hi,
i want write the some Value in the Flash Address range 0x000241f0
but the Value Not Write. is it Possible to write this Location?. Previously in 2X Series i am using Internal Flash to write Values.
my code as follows
char *Flash_ptr = (char *)0x000241f0; // Initialize Flash pointer
FCTL3 = FWKEY; // Clear Lock bit
FCTL1 = FWKEY+WRT; // Set WRT bit for write operation
for(i = 0; i < 256; i++)
{
*Flash_ptr++ = value++; // Write a word to flash
}
FCTL1 = FWKEY; // Clear WRT bit
FCTL3 = FWKEY+LOCK; // Set LOCK bit
