I have the circuit setup in the normal way. 10K resistor between VDD and MCLR. 4MHz resonator. 100uf capacitor plus 3 smaller ones. I dont know what PGM is. My programmer supports this type of chip so i would assume it sets that for me. I have never had trouble with these kind of chips before. I have tested 2 chips to be sure.
I dont quite understand all of your code but i will try it anyway. How come you only set ports A and B? If im not using the others then dont i need to put anything in about them? Not even trisc/trisd?
Bookmarks