Bob Blick wrote: > On Thu, 27 Mar 2008 15:50:58 -0400, "Sean Breheny" > said: > >> A coworker tells me that he found (by experiment) that if he writes >> more than 167 bytes in rapid succession to the data EEPROM in an >> 18F6627, he must wait at least 250 milliseconds before writing any >> additional bytes. He suspects that the internal charge pump may need >> to recharge or something similar. Microchip says they are not away of >> this problem. The errata don't mention it. The datasheet doesn't seem >> to mention it. >> > > hmmm. Something isn't right here. He needs to wait until each EEPROM byte has been written by the flash unit before he proceeds. Is that happening? otherwise, he might deplete the flash charge pump, the "flash wait" includes charge pump refreshing. Usually about 4-5mS per byte. --Bob A -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist