ElectroGeek_87
New Member
Ok i have a pic16f84a and a JDM style programmer. I programmed the code onto the chip, and it was verified. Now when I hook up the power and the oscillator and try to run the chip absolutely nothing happens. The chip is programmed to write a I to portA pin#1 and turn on an led. I am using a 5v 200ma power supply. I suspect the problem is the oscillator. I have a rc oscillator using a 100pf cap and a 2.5kohm resistor connected to the osc1 pin. (pin#16). I was sure to program the chip with the rc oscillator configuration selected, so that can not be the problem I HAVE tried using (3) 16f84a chips so far so the chips are not the problem. I will include the code below. Thanks for any help you may provide, I hope I have explained my predicament well enough.
bsf 03h, 5
movlw b'00100'
movwf 85h
bcf 03h, 5
movlw b'00100'
movwf 05h
end
bsf 03h, 5
movlw b'00100'
movwf 85h
bcf 03h, 5
movlw b'00100'
movwf 05h
end