I am wanting to add some readable/writeable memory to my ATmega8/attiny project where I can store data, recall the stored data, then overwrite the stored data. The stored data must be able to be retrieved even after a power loss. The data types I am wanting to store are character arrays (strings) that are stored inside of a type of lookup table (kind of like a hash in which key:value pairs are used).
I know that flash memory is used (or EEPROM), but I am not exactly sure of a part number to be looking for that is compatible with a ATmega8/attiny nor which protocols/pins it uses on the IC.
Likewise how does one normally interact with an external storage IC? Are there specific protocols that are used to do the task? And how about specific libraries to interact with these pieces of hardware.
Over all I am wanting to know:
- What are some part numbers for flash/eeprom storage devices compatible with an ATmega8/attiny
- How does these external storage ICs normally hook up/interact with eachother
- What protocols do they use for communication
- If there are libraries to simplify communications between ICs