Matrix - using PICKit 2 with Flowcode v5
58 users online | 58 Guests and 0 Registered

using PICKit 2 with Flowcode v5


To allow PICkit2 to work with Flowcode 5 click on Build >> Compiler options and navigate to the Programmer tab.

Set the Programmer location to:

32bit Operating Systems

C:\Program Files\Flowcode\V5\Tools\PICkit2\pk2cmd.exe


64bit Operating Systems

C:\Program Files (x86)\Flowcode\V5\Tools\PICkit2\pk2cmd.exe


Set the Programmer parameters to:

32bit Operating Systems

-BC:\Program Files\Flowcode\V5\Tools\PICkit2\ -PPIC%p -F%f.hex -M -A5 -R


64bit Operating System

-BC:\Program Files (x86)\Flowcode\V5\Tools\PICkit2\ -PPIC%p -F%f.hex -M -A5 -R


This configures the PICkit 2 to program the target devices using the project hex file. The PICkit will erase the device, fully program the device and then verify the data has been programmed correctly onto the device.

To allow PPP to provide configuration settings simply leave the Use external program to set config options setting ticked and leave the details as.

Location

32bit Operating Systems

C:\Program Files\Flowcode\V5\Tools\PPP\PPPv3.exe


64bit Operating Systems

C:\Program Files (x86)\Flowcode\V5\Tools\PPP\PPPv3.exe


Parameters

-cs 2 -chip PIC%p -config



You should now be able to use the PICKIT2 programmer.
The PICkit2 device may need to have its firmware updated. If so, instructions can be found in the readme file located with the pk2cmd.exe file.

Newer devices can be supported by updating the PICkit 2 DAT file. See here for instructions.
http://www.matrixtsl.com/mmforum ... 337#p46157

Last update:
2015-04-01 10:15
Author:
DavidA
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Home | Website Disclaimer | Returns Policy | Privacy Policy | Copyright Matrix Technology Solutions Ltd 2024
Chinese German Spanish French Greek Italian Dutch Russian Google translations