The host program can be built on GNU/Linux and other POSIX-compatible systems by typing
make. The program can be built using Cygwin under Windows in either Cygwin/POSIX mode (
make) or native Windows mode (
make win). Once the program has been built, copy the
ardpicprog binary from the
host directory to somewhere on your PATH.
The ProgramPIC sketch should be uploaded to an Arduino Uno compatible board that has an appropriate PIC programming shield attached to it.
To test that the host can talk to the PIC programmer, plug the Arduino into the host computer, shut down the Serial Monitor window in the Arduino IDE, and type the following on the host (the port may be different on your machine; e.g.
COM1 for native Windows mode):
You should see a list of supported devices like the following:
Next, put a compatible PIC device into the programming socket, ensure that the 13 volt programming voltage is applied, and then type the following:
That should dump the entire contents of the PIC device to the file
See the documentation for the host program for more information on using Ardpicprog to read and burn PIC's.