The parameters are executed when hit in Proton PIC Basic F10 or F11:
= Set Vdd voltage (default voltage depence on target)
= Messages on PC monitor while programming the PIC
= Program HEX from the PIC Basic program into the PIC
= Release MCLR
= Power target after operations (default = off)
= Keep window open until a person hits a key (HK = Hit Key)
There are a lot more parameters.
More info can be find in the Readme for PK2CMD.txt file, which stays in the just made PK2CMD folder.
Example 1: Target power 3.3V: -PPIC$target-device$ -F$hex-filename$ -JN -M -R -A3.3 -HK
Example 2: Power target after operations: -PPIC$target-device$ -F$hex-filename$ -JN -M -R -T -HK
Example 3: Target power 3.3V and keep power on target after operations: -PPIC$target-device$ -F$hex-filename$ -JN -M -R -T -A3.3 -HK
You can place all these parameters at the same time by making different programmers in Proton IDE.
Give it different names i.e. PICkit2 3.3V, PICkit2 auto V - Power steady
and PICkit2 3.3V - Power steady
10. Finally click OK.
From now on you can run PICkit2 in the PIC Basic IDE
by pressing F10 (with compiling) or F11 (without compiling).
Compile the currently active editor page.
The compile button will generate a *.HEX file.
Compile the currently active editor page, generate a *.HEX file and run pk2cmd.exe from where you can program the PICmicro.
(F10 is a combination from F9 and F11)
The F11 key runs PICkit2 automatically, without compiling.
People who have already a Wisp628, Wisp648 or Galva-Wisp PIC programmer have made their own accessoires.
Think about DIL-clip cables.
You need to make an adaptercable to use your Wisp accessoires with the PICkit2 PIC programmer.
The PICkit2 PIC programmer with the adaptercable with 15-pole sub-D male connector which have the same pinconnections as a Wisp programmer.
Colors from wires and connections to the 15-pole sub-D male connector are equal to the Wisp PIC programmer standard.