PIC16F877A not working again :(
Hi, Ive not touched 16F877A's for a while but now i need to use one again and im having more problems with it. Ive written some test code and ive tried mister_e's code from last time. My test code uses portD but ive tested ports A and B with mister_e's code too and im not picking anything up. Ive done all the usual checks (MCLR, Resonator, Capacitor etc). Ive checked the voltage with my oscilloscope and its extremely smooth. It almost looks like theres no load on it at all. The PIC is definately connected to it so im guessing its just not starting up correctly.
Im sure i got it working last time but i dont know how and im out of ideas now. I dont have any beer this time either ;). Does anyone have any ideas?
Copy n' paste backdraw ...
Ha,Ha,Ha
Quote:
ive tried mister_e's code from last time.
Code:
ifdef PM_USED
device pic16F877A, xt_osc, wdt_on, lvp_off, protect_off
else
__config _XT_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
endif
endasm
Quote:
I am using the OSC1 and OSC2 pins for a 3 pin resonator (20MHz).
Dit you also try to heat your pic, just some degrees ????
could be another solution ... the Hardware one
Alain