I have done a raspberry pi code transfer a data and receive in my file, but i need use to EEPROM that i have not any experience about this. if possible please help.
Thank you.
I have done a raspberry pi code transfer a data and receive in my file, but i need use to EEPROM that i have not any experience about this. if possible please help.
Thank you.
Question
I have binary/text data in a text file.
How do I copy the data to an EEPROM?
Answer
I would recommend the 24C256 EEPROM module. I once played with a similar through hole chip 25LC256 but the wiring and soldering by hand is quite messy. For newbies, I would recommend the dirt cheap modules.
You can google sample programs. See YouTube in references below. I once wrote one myself in Rpi python and found it tedious, but then learning what is going on inside the little chip is itself a joy.
References
MicroShip I2C-Compatible (2-Wire) Serial EEPROM 256‑Kbit (32,768 x 8) Datasheet
Raspberry Pi I2C Python Initial Testing with I2C-Tools - 3,929 views
Raspberry Pi Read/Write data to EEPROM through I2C - 28,482 views
Update 2019may11hkt1109
FRAM Module
The OP's question is on EEPROM. However, if he is doing R&D, small memory size, money is no concern, I think he should consider FRAM.
AliExpress WaveShare I2C FM24CLXX FRAM module - US$12
Ferroelectric RAM (FeRAM, F-RAM or FRAM) is a random-access memory similar in construction to DRAM but using a ferroelectric layer instead of a dielectric layer to achieve non-volatility. FeRAM is one of a growing number of alternative non-volatile random-access memory technologies that offer the same functionality as flash memory.
FeRAM's advantages over Flash include: lower power usage, faster write performance and a much greater maximum read/write endurance (about 1010 to 1014 cycles). FeRAMs have data retention times of more than 10 years at +85 °C (up to many decades at lower temperatures). Market disadvantages of FeRAM are much lower storage densities than flash devices, storage capacity limitations and higher cost. Like DRAM, FeRAM read process is destructive, necessitating a write-after-read architecture.