Can't write value at 0x7FC location again in ADuCM331.
At first, 0x7FC location can be written with 0x00000000, 0x00000000. And the value can be cheked by the debug.
And nexttime, I try to rewrite value 0xffffffff, 0x16400000 at 0x7FC location. but the value is still 0x00000000, 0x00000000.
abstracted code is like below. How can I fix this problem??
================
Code
================
const unsigned int iPage0CS[2] __at(0x07f8) = {0xffffffff,0x16400000};
~~~
FLASH_Word_Write(0x000007F8,0x00000000, 0x00000000);
~~~
FLASH_Word_Write(0x000007F8,0x00000000, 0x00000000);
FLASH_Word_Write(0x000007F8,0xffffffff, 0x16400000); <- this does not work.
~~~