Em 25/3/2011 13:27, Olin Lathrop escreveu: > Isaac Marino Bavaresco wrote: >> The boot-loader is not yet finished but I did some tests in the real >> hardware today, and they show that the word-programming works. > I have done bootloaders for dsPIC parts. These have to erase a whole era= se > block at a time. My bootloaders then write whole write blocks within eac= h > erase block. So far that seems to have worked without incident. I don't > see why a bootloader would want to write individual words. > > I think that could wear out the flash faster too. It's possible that eac= h > word write effects the whole write block. If a write block is 32 words i= n > size, then writing each word individually may stress the flash as if the > whole block were written 32 times. I don't know if this is true, but I c= an > certainly see how it could be. > > Again, word writes don't make much sense for a bootloader. Word-writes serve other purposes also. Microchip has an EEPROM-emulation library for devices without internal EEPROM, but it only works for devices that accept word-writes. Best regards, Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .