Programming PIC onboard.

Status
Not open for further replies.

coshkun

Full Member level 2
Joined
Aug 27, 2005
Messages
126
Helped
18
Reputation
36
Reaction score
10
Trophy points
1,298
Activity points
2,212
I want to know the easiest way to program PIC on board.Yes i know ICSP.The high voltage applied to MCLR pin directly goes to VDD of my circuit doesnt it?.How can i prevent this?
 

Why is your MCLR pin connected directly to Vdd rail ? We usually use a resistor (10 kohm) between MCLR and Vdd, so when you apply 13V to MCLR to enter the programming mode, the resistor solves the problem.
 

    coshkun

    Points: 2
    Helpful Answer Positive Rating
I use a diode for this purpose (and a resistor in series). Anode towards Vdd, cathode to MCLR. During normal operation the diode is open, providing Vdd to MCLR. When programming MCLR get the ~13v but the diode is closed.
 

    coshkun

    Points: 2
    Helpful Answer Positive Rating
The hookup with both diode and resistor for some popular PICs is shown in detail on this document (download it from my site, Inchworm Quick Project)
**broken link removed**
 

Guys can i have the Programmer schematic diagram for PIC16F877A. can i have the Circuit diagram for the same.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…