After rereading your post, I wonder if the PIC could be damaged internally? Since you appear to have a heat gun, try applying a little heat just to the center of the PIC.
Is it possible that you abused the chip somehow, maybe a little too much current on a pin?
I've messed up PICs before by forgetting little things like current limitting resistors, short circuits mishandling test leads, etc. LOL The PIC would sometimes keep on working, but not reliably.
In some cases the damage would be limitted to just that port, everything else would work fine. They really are tough little buggers but there's only so much abuse they can handle from people like me.

Bookmarks