Hi guys, Having gotten over the hurdle of the __config macro I am still coming up with the programming bumpstop. I'm keeping this thread separate from the other 16f628 programming thread 'cos my problem is with the Picstart+ using high voltage programming. At this stage I have two programming set-ups - PS+ with v3.00.00 and PS+ with v 2.30.00. Two mplabs v5.20.00 and v5.70.00.And of course I have ive( yes 5!) 16f628s all showing the same problem! When the IC is empty (read as virgin IC) the programming process works fine (and the chip runs - apart for a bug!). configbits HS,PWRTon,code prot OFF, MCLR enabled, everything else disabled. When I try to reprogramme the IC with a new programme, it fails saying that the processor is code protected!. I try read the device and the config bits are read as LP,codeprot all, mclr disabled,PWRTon &everything else disabled. BUT however I can still read out the code! The Program memory window is not an artifact of the previous programming cycle 'cos I purposefully cleared it to check this. So it would appear that the code protection is failing on these ICs ( that should get microchip's attention ! ) Using the "Erase Flash Device" button has no effect. Now if I force the reprogramme cycle, what happens is that new code is written in , in blocks of 16 words interspersed with blocks of 16 "0810". This is very regular all the way up through the IC. This one has me baffled. Has anyone got any ideas of what might be going on here. John -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics