Hi all, I'm wondering if anyone out there has written an icsp program for the 16f818. I am currently working on this project, but I've run into a snag. You first have to issue a chip erase command, then you load 4 words of data, and then you begin programming. Well, all this works just fine, the whole .hex file is loaded to memory, but it is shifted by 4 memory locations. 0000 to 0003 are still 0x03FFF and the program starts at 0004. I've tried resetting the chip between the erase command and the programming phase to reset the PC to 0000, but this doesn't do anything. Does anyone have any ideas? Thanks, Jim Monteith -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads