Hi All,
I am now to here.
I got a problem with EEPROM of TM4C1233H6PZ.
The program sets are as below:
TM4C1233H6PZ initial.
EEPROM initial.
EEPROM Check 5th & 6th bytes
5th & 6th bytes=0xFF (first-time use?)
YES => EEPROM Set 1st byte = 0x00 / NO => next
EEPROM Check 1st byte
1st byte=0x01 (NOT first time use?)
YES => Main program & Normal operation / NO => EEPROM Set 1st byte = 0x01, Reset data in EEPROM, Write 5th & 6th bytes = 0x11, Erase external EEPROM(25LC512)
(When the TM4C1233H6PZ is initiated, the program will check the EEPROM 1st byte & 5th+6th bytes.
If the EEPROM 5th & 6th bytes are 0XFF, the program will clean 1st byte to 0x00.
Then program checks 1st byte.
If 1st byte is not 0x01, the program writes 0x01 to 1st byte & reset the entire EEPROM & write 0x11 to 5th & 6th bytes.)
My problem is this TM4C1233H6PZ is not first-time use, but somehow, it "Reset data in EEPROM, Write 5th & 6th bytes = 0x11, Erase external EEPROM(25LC512)".
This product has produced about 5000pcs and 2pcs had this problem from 2014~2016.
What will cause this kind of problem?
Hardware or software?
Thank you.