Page 1 of 1

Using pickit2 as programmer was working, not working Now

Posted: Tue Aug 21, 2012 6:25 pm
by markus747
-BC:\Program Files\Matrix Multimedia\Flowcode V5\Tools\PICkit2\ -PPIC%p -F%f.hex -M
This line baffles me, why is there a "-B in front of C:\Program files\...
The line above is in the Parameters field.

Under location I have this line:
C:\Program Files\Flowcode\V5\Tools\PICkit2\pk2cmd.exe
Which looks correct and the pk2cmd.exe is there where it belongs

But i always get the message
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.

Re: Using pickit2 as programmer was working, not working Now

Posted: Tue Aug 21, 2012 6:46 pm
by markus747
Just discovered that there is another error listed :
C:\Program Files\Flowcode\V5\Tools\PICkit2\pk2cmd.exe -BC:\Program Files\Matrix Multimedia\Flowcode V5\Tools\PICkit2\ -PPIC16F877A -FActive_Low_18.2_serial .hex -M -A5 -R

PK2DeviceFile.dat device file not found.

Re: Using pickit2 as programmer was working, not working Now

Posted: Wed Aug 22, 2012 9:51 am
by DavidA
Hello Markus,

The -B is correct, seems confusing i know but rest assured thats what it should be.

This seems strange are you able to program your hardware with the PICKit2 via its own programmer specifying a hex file to send?

Re: Using pickit2 as programmer was working, not working Now

Posted: Wed Aug 22, 2012 10:09 am
by Benj
I've spotted the issue.

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

Should be

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

Re: Using pickit2 as programmer was working, not working Now

Posted: Wed Aug 22, 2012 10:17 am
by DavidA
Ah of course! The file installation location was changed in v5.