Olin Lathrop wrote: >Tony Nixon wrote: > > >>Has anyone had trouble following the fuse programming algorithm for >>the 18F1320 in the DS39592B docs. >> >>It states to do a GOTO 0x100000 before programming the fuses. >> >>If I execute these instructions the fuses won't program at all. >> >>You also now have to program fuses 1 to 5, then skip fuse 6, program >>fuse 7, then go back to program fuse 6. What a pain. >> >> > >I don't remember anything that messy when adding 18F1320 support to my >programmer. If you're desparate, you can rummange thru my source code to >see what it does. Go to http://www.embedinc.com/easyprog/sw.htm and >download the development software. I've programmed a bunch of 18F1320 with >this software without any problems. > > >***************************************************************** >Embed Inc, embedded system specialists in Littleton Massachusetts >(978) 742-9014, http://www.embedinc.com > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > > Hi Olin, Both these are listed in notes(1) and (2) of the CONFIG programming specs. Thinking about it more, the GOTO instruction may not be needed anyway. As the FUSES are programmed last, you don't need to do table writes to ROM any more. The fuse programming sequence is supposed to be followed otherwise, if you set the CONFIG Write Protection Fuse in CONFIG6H, you cannot program any other fuse, which in the case of normal programming, will be CONFIG7. regards Tony -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.