I used my pickit2 to program PIC microcontroller , but after programmed when I plugged it into the circuit it wouldn't work correctly. When I programmed the PIC with Enable code protect option it work correctly.
please tell me weather the PIC have to program with protection enable or not or else please tell me what is the correct procedure.