PICKit3 unable to use.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
hawk44
Posts: 13
Joined: Mon Jun 16, 2014 10:08 pm
Has thanked: 9 times
Been thanked: 6 times
Contact:

PICKit3 unable to use.

Post by hawk44 »

First I want to Thank David Aldersley for his direction in even getting me registered. Without his help, I would not be here now. Thanks David.

I am using an Olimex P-40 board, and external power to the board with the PICKit3.

I get the following error: "PK3CMD.exe reported error code 1" My problem is not clue as to what error code 1 may be. Unlike other times I have gotten this error.
(Success
Launching the programmer...
C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe -P
Enter Part name
C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 1
FINISHED)


My configuration is as such: Location: "C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe"

Parameters: "-P$P16F877 -F877_LED_ON.hex -E -M -Y -V5.0"

I would like to be able to power the PICKit3 and I have read each of 12 page in the forum on the subject. So I have more configurations to try. However, I feel that someone out there is using a PICKit3 with out problems. Please share.... :D :D :D

Much Thanks,

DAvid

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: PICKit3 unable to use.

Post by Benj »

Hi David,

It could just be the firmware on your PICkit is too new for the command line programmer. I wrote a topic detailing this problem and how to fix it a while back.

http://www.matrixtsl.com/mmforums/viewt ... 457#p52318

Let me know how you get on.

hawk44
Posts: 13
Joined: Mon Jun 16, 2014 10:08 pm
Has thanked: 9 times
Been thanked: 6 times
Contact:

Re: PICKit3 unable to use.

Post by hawk44 »

Ah, Thanks for the reply.

I had even purchased a new PICKit3 in an effort to fix the issues. (now I have a spare)

C:\Program Files\Flowcode 6\tools\PICkit3\PK3CMD.exe
-P$(chip) -F$(target).hex -E -M –Y

This is the config. I am using. WORKS.......

The memory error problems came from low voltage on the Olimex board. Which was my fault.
Lets just say......ah.....human error....yeh, that it.....human error.
Any how I took a voltmeter to the board and noticed that PIC pin RAO wasn't even high. (at this point just trying to get an LED to turn on.)

Went back to the bridge rect. and had 10 volts in, good so far. Checked the regulator a LM317 and had 3.3 volts. I am using a PIC 16F887 which will up to 5.0 volts. (Darn Jumper) Removed the jumper, meter read 5.0 volts, reprogrammed and......you know the rest. (never could remember which way was which)

Oh, Gosh fun later on tonight. Wrote a quick turn LED on/off and it programmed fine.

you may be right about the download thing. A couple of days ago I was reading that.

Thanks for the reply.

David

Post Reply