A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
Hello
all,
I have a JDM programmer
PIC-PG1 (the most simple).
have all my circuit
functioning perfectly on a bread board.
I have received my PCB,
I use the exact same wiring but I can't program the pic16F628.
I use only the ICSP1
(MCLR), ICSP4 (CLK) and ICSP5 (DATA) of the plug. I power my circuit through a 9 v
battery.
The bread board is
powered through a power supply.
I wonder if I have a
problem with ground loop or something like that, since the PIC-PG1 'creates' the 15v of the MCLR from
the RS232 signals.
Has anybody encountered
the same problem? Any input would be great !
For information, if I
connect an oscilloscope probe, to the bread board, for example, I experience the same
problem. The PIC-PG1 "refuses" to program the pic. I don't understand why but that a fact.
It's probably because the GND created by the programmer is different from the gnd of the
scope?
But, in my pcb version
the ground is, virtual, in a way. It is a battery !
Please help
!
Vince
|
|
|
|
Sometimes folks get caught with the PGM pin issue. If Low Voltage Programming is enabled, and upon complete erasure it is, then the PGM pin must be held low during normal high voltage programming. --- In , "Vincent Clerc" <vincent.clerc@i...> wrote: > Hello all, > > I have a JDM programmer PIC-PG1 (the most simple). > > have all my circuit functioning perfectly on a bread board. > > I have received my PCB, I use the exact same wiring but I can't program the > pic16F628. > > I use only the ICSP1 (MCLR), ICSP4 (CLK) and ICSP5 (DATA) of the plug. I > power my circuit through a 9 v battery. > > The bread board is powered through a power supply. > > I wonder if I have a problem with ground loop or something like that, since > the PIC-PG1 'creates' the 15v of the MCLR from the RS232 signals. > > Has anybody encountered the same problem? Any input would be great ! > For information, if I connect an oscilloscope probe, to the bread board, for > example, I experience the same problem. The PIC-PG1 "refuses" to program the > pic. I don't understand why but that a fact. It's probably because the GND > created by the programmer is different from the gnd of the scope? > > But, in my pcb version the ground is, virtual, in a way. It is a battery ! > > Please help ! > > Vince |