cancel
Showing results for 
Search instead for 
Did you mean: 

FLASH_ProgramWord not working / Memory Protection

bengriffiths9
Associate II
Posted on September 01, 2010 at 18:22

FLASH_ProgramWord not working / Memory Protection

5 REPLIES 5
stforum2
Associate II
Posted on May 17, 2011 at 14:05

You have to unlock the flash first.

damh
Associate II
Posted on May 17, 2011 at 14:05

You should be very careful with rewriting addresses. After erasing you can write every address [n*2] with 16 bit data exactly one time.

There are only two exceptions:

- rewriting with the same value is ignored

- rewriting with 0x0000 is always possible

bengriffiths9
Associate II
Posted on May 17, 2011 at 14:05

Cheers

Linda
Associate II
Posted on March 08, 2015 at 13:09

Why only can rewrite once?

Thanks

Posted on March 08, 2015 at 14:54

Why only can rewrite once?

Because that's how flash memory works, it takes a long time to write or erase, because it's changing a charge state of a cell. You erase it to ONE state, and you can change it to a ZERO state once, then you need to erase it again.

http://computer.howstuffworks.com/flash-memory.htm

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..