Skip to main content
VYoun
Associate III
July 3, 2020
Question

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

  • July 3, 2020
  • 1 reply
  • 626 views

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.

1 reply

TDK
Super User
July 3, 2020

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
July 3, 2020

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.