Andre Abelian wrote: > From: Gerhard Fiedler=20 >=20 >> Andre Abelian wrote:=20 >>=20 >>> Finally I got sst 32mb flash working now my next thing to do is to >>> come up a saving and reading back method like how to keep track of >>> beginning of data and how to count total number etc. The length of >>> each data is 150 bytes and each time PIC will turn off its power. >>> this is similar to saving jpg images and reading back but in my >>> case I do not need to use FAT system. all I need is to save data >>> and keep counting and read back. delete part is going to delete all >>> together. my question is what's the best way of dealing with large >>> memory like this.=20 >>=20 >> Depends a lot on how many you want to store and how you need to >> access them -- sequentially? sequentially in chunks? random access >> by some key? random access by position? > > sequentially Then the only thing you have to do is store the index number of the next chunk to write (initially 0) in something persistent like an EEPROM -- right? Gerhard --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .