Author Topic: what you suggest for managing eeprom space to store all kind of data?  (Read 893 times)

0 Members and 1 Guest are viewing this topic.

Offline navidrctTopic starter

  • Regular Contributor
  • *
  • Posts: 117
  • Country: 00
hi
i have 64KB eeprom
i want to store 20 user info on it and what each one of them does and save some information in it like saving some cars with their id and name and say this car is for who  and so on .
do u have any suggestion for managing eeprom space for a complicate project that i want store allot of data?
i can write to eeprom 32 Byte per write
thanks
 

Offline spudboy488

  • Regular Contributor
  • *
  • Posts: 136
Re: what you suggest for managing eeprom space to store all kind of data?
« Reply #1 on: September 20, 2017, 11:30:54 am »
It will depend on how much information each of the 20 slots will need to store. You could just divide the 64KB by 20 and each user gets that chunk. The problem is that you'd have to keep track of writing across pages. If you write a single byte at a time (rather than 32 bytes at a time), that wouldn't be an issue but it will take longer.

You can divide it up so that each chunk starts on a page boundary but you may end having some unused apace in the EEPROM and not have enough room in the user chunk to store the data.

Share with us how much space each of the 20 users needs and we can come up with a better solution.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf