Hello everyone, I am using a data flash (ATMEL 45DB041B) to store voice information. I often get data corruption (I think the table of contents screws up) when I power up and down the test board (I get data corruption about once every 100 tries) Let say the MCU sends out a "program a page" command, and the data flash starts to program a page (it takes about 10ms to program one page) and during the time where the data flash is being programmed , the unit is powered down. Data corruption occurs!!! Is there any way to overcome this problem? Any work-around? I tried to put the big cap at the data flash supply to retain its power (for 10ms), but during the write operation, the data flash consumes lots of current (20 mA), so it's too much for the cap. Thank you in advance! Thomas _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads