Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430FG477 writing to internal flash only succeeds if I erased the whole segment immediately before

$
0
0
Generally speaking, in order to be able to write to a byte/word in Flash correctly, that byte/word must be 0xFF/0xFFFF before your write operation. If the Sector is erased, every byte/word becomes 0xFF/0xFFFF. But there is no need to be "immediate". They will stay to be that way up to 100 years unless you write something else in them.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>