Hi David,
I had exactly the same problem as you seem to be having with a project I'm currently working on, also with a PIC16F628a.
I found the answer to be _LVP_OFF
What would happen is it defaults to LVP on, each time it would get a signal on the LVP pin, the micro would reset, hope this helps
Bookmarks