Paul Porter

Cumulative Programming of FLASH

Discussion created by Paul Porter on Apr 12, 2007
Latest reply on Apr 12, 2007 by Alban Rampon
I am busy writing Flash Routines to Program the Flash on a S12xDP512

I have seen the big CAUTION in the manual about Cumulative programming of bits (even though it works) and have some questions around this.
How exactly does one define Cumulative programming of bits?
I know it as programming a byte of say 0xF0, to 0xA0. What about programming 0xA0 to 0xA0? The reason I ask this is because of trying to program a single Byte.
If word has a value of say 0xFFAA, and you want to program 0xAAAA, does this mean you have to erase the whole sector just because I want to  program AA over AA?

I know it works, but the big CAUTION in the data book leave an unsettled feeling in my Tummy.