Page 1 of 1

PICKit3 unable to use.

Posted: Tue Jul 22, 2014 4:54 pm
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

Re: PICKit3 unable to use.

Posted: Tue Jul 22, 2014 5:29 pm
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.

Re: PICKit3 unable to use.

Posted: Tue Jul 22, 2014 6:09 pm
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