when you make a driver it can work. the chip you mention has a block erase of 4 KB minimum. So that one is not really suited.
the best would be if you can erase 512 bytes.
when your chip has plenty of sram you could read 4K, erase it and then write the other blocks. but that will increase write cycles.
imo you can best use special memory that internally keeps track of write locations so the writing is distributed in order to prevent flash failing.
anyway, in the libs you find _DriveWriteSector and _DriveReadSector and these are the routines that need to be implemented.
also, there is no format command so you must be able to format the memory you use in a pc.
the xramdrive sample shows how that could be solved. _________________ Mark
There are some chips which might be interesting to you: XTSD01GLGEAG to XTSD08GLGEAG by a company named XTX. These are tiny flash chips with a (non-official) SD interface. They should work with the standard SD driver.
I didn't worked with them yet, but they popped up in my radar a few month ago...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum