In my experience, you can use both (write 1 word at a time, or a page). Writting pages is way more efficient, but requires always to start in the page boundary which makes your bootloader a bit longer. I think page length is 64 words in PIC18 IIRC. 2008/4/24, alan smith : > I'll admit....no I have not dug into the documentation on this, just way too many other things going on, and the expertise is in this group. > > So for programming, either via bootloader or ICSP for 18F series devices, how many words are usually delivered per packet? The basis of the question is, as I raised last week, the idea is to be able to do firmware updates to a device on the end of a cable. First off of course, is actually putting it into the bootloader mode but I am thinking if its sent a command over the serial link, it can probably force itself since the bootloader simply resides at a specific vector typically (right?). So the way I see things, it can do the update in two different ways - either upload the new program and store to memory someplace (like a serial flash device) or go into a full bootloader mode where it takes what is coming over the serial link and self writes (think thats how most bootloaders work?). So for the first option, I have total control over the size of packets being delivered since I am just writing out to a memory device. For the latter, the bootloader is expecting some > set size of data chunks to be sent. My question is...what is that size? Is it getting a blocks worth of data and writing it out, or is it simply a 16 bit word that it takes it in...and writes to flash, essentially overwriting the flash program memory one location at a time. If there is some sort of document that describes that, I'm good with that, rather than trying to sift thru different ones to get the information. > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Ariel Rocholl Madrid, Spain -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist