Thank you for your help but this time I could solve the problem:
I was using a routine that displays at the begining of the program the contents of the EEPROM at location 10 to 21 using an index var (hitnr).
Then later in the program I was writing to EEPROM using the index var BUT i forgot to reset the index var to its initial value after using it at the begining of my program so I was thinking I was writing to location 10 while the index var was already at 12. So when restarting the pic, I was displaying values of locations 10 and 11, that were still at 0 so I thought EEPROM write failed somehow. I was at the wrong memory offset...
Stupid error, I should get some sleep
Have a nice day.
ME TOO. I was close.Stupid error, I should get some sleep
Dave
Always wear safety glasses while programming.
Bookmarks