Recently I am fighting with erasing flash problem. I have got program where I have to save some data in flash memory.
In new chip every block of flash is filled with 0xFF. After my first upload of data, they correctly change the flash memory. But if I would like to save new data (after reprogramming cpu) in the same place I can't do that.
Do you know how can I erase data (in some blocks) after programming?