If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

PicŪ Basic

Re: New PICkit 4 available

Today I received my PICkit4.
Fingers crossed, but until now it works as it should and nice and fast.

For those who also have PICkit4, here is how to work together with Proton IDE:

If you received your PICkit4, do not connect it with your computer yet, first you have to install MPLABX v4.20 or later.

First, you need minimal MPLABX version v4.20, older MPLABX versions will not work (good) with the PICkit4.
Second, when you have downloaded MPLABX v4.20, you have enough to install only MPLAB IPE (and not the MPLAB IDE), if you only work with Proton PIC Basic.
In MPLABX, as well the IPE as IDE are selected for installing, but why should you install a lot of data on your computer, if you don't use it?
So unselect IDE if you not use this part.
Just before installing has finished, it asked a few times if "software for this device should be installed" (which device is not mentioned, but always click YES)

After installing MPLABX, you have a black and an orange logo on your desktop.
Click the orange "MPLABX IPE v4.20"
Now, connect the PICkit4 programmer on your computer.
It will take several minutes before PICkit4 has installed.

If the PICkit4 is installed, then it would be recognized and it would be showed after "Tool:"
Try if you can program a PIC with MPLABX IPE.
Select first the PIC device (type)
Then browse to a HEX file you have created earlier (with i.e. Proton).
Finally click on 'Program'.

The parameters above are for use when the power comes from the target PIC (this is a safe method if you regularly use 3,3V as well as 5V devices)

If you want the power from out the PICkit4, then the parameters are:

For 3,3V/P$target-device$ /F"$hex-filename$" /TPPK4 /M /OL /W3.3

For 5V/P$target-device$ /F"$hex-filename$" /TPPK4 /M /OL /W5

It is possible that your computer does not provide sufficient voltage on the USB to program the PIC with 5V.
You will then get programming errors.
Then set the voltage a bit lower, for example at 4.5V./P$target-device$ /F"$hex-filename$" /TPPK4 /M /OL /W4.5

(Another reason to program with the target power and the first mentioned parameters)