Hello, I am new to the group, but glad to see someone has a decent community supporting this kind of thing!
First off, I have read the walkthrough, and the other like 4 threads discussing the JDM here, and all the details on it… I have also visited the newsgroups for embedded devel, and read many other troubleshooting guides…
I am building a PIC Programmer that is my own PC Board Design, it is for writing 16F84, and 12C508/509 chips. So it uses a small socket and a different layout… But it is based exactly off of the schematic at:
http://www.jdm.homepage.dk/newpic22.gif
I am using ICProg to try and write data, but when I read all, it returns all 3FFF and blank check works, but when I try to write it fails at 0000h.
An interesting thing to note, is that it reads 3FFF even if there is no pic in the socket at all…
Also, if I unplug the JDM from the serial port, then it reads 0000 instead of 3FFF so I know the programmer is doing something…
I have double, triple and quadruple checked my PCB with the schematic, and I did find a problem, so it has been repaired… I have tried adding the resistor inline with ground as per JDM, as well as adding external power source. I have tried various sets of configs in ICProg, (I am running WinXP but I have the driver installed properly, and I have tried with api, and direct using and not using the driver) Also I tried all the hardware test steps…
this is the results of the hardware test as per your walkthrough:
MCLR - 4.3V steady, with or without MCLR Checked in ICProg
VCC - 4.7V Steady when checked, but when unchecked it slowly falls off to 0v
Clock - When Unchecked it is -0.72V Steady, when checked it spikes to 3.3V then slowly drops off…
Data Out - When unchecked it is -2.45v stable, when checked it is instantly 4.17v Stable.
Read All (With 16F84A):
MCLR Seems to drop from the 4.3V State and fluctuate a bit, but it ends up around 0V then when read all is done it jumps up to 4.3V Again.
VSS exibits the exact same behavior.
Then I got frustrated, so I built a brand new JDM from scratch thinking it might be component failure, so I tested my components, and rebuilt completely from scratch, and the second programmer is doing the exact same thing…
I can post my PCB Design and such as well if it is relevant, but I have checked it a million times, it matches that schematic perfectly… And I know there are no bad traces or anything (checked them all before fabricating with multimeter, as well as blew up the PCB in scanner to like 100x so that I could inspect visually…
I would appreciate any help anyone can give me, as I am getting very frustrated with it, but I really want to get into PIC programming bad…
Thanks
- Paul
(Oh, and anyone who wishes can email me at: glasswalker@iam-net.com)
thanks.