Hi, I suggest you put some serial resistor between C and PIC as high discharge current can cause latch-up. (As a thumb of rule, about 200-250 ohms should do.) Regards, Imre