Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need to load the program without removing the IC from the circuit board [Go to first

Status
Not open for further replies.

venkates2218

Full Member level 6
Joined
Sep 30, 2016
Messages
354
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
4,306
image.png

Hello friends,
Please refer the image.
I tried to connect the PICKIT2 to load the program into controller without removing IC from the main board.
By this circuit when I tired to connect the PICKIT 2,it showing VDD target mismatching.

I powered the main board at the time of loading the program.But it not working.
I need to load the program into IC without removing the IC from the main board.
How to solve this issue..?
 

This is clearly explained in the Pickit 2 documentation, including examples of how to make your design ICSP 'friendly'.
You can also tell Pickit 2 to use VDD from the target design so it doesn't clash with it's internal supply.

Brian.
 

Your circuit seems to meet the requirements for ICSP interface to work with live circuit, except if you have not mounted the Jumpers.
 

I would be cautious of the capacitor from MCLR/VPP to ground. Adding it can delay the rise of VPP and the PIC may not see the initial programming instruction.

Also be aware that you have to use high voltage programming in that configuration. If you want to use LVP you need to connect the PGM pin as well.

Brian.
 

I would be cautious of the capacitor from MCLR/VPP to ground. Adding it can delay the rise of VPP and the PIC may not see the initial programming instruction.

Also be aware that you have to use high voltage programming in that configuration. If you want to use LVP you need to connect the PGM pin as well.

Brian.

That means have to remove the capacitor between the MCLR to GRND..?
 

Maybe not remove it. It depends why it was put there in the first instance. If the design requires a short delay after power-up before releasing reset, it may be there to provide it. MCLR will rise slower than +5 because of the time it takes to charge the capacitor through R15. If the delay isn't needed you can probably not fit the capacitor at all, otherwise add a resistor (~1K) between the PIC and R15/C4 and connect 'RST' directly to PIC pin 1. The new resistor will isolate the capacitor from the programming voltage.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top