Sudden problem with MCLR on PIC16F628

Status
Not open for further replies.

Futterama

Member
Hello,

I was just improving my PIC programmer hardware, and suddenly it seems like the MCLR pin is kept low on a PIC16F628 (short circuit inside the PIC?).

If I connect 12V to the MCLR, and GND to GND with no other pins connected (not even Vdd), heavy current will run through the MCLR pin (>250mA and probably more if my power supply didn't have current limit). The voltage on the MCLR pin will only rise to approx. 2V.

If I connect the PIC to 5V supply and GND (no MCLR connected) the program in the PIC will run fine.

What happened to the PIC?

If it makes a difference, the PIC was obtained as a sample from Microchip.

Regards,
Futterama
 

You've destroyed it 8)

PIC's are extremely hardy devices, so you must have done something particularly 'nasty' to it - but sticking 12V from a PSU directly in the MCLR pin doesn't sound like you've treated it with much love or care?.
 
Well, I think PICs are rough devices and I didn't do anything nasty...

Actually, there is a transistor between MCLR pin and the PSU, but does it make a difference? And I would never hurt my little babyes on purpose :lol:
 
Microchip's sample is just like an ordinary PIC that you buy from stores and would not self distruct after a certain time.

You might have connected a voltage higher than 15V to the MCLR pin and this could damage it.

Do not improve something if it ain't broken.
 
reply

Futterama said:
Well, I think PICs are rough devices and I didn't do anything nasty...

Actually, there is a transistor between MCLR pin and the PSUit


to amplify the current running to it i guess? Shocks! :shock: [/b]
 
Re: reply

aibelectronics said:
to amplify the current running to it i guess? Shocks! :shock:

No, to turn the Vpp on and off during programming.

The voltage at Vpp have been below 13V at all times (12.82 to be accurate).

I have to improve my programmer, so it can program other PICs than the 16F628 :wink:

Well, I guess this is what can happen. I'll leave it in the ESD safe box for a few weeks, and it will be ready to reprogram again :wink:
 
Re: reply

Futterama said:
I have to improve my programmer, so it can program other PICs than the 16F628 :wink:

What "improvement" is needed to program other PICs than 16F628?
 
Futterama said:
The ability to control the Vdd.

The 16F628 requires that as well, although you can get along without it on many PIC's, while the 16F628 is acually one which it is more important on.
 
Nigel, I ALWAYS use the internal osc and I have programmed the PIC16F628 MANY times with this simple programmer...
 

So how do you select programming mode?, particularly if the PIC is already programmed to use the internal oscillator?.
 
I didn't make the software used for programming (David Tait's FPP Flash PIC Programmer) so I don't know. The hardware only controls Vpp, data and clock. Vdd is applied at all times.
 
Futterama said:
I didn't make the software used for programming (David Tait's FPP Flash PIC Programmer) so I don't know. The hardware only controls Vpp, data and clock. Vdd is applied at all times.

That's because it's an ICSP (In Circuit Serial programmer), as such it can pull MCLR (Vpp) down low to reset the PIC - normal (non-ICSP) don't usually have this capability.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…