Em 25/3/2011 19:10, Olin Lathrop escreveu: > Isaac Marino Bavaresco wrote: >>> OK, so you use a single erase block somewhere with individual bits >>> corresponding to uploaded blocks. >> Not bits, one word per block, because I can program a minimum of one >> word at a time. >> It is a little wasteful but that doesn't matter at all because there >> is plenty of unused FLASH. > If you have the space it doesn't matter, but you can write individual bit= s > since you'd only be flipping them from 1 to 0. I'm not sure if it is safe to write each word more than once without erasing, even to just turn bits from 1 to 0. >> The word programming is to mark each entry of the received-block list. > As I thought, this isn't really part of the bootload process. This is a > function of the uploader, some of the code of which you apparently put in > the bootloader module. Call it as you like, but when this routine saves the last block, it transfers the firmware to its final location and resets the processor. Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .