Sunday, February 16, 2014

Running Pickit 2 directly in Flowcode

Configuring Flowcode to compile directly on the PICkit 2

  In my previous post, I showed how to easily program our PIC 16f690 using the very simple flowcharting method used in Flowcode. Also, in that post, the assumption is that we are using the default settings in Flowcode and because of this we need to use the Pickit 2 own softeare to burn our program to the 16f690 chip.

  In this post, I will show you how to configure flowcode so that  we can burn our program using the Pickit 2 without the need for the pickit 2 software.

The procedure is as follows:
     1. In flowcode, click on the Build Menu then Compiler Options...
        in the Programmer tab, change the location to:
     C:\Program Files\Flowcode\V5\Tools\PICkit2\pk2cmd.exe

       In the Parameters, type:

       -BC:\Program Files\Flowcode\V5\Tools\PICkit2\ -PPIC%p -F%f.hex -M -A5 -R
      
     That's all. Leave the other fields as is.



A    After this, we can now burn our program directly to the chip connected to pickit 2.
A
A      After finishing our flowchart (program), just click on Build, then compile to chip... The Pickit 2's target and Busy Leds should light up and our program then transferred.


RA  Source: http://www.matrixmultimedia.com/support/viewtopic.php?f=68&t=787



A






1 comment: