After after writing to the same flash location more than once, when I perform a read from that location I read back incorrect values.
Why is that happening?
The ADuCM320 only supports writing once to an erased flash location. Subsequent writes will not work.
If further writes to the same location are required, the entire flash page must be erased and then the flash location can be written to again.
Retrieving data ...