I understand that a lot of pcb layout packages don't always show VDD, VCC, VSS, or GND connections on devices, but I do see a floating MCLR connection which is a not good. If this isn't tied to +5V (or whatever you are running for a positive supply), you will have random resets occurring. Hopefully this IS the problem, since this would be an easy fix.
Good Luck,
Bookmarks