How to read & write to a 25aa1024 (1 Mbit SPI Bus Serial EEPROM) via 16F88


Results 1 to 37 of 37

Threaded View

  1. #36
    Join Date
    Mar 2010
    Location
    Minnesota, USA
    Posts
    41

    Default Mackrackit your code works :D

    Well I was able to get your code to work. I noticed when I was reading before using the I2CREAD I was getting all 255's and now I am reading using your code and still getting all 255's where ther is no data written so that is telling me that I was getting the I2CREAD to work before. I am now reading through all memory locations looking for the data I wrote to it before using the I2CWRITE command to try and figure out where it wrote it and why. Once this finishes I will post my findings and thoughts.

    Thanks again for the code.

    PS:
    I have not tried Dave's code yet

    UPDATE:
    I found the written data from my old code in Block 1 of the EEPROM. I am going to go back to the old code I had and try and make it work. I will post my findings
    Last edited by wolwil; - 25th April 2010 at 23:32.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts