> The 16f87x series allow the running program to overwrite program memory. > You might start with those datasheets and check out a few of the > "bootloader" programs that use this feature. This is fine as long as the program only needs to be switched a few times. The internal program memory is only rated for 1000 writes on many of the flash parts. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.