Flashing
In case of replacements or updates to the firmware, the speed controllers need to be flashed with custom firmware to work. For this, you will need to connect the flash pins of the board to the Microchip PICkit 5-in-1 debugger.
After connecting the flashing wires, follow these steps:
- Power on the Rover, so that the boards gets power
- Plug the PICkit debugger into your computer over USB
- Open the MPLAB IDE and press the green "play" icon
This will compile your code and flash it to the board. If all goes well, your code should start executing immediately after flashing.