This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to reset 24c01

How to reset all the bytes of AT24C01 to 0xFF using assembler language?

Thank you for your help

Parents
  • How you do it is independent of the language. You've read the datasheet, right? So you iterate through each of the 128 byte addresses, writing 0xFF to each address. That, or you iterate through each of the 128/8 page addresses, writing 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF to each page.

Reply
  • How you do it is independent of the language. You've read the datasheet, right? So you iterate through each of the 128 byte addresses, writing 0xFF to each address. That, or you iterate through each of the 128/8 page addresses, writing 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF to each page.

Children