Directions to Load Files to PIC32 with HID Bootloader
If the HID Bootloader is not installed on the PIC32, follow the directions here.
On the board, simultaneously hold down and release the 'RESET' and 'PRG' buttons. LEDS 1 and 2 will flash to indicate that the board is in bootload mode.
While in bootload mode, open the HID Bootloader. It should say 'Device attached.' if in bootload mode.
Click on the 'Open Hex File' and locate the desired HEX file.
Click on Program/Verify.
It will say:
- Erase Started (no status update until complete, may take several seconds)
- Erase Complete
- Programming Started
- Programming Complete
- Verify Running
- Erase / Program / Verify Completed Successfully
Occasionally, the bootloader application will get stuck in the 'Verify Running' section. The application uses 95-100% of the CPU. The only solution I have discovered is to manually terminate the bootloader using the task manager. Fortunately, the program has already been downloaded to the PIC.
Click on Reset Device. The program should be running on the PIC.