PIC 18f452 TQFP

I was thinking to do this first in my post but the space is not available on my pcb. Really tight space, that’s why i use smd pic. I already ordered the adaptors from Ebay, it includes 2 Pic 18f452 for few bucks. :slight_smile:

Thanks for suggestion.

Are there connectors on your board for other stuff?

PICKit2 requires access to the PGC and PGD pins. these usually go to the LCD display port. It also needs Vdd and Vss, those go to the LCD display too. So the only pin you need that is “out of reach” is the VPP/MCLR pin.

IF your project has a connector for a LCD display, that should include 4 of the 5 pins you need to connect the PICKit2. Just add loose wire with a clip to grab one end of the pullup resistor on MCLR, and you can program it through the LCD port. Unless the pullup resistor is also SMT.

Have Fun,

LyleHaze

Are there connectors on your board for other stuff?

PICKit2 requires access to the PGC and PGD pins. these usually go to the LCD display port. It also needs Vdd and Vss, those go to the LCD display too. So the only pin you need that is “out of reach” is the VPP/MCLR pin.

IF your project has a connector for a LCD display, that should include 4 of the 5 pins you need to connect the PICKit2. Just add loose wire with a clip to grab one end of the pullup resistor on MCLR, and you can program it through the LCD port. Unless the pullup resistor is also SMT.

Have Fun,

LyleHaze

I see, 5 pin is required to program the Pic, i’ll check for a 3 pin smt header only because Vdd and VSS are available many places on my PCB.

IIRC there’s a reason why MBHP cores don’t support ICSP… But uhm…I can’t remember… TK?

IIRC there’s a reason why MBHP cores don’t support ICSP… But uhm…I can’t remember… TK?

For a start, you’d want to avoid mounting R1, the #MCLR pull-up.

As it is only 100R, you’d find you have some power supply issues if you feed the #MCLR pin 12.5 volts…