Skip to main content
VYoun
Associate III
Jul 3, 2020 12:06 PM UTC
Question

AT24CM02 EEPROM, data that is read is different from data that is written

Hello guys,

I am trying to integrate and EEPROM into my system (based on STM32H7).

I managed to write a struct into the EEPROM. However, the data that I read is different from the data that I have written.

Is this a known problem with EEPROMs?

Any help is greatly appreciated.

Thank you and best regards,

Vouria

This topic has been closed for replies.

2 replies

TDK
Jul 3, 2020 12:52 PM UTC

Reading and writing to EEPROMs should work correctly. You don't give many details, so it's hard to guess at what may be wrong.

"If you feel a post has answered your question, please click ""Accept as Solution""."
VYoun
VYounAuthor
Associate III
Jul 3, 2020 12:56 PM UTC

Hello,

I was writing two functions to read and write to EEPROM. I was giving a wrong address in the functions.

You are right the EEPROM works fine, thank you for your help.