Hi there,
I've got a little question. Im using the BM29F400 Flash Memory EEPROM by BRIGHT Microelectronics Inc with a C164CI microcontroller (Infineon). After the command sequence for erasing a sector the following code is executed:
check_erase: MOV R3,[R2] AND R3,#0080H CMP R3,#0080H JMPR CC_NZ,check_erase JMPR CC_UC,read_mode_enable
The register R2 contains the start adress of the erased sector.
I guess that means that the first Byte of the erased sector must contain
10000000B. Is that right? Does only the first Byte contain this data when the sector is erased or does every Byte contain 80H? And if this is true, why is it? I thought that in an erased state every bit is high (or low). But this doesn't really make sense to me. So please correct me if I'm wrong, because I'm just beginning handling that stuff.Thanks for your help.
Thomas