When I write to Eeprom100 times,every time write 1 byte.
There are about 10 times can not write into,
Why did this happen?
I think, you need to add a delay after one write cycle. Because most of the eeprom takes several mS to write data in to the memory.
I have add delay ,10MS,20MS,200MS ,2000MS,all try ,but no ok.
Would you please share your driver code for EEPROM writing ? I'd like to have a review on it. Thanks for your patience!!
I do not know whether you have solved the problem.
If you are not,
check, whether you have correctly initialize/configure the delay function of your processor.
Check whether there are any noice are in the communication lines.
Are you using correct speed of I2C of the external EEPROM.
Check the writing protocol with the EEPROM datasheet.
Thanks for all answer!
I did not solve the problem,
I use the Flash of MCU to save data.
Retrieving data ...