Skip to main content
nicolas-jb
Associate
June 12, 2007
Question

Overwriting data in the internal flash

  • June 12, 2007
  • 2 replies
  • 829 views
Posted on June 12, 2007 at 12:54

Overwriting data in the internal flash

This topic has been closed for replies.

2 replies

nicolas-jb
Associate
June 12, 2007
Posted on June 12, 2007 at 12:07

Hi

I work on the ST10F273M

I would like to know if it's possible to overwrite data in the internal flash (without writing '1' in place of '0 ')?

for exemple, if there is this data ''0xAAAAFFFF'' written in the internal flash, can i overwrite it with the data ''0xAAAA5555'' ?

thank you

Nicolas

najoua
Associate
June 12, 2007
Posted on June 12, 2007 at 12:54

Hi nico456,

Yes, it is possible to overwrite data in the internal flash.

The principle is to replace ones with zeros. For example, 0xAAAAFFFF can be overwritten by 0xAAAA5555, 0xAAAA4444, 0x88883333 etc...

0xAAAAFFFF can not be overwritten for example by 0xBBBBFFFF. To write 0xBBBBFFFF, the location must be erased before (becomes 0xFFFFFFFF).

Hope this was clear,

Regards,

Najoua.