Quote Originally Posted by Kamikaze47 View Post
If I melt the solder that connects the crystal's pins to the pcb it works for a while. I assume it's because it's heating up the crystal?.

Currently I have MCLR enabled, and have a 10k resistor pulling it high.
Hi, Kamikaze

No decoupling capacitors anywhere ??? ... especially the magic 0.1µF between supply pins ???

Further ... having your config header could have helped, but surely "Top secret matter"

Waiting for more infos ...

Alain
PS : sorry for the first post ... I've hit the wrong button ...