Since i didnt have a 7805 vreg handy to run a 16f628 with 8 leds attached, i ran the pic from a 78l05 and the leds from another 78l05 and i sank the current though the PIC.
I programmed the chip and put it in the circuit and it worked. However ICprog wont allow me to read or write to the PIC anymore. Have i blown up the pic?
Since i didnt have a 7805 vreg handy to run a 16f628 with 8 leds attached, i ran the pic from a 78l05 and the leds from another 78l05 and i sank the current though the PIC.
I programmed the chip and put it in the circuit and it worked. However ICprog wont allow me to read or write to the PIC anymore. Have i blown up the pic?
I don't use IC-prog but i'm guessing that you have code protected the code (the drop down box on the side indicates code protect for adress 0-7FF). Try selecting something else (might be "off", or "0-0x000")
That's just a guess though...
Hope that helped,
That shifty dude,
Sadly yours,
inventor of stupid credentials,
JB
Still the same result. Ill try and get a new pic chip tomorrow.
Theres a guy on https://www.siliconchip.com.au/cms/A_100878/article.html who has built the exact same programmer as me and he is having the same problem. It turns out i must have had the code protect or lvp fuse bit set.
I don't know if you said what programmer your using, but if its a in circuit programmer you might have a component somewhere in the circuit thats drawing to much, i had a 7-Seg led do that, faild on the verify every time untill i removed the 7-Seg display and then it worked fine.