P
Peter
Guest
Question to PIC gurus:
when I wanted to read/program a 12F629 for the first time with my very
simple PIC programmer, I couldn't.
I found out on my scope the PIC DATA pin was holding at about 2.5V even with
a 1.5K resistor pulling it to ground (and even lower at -5V).
As both CLOCK and DATA pins must be pulled down to ground (logic 0) and then
by rising MCLR to 13V to go in Progamming mode, no wonder it didn't work.
So I added a transistor as an open-collector driver to my programmer (I saw
this in other programmer designs) to pull-down more effectivly the DATA pin
to ground. The programmer now works flawlessly!
But I'm puzzled as I find nothing in the PIC data sheet stating that pin
needs a good (stronger than normal...) pull-down to set it to logic 0 for
Porgramming Mode.
A friend of mine tried its two programmers, a Willem programmer with CMOS
driver with no luck and another simpler one with TTL 7407 open-collector
driver with success.
So is is a normal behavior for the 12F629 ?
Could the chip be defective but... it work ok in run mode???
-- Peter --
when I wanted to read/program a 12F629 for the first time with my very
simple PIC programmer, I couldn't.
I found out on my scope the PIC DATA pin was holding at about 2.5V even with
a 1.5K resistor pulling it to ground (and even lower at -5V).
As both CLOCK and DATA pins must be pulled down to ground (logic 0) and then
by rising MCLR to 13V to go in Progamming mode, no wonder it didn't work.
So I added a transistor as an open-collector driver to my programmer (I saw
this in other programmer designs) to pull-down more effectivly the DATA pin
to ground. The programmer now works flawlessly!
But I'm puzzled as I find nothing in the PIC data sheet stating that pin
needs a good (stronger than normal...) pull-down to set it to logic 0 for
Porgramming Mode.
A friend of mine tried its two programmers, a Willem programmer with CMOS
driver with no luck and another simpler one with TTL 7407 open-collector
driver with success.
So is is a normal behavior for the 12F629 ?
Could the chip be defective but... it work ok in run mode???
-- Peter --