PicKit3 not uploading to PIC16

Thread Starter

z_iron

Joined May 24, 2020
23
I''ve connected the pickit3 to a PIC16F18446. All the connections are correct. MPLAB X IPE v5.4 tells me that it is connected:

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.07
Firmware type..............Enhanced Midrange
Programmer to target power is enabled - VDD = 5.000000 volts.
Target device PIC16F18446 found.

Device Revision ID = 2001


However when I try to upload a program to it from MPLAB IDE, I keep getting the same following errors:

PICkit 3 connected

*****************************************************

Connecting to MPLAB PICkit 3...
Invalid command response (sent 0x41, received 0x26)

*****************************************************

Connecting to MPLAB PICkit 3...
Invalid command response (sent 0x41, received 0x3f)

Connection Failed.


It is connected but for some reason it wont upload to the pic and the connection stops. I've tried two different pics of the same type (16f18446), they aren't the issue and the pickit is new. What do i do to fix this problem.
 

BobTPH

Joined Jun 5, 2013
5,804
Could be any number of things.

Do you have all the required bypass capacitors installed?

What, other than the PICKIT, is connected to MCLR pin?

Does that Pic have low voltage programming? If so, what is connected to that pin? You may need a pulldown on it.

Bob
 

Thread Starter

z_iron

Joined May 24, 2020
23
Could be any number of things.

Do you have all the required bypass capacitors installed?

What, other than the PICKIT, is connected to MCLR pin?

Does that Pic have low voltage programming? If so, what is connected to that pin? You may need a pulldown on it.

Bob

Nothing but the pickit is connected. the pic does have lvp but I have it disabled.
 

Thread Starter

z_iron

Joined May 24, 2020
23
I''ve connected the pickit3 to a PIC16F18446. All the connections are correct. MPLAB X IPE v5.4 tells me that it is connected:

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.07
Firmware type..............Enhanced Midrange
Programmer to target power is enabled - VDD = 5.000000 volts.
Target device PIC16F18446 found.

Device Revision ID = 2001


However when I try to upload a program to it from MPLAB IDE, I keep getting the same following errors:

PICkit 3 connected

*****************************************************

Connecting to MPLAB PICkit 3...
Invalid command response (sent 0x41, received 0x26)

*****************************************************

Connecting to MPLAB PICkit 3...
Invalid command response (sent 0x41, received 0x3f)

Connection Failed.


It is connected but for some reason it wont upload to the pic and the connection stops. I've tried two different pics of the same type (16f18446), they aren't the issue and the pickit is new. What do i do to fix this problem.

bump
 

javor_k

Joined May 25, 2021
1
I had the same problem these days, when I tried to program PIC24FJ16GA004. I burned out three USB ports of my desktop computer some time ago. I put a PCI express expansion card to my computer and that for some reason was the problem. Today I realized that if I use the only working internal USB port everything is OK. Also it is working with some old PCI to USB expansion card.

Pickit 3 does not need some extra drivers. It installs automatically.
 
Top