Gerhard, that was my mistake I did. pic24 doesn't have internal memory and I put ext= ernal=20 eeprom first=20 but I removed it. my next update I will put small size eeprom. AA ________________________________ From: Gerhard Fiedler To: Microcontroller discussion list - Public. Sent: Thu, March 31, 2011 2:06:06 PM Subject: Re: [PIC]: flash memory rewrite issue Andre Abelian wrote: > I started writing a test code for SST25VF032 32mb flash the problem > I am facing is the counter I am using to add counts each time if I > want to update I have to erase 4k block of memory so I have to waist > 4k to keep counter going from 0 to 5000. Microchip eeproms any > individual memory can be read or write. what would you guys do?=20 Put the counter on a different storage (e.g. an on-chip EEPROM)? Gerhard --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .