Using pickit2 as programmer was working, not working Now

Moderator: Benj

Post Reply
markus747
Posts: 33
Joined: Mon Jul 23, 2012 7:17 pm
Location: Petaluma california USA
Has thanked: 26 times
Been thanked: 2 times
Contact:

Using pickit2 as programmer was working, not working Now

Post 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.

markus747
Posts: 33
Joined: Mon Jul 23, 2012 7:17 pm
Location: Petaluma california USA
Has thanked: 26 times
Been thanked: 2 times
Contact:

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

Post 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.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

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

Post 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?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

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

Post by DavidA »

Ah of course! The file installation location was changed in v5.

Post Reply