Surely enough, 5V version wouldn't get damaged from 6V, but we are talking about PIC32 that has a 3V3 voltage supply rail. Thanks for the advice, we will try the caps first, and then the controller itself. The code is most likely not the problem, cause it works on an identical test unit...