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'.
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
Using PICKit5 with Flowcode
-
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
Re: Using PICKit5 with Flowcode
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
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
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
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.