hello,expert:
We will involve the eeprom write operation in the brush write test, in the test more than 2000 times, produced a failure, we analyze is the eeprom write timeout caused by the watchdog reset。We suspect that the delay in setting the EEREADY flag bit is causing the timeout, is this a possibility and under what circumstances would it cause a timeout?
If you disable watchdog, does the app freeze at this point?
Since this phenomenon is difficult to reproduce, we are only speculating at this point. The flash was erased more than 2000 times before this phenomenon occurred, so any information that can help me please?
1) I would try to run the test with disabled watchdog.
2) Check whether watchdog interval is not too short to cover all flash worst case timing (longest erase time, longest program time and so, all defined in DS).