Hello again: Here is an update on this strange chip. I placed the 1000 uF Capacitor on the input side of the 5V regulator as it was not letting the ICSP and placed 0.1 uf ceramic directly on the VSS & VDD pins. It still didn't work at 5 V, I gave it jolt by shorting VDD to ground momentarily, Lo and behold it started to work! ( previously I had 10 uf between VSS and VDD and 0.1 uf on both sides of the 5V regulator and one 0.1uf ceramic directly on VDD and VSS, I had even tried to power it with 9 V battery cells, so dont think anything was wrong with my previous circuit as 16F84A and 16F628A worked fine with that arrangement)
So now I must give it a jolt every time at start up to make it run. I have uploaded another program that uses LCD and PORTA.3 & PORTA.4 as input switches, this program also works. Next I will try to add small capacitance to OSC/RA6 and see if its external oscillator stabilizes.
Bookmarks