D desmondlai New Member Apr 24, 2010 #1 ist possible to reset eeprom between my program? im using hitech-C plz give some guide on it !!!! TQ
P Pommie Well-Known Member Most Helpful Member Apr 25, 2010 #2 You can set it all back to 0xff at reset. Mike.
D desmondlai New Member Apr 25, 2010 #3 but when i reset my program will start once again.. now i facing not enough eeprom while i running my program, my idea was reset the eeprom bewteen my program running and continue the following program..
but when i reset my program will start once again.. now i facing not enough eeprom while i running my program, my idea was reset the eeprom bewteen my program running and continue the following program..
Nigel Goodwin Super Moderator Most Helpful Member Apr 25, 2010 #4 If you want to reset the data EEPROM at reset, then simply write the code to do it at the beginning of your program.
If you want to reset the data EEPROM at reset, then simply write the code to do it at the beginning of your program.
Nigel Goodwin Super Moderator Most Helpful Member Apr 25, 2010 #6 desmondlai said: do have any example of the reset data eeprom code in C ??? Click to expand... I don't do C, but you just need a loop to write 0xFF to all locations.
desmondlai said: do have any example of the reset data eeprom code in C ??? Click to expand... I don't do C, but you just need a loop to write 0xFF to all locations.
Nigel Goodwin Super Moderator Most Helpful Member Apr 26, 2010 #8 desmondlai said: u mean do a loop to write all address to 0xff? Click to expand... Yes, just fill all locations with 0xFF.
desmondlai said: u mean do a loop to write all address to 0xff? Click to expand... Yes, just fill all locations with 0xFF.