I am using the PICKIT 3 with MPLAB X with the default setings. When I press
F6 to build and run my code, I notice that the PIC16 resets three times:
- twice with the previous code (not expected)
- once with the recently built code (as expected)
How can I avoid having the two spurious resets with the previous code?