I hope this is in the correct forum. If not, mods please move it and my apologies.
OK... we know that EEPROM and FLASH memory must be erased prior to writing (that is, bytes or blocks need to first be erased so that all bits are 1, resulting in lots of 0xFF data).
But, a new SSD if not formatted is filled with 0x00 data (i.e. reading it returns all zeroes).
So, my question(s) are:
* Is the data which is read or written INVERTED (that is, would a byte of data 0x55 be stored in flash as 0xAA)?
* If NO, then shouldn't an "erased" drive be filled with 0xFF instead of 0x00?
* Since an erased MCU such as an AVR reads back as all 0xFF, can I assume that data inversion is NOT used here?
(by the way, my "goal" with this is to write a "program more zeroes" algorithm to make flash and/or eeprom cells last a bit longer). It's nothing "important", just a learning experiment.
Any info about this will be appreciated.