I am not sure where this is all documented anymore. The PBP manual deals with the command line for compiling, PBP is a command line program.
Now that you are getting HEXes. Start the PicKit2 software.
After it starts if you do not have it connected to a PIC or you change PICs you will need to check communications.
Then import the HEX.
Click the "Write" button to squirt the HEX to the PIC.
Now to make this automated click the "Auto Import" button. This brings up the open dialog to select a HEX. If you do this, each time you compile by hitting the F9 key in MCS the PICKIT2 software will re-load the HEX and write the PIC. The power can be turned ON/OFF with out changing the settings. Click the "Auto Import" again to go back to normal.
![]()
Bookmarks