PDA

View Full Version : help programming pic



kboyts
11-12-2009, 11:30 AM
Im attempting to re program my pics for the first time. I followed the how to videos but get an error. Im using a pickit 3. When I get to the step in MPlab where I select the programmer I get this error mesage-

PK3Err0045: You must connect to a target device to use PICkit
3.

Any help would be greatly appreciated

EDIT: according to the doc- it says-
PK3Err0045: You must connect to a target device to use PICkit 3.
No power has been found.
1. Ensure VDD and GND are connected between the debugger and target.
2. Ensure that the target is powered.
3. Ensure that the target power is sufficient to be detected by the debugger (see
Chapter 10. “Hardware Specification”.)

I tried multiple USB ports on the computer with no change. I'm using this kit (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=230387926633&ssPageName=STRK:MEWNX:IT)

JoeFromOzarks
11-12-2009, 11:56 AM
Your error message means nothing is connected to the "Target Board" connector, the six pin connector on the bottom of the PICKit 3.

If you do have a Target Board connected, make sure you have the PIC installed correctly, and verify you have the correct PIC type selected.

kboyts
11-12-2009, 12:02 PM
I have the ICSP14 ZIF socket board plugged into the bottom 6 pin connector of the PICkit3, and pin one of the PIC aligned with the lever for the zif

kboyts
11-12-2009, 12:20 PM
ok I figured it out I think. There was a check box , something about powering the target board from programmer that had to be checked.

ErnieHorning
11-12-2009, 01:14 PM
You have the option of supplying power from your circuit board or the programmer. Each has its own use.

If you’re programming the PIC’s only then will be no power supply so you’ll have to power the PIC from the programmer.

jovanma85
04-21-2010, 01:06 AM
You have the option of supplying power from your circuit board or the programmer. Each has its own use.

If you’re programming the PIC’s only then will be no power supply so you’ll have to power the PIC from the programmer.

----------------------------
RESPONSE

SELECT;
Programer/Settings

Then will display a screen
Selection the Power Tab and anable the power target circuit from pickkit, the volt is 3.25

This problem also is present when change to debug mode and the response is the same but only diference is in the debuger menu.

after going to park a error when debugging, but I think for a pin that enables debbug in the pic, is same with enable wich crystal we used.

IF SOME VARY HAVE THE RESPONSE LET ME NOW
THANK