Using PICKit5 with Flowcode

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.
Post Reply
mnfisher
Valued Contributor
Posts: 2047
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 162 times
Been thanked: 952 times

Flowcode v11 Using PICKit5 with Flowcode

Post by mnfisher »

Testing a new PICKit5 - and wondered how easy it would be to use a PICKit5 to upload code to a PIC.

Very easy - in the compiler options tab: Select 'programmer':

Then select PICKit3 IPE External Power (or PICKit 4 IPE...)

I needed to point the Location to the ipecmd.exe file (and you'll need to use the version from MPLab-X)

So - I had:
"D:\MPLABX\v6.25\mplab_platform\mplab_ipe\ipecmd.exe"

And change the Parameters change /TPPK3 (or 4) to /TPPK5

Export as a new setting (I chose PICKit5 ext power)

Now program uploads are much quicker - note that the PICKit5 is pin compatible with the '3'.
pk5.png
pk5.png (178.98 KiB) Viewed 9383 times
This is working nicely with a PIC18F46K80 - and is noticeably quicker (and if you want to use MPLab-X it doesn't support the PICKit3)

Are there any issues with this ? - It needs the definition for the particular PIC MCU - and I don't know if these are automatically downloaded - or if you need to create a project in MPLab using the required chip first?

Martin

walbeek
Posts: 36
Joined: Thu Dec 17, 2020 3:25 pm
Location: Netherlands
Been thanked: 2 times

Re: Using PICKit5 with Flowcode

Post by walbeek »

Hello Martin,

Thanks for this tip, this is very helpfull.
It would be even more usefull if Flowcode can switch on the PicKit5 power to the chip.
Does anybody know if this is possible and how that works?

Rinie
Best regards,

Rinie

Steve-Matrix
Matrix Staff
Posts: 1942
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 289 times
Been thanked: 457 times

Re: Using PICKit5 with Flowcode

Post by Steve-Matrix »

I don't have a PicKit5 to be certain, but you should be able to add "/W33" or "/W50" (for 3v3 and 5v power) as a parameter. Hopefully that will work.

Post Reply