1 Attachment(s)
Re: Programming PIC18f45k20
There is no need for the LVP use (I think it is not very reliable).
You have to use at least the +Vdd, Gnd, Reset, Clk and Data lines of the PicKit3 and connect them to your MCU.
Best is that this lines are not loaded during the programming. Otherwise, maybe you have to use on board power supply, use isolation to Reset or/and to Clk and Data lines.
If you power your MCU from the tool, you have to check the power option from the IDE (Power/Power Target Circuit from Tool).
The attached image shows detailes about the best possible electrical connections for error free programming.
Ioannis