2021-11-09 12:12 AM
Hello,
I am an auto parts developer.
I am using the M24512-A125 product.
I am writing 1 page of address 128 bytes.
I am writing the same data by 3 bytes.
I am writing 42 bytes of different data.
I am writing 42 bytes * 3 bytes = 128 bytes.
I am using Nbytes write.
I am worried that 1 byte will not be written 0.6 million cycles because of the ECC function.
I don't want to use the ECC function.
I want to turn off the ECC function.
I know that 4 bytes is 0.6 million cycles.
I checked the M24512-A125 datasheet section 5.2 and the AN4434 datasheet.
I don't want the ECC function to reduce one byte write cycle.
please tell me how
Additionally, if all 128 bytes of different data are written on one page, can you guarantee 0.6 million cycles of one byte?
Please see the picture below. Is my understanding correct?
If you can't turn off the ECC function, can you think of it like the picture below?
Please, reply.
thanks,
2021-11-09 12:35 AM
Hello,
ECC feature is a native function in the eeprom and it's not possible to switch it OFF.
In case of write of 3 bytes, i recommend you to write this 3 bytes inside the same ECC word starting at the address 4N,4N+1 etc (i.e modulo 4, with N=integer) .
It is the only way to preserve the last byte of the ECC word.
Last point: if you write the 3 bytes in one shot (1 write) as per my recommendation , you can write up to 4Mcycles(@25°C) each bytes.
BR
Pierre.