I have been trying to reflash my corrupted PIC32 (specifically a pinguino32-usb-otg board) using MPlabX IDE and a Pickit 3.
My connection was:
PC to pickit 3 via USB
pickit 3 to PIC32 via 6 pin header
I tried to flash the chip but got the following error:
Programming...
boot config memory
Address: ffffffff Expected Value: 0 Received Value: 0
Failed to program device
After much scratching of my head I finally figured out the issue – the board was not powered.
I plugged in an adapter (9v in my case) and powered the board.
I attempted to reflash again and it was successful.
Problem solved – it was as simple as the board needing external power.
