> If you hammer an SD card writing a byte at a time (okay a line at a time) > then you kill the writes. Is there really a problem with writing a byte or line at a time? It seems the issue is the number of times a sector gets erased. On several systems I've designed, I log to SPI flash. I have a function prototyped like this" UINT32 ExtFlashStreamProgram(UINT32 Addr, UINT8 *pData, UINT32 NumBytes) This returns the next address that would be written. If a byte is about to be written to the first address of a sector, the sector is erased, then programmed. My logs typically take several sectors (logging goes to everything not used for something else). So, is the issue the number of write instructions, or is it the number of sector erases? Thanks! Harold --=20 FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! Not sent from an iPhone. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .