circuit_projects

Circuit Projects

Electrical/Electronics Blogger

Circuit's Projects :

Return to Projects

PIC and EEPROM Programmer

Project Summary

In this project we are building a JDM programmer that can handle PIC12, PIC16 and PIC18 family microcontrollers and some popular 24C family EEPROMs.

Project Description

Figure:1

Figure 1 

The programmer also provides ICSP feature that allows In-Circuit Serial Programming. So if you desire, you will not have to carry your MCU each time when you reprogram it. The circuit is connected to the PC via serial port and no external power supply is needed. On the other hand, if you want to use it with a laptop that do not provide RS232 connection, using the circuit with a USB to RS232 converter may not give a proper result

Figure:2

Figure 2 

As you see the circuitry contains a few components listed below.

T1, T2 : BC337 Transistor
D1, D4, D5, D6 : 1N4148 Diode
D3 : 6V2 Zener Diode
D2 : 5V1 Zener Diode
R3, R4 : 1K8 1/4W Resistor
R1 : 10K 1/4W Resistor
R2 : 1K5 1/4W Resistor
X1 : DB9 PCB Mount Female Connector
C1, C2 : 100uF 16V Electrolytic Capacitor
SV1 and SV4 : 40 Pin Machine Tooled IC Socket
SV2, SV3 : 20 Pin Machine Tooled IC Socket
SV5 (ICSP) : 6 Pin Header Connector9
L1, L2, L3 : LED (L1: GREEN, L2: RED, L3: YELLOW)

Figure:3

Figure 3 

The PCB file is provided in pdf format. You can apply it to the board by using the ironing method.

Figure:4

Figure 4 

Assembling the components is straightforward. The only trick is shown in the photo. Before soldering the 40 pin socket, you must cut the plastic bridges between the sides. Another issue, don’t forget to solder the diode (D6) and the jumper under the sockets first.

Figure:5

Figure 5 

Here is the final. If you don’t miss any short-circuits, you will see the red LED will bright up when you connect the programmer to the serial port. Now it is ready to use. You may use ICPROG and WinPIC to start programming your PICs or EEPROMs.

LED Indications; Yellow:Clock , Red:Power , Green:Program

Figure:6

Figure 6 

Placement is shown in the figure below.

Don’t forget! Wrong placement may defect your IC, programmer or computer.

You may use a ZIF socket instead according to your needs.

Figure:7

Figure 7 

Project Files

File NameFile Size
PIC-and-EEPROM-Programmer.rar272.88 KB
Tags: EEPROM, programmer, PIC Microcontrollers,

Comments on this Project:

By miko -2Score: 

6 years ago:  it works great! thanks!

By Anass -2Score: 

6 years ago:  Is that a JDM programmer ?

By carlos 0Score: 

6 years ago:  what is the software need for funtion.

By sam 0Score: 

6 years ago:  Yes it is a JDM programmer and you can use it with ICPROG, WinPIC or some other software that is not tried before by us.

By yl 1Score: 

6 years ago:  this can use for 93C family EEPROMs?
thx

By khaled1 -2Score: 

6 years ago:  what is the software

By sam 0Score: 

6 years ago:  You can use ICPROG.

By gb 0Score: 

6 years ago:  Hello all

thanks for the this clear tutorial!

Does any one can tell if it works also with mplab ide ?

By jck 0Score: 

6 years ago:  This is only a programmer not a debugger.

By nergal 0Score: 

6 years ago:  Does it work with pic 16F88 ?

By wellboy 0Score: 

6 years ago:  What is the use of DB9 PC Mount Female Connector?
Thanks...=)

By jack 0Score: 

6 years ago:  Hi, the mistake is corrected thanks :) The right writing is "DB9 PCB Mount Female Connector"

By Pepito 0Score: 

6 years ago:  The RED led turns ON inmediatly you connect the programmer on the PC????? Even if a driver/software to programm isn`t running????

By jack 0Score: 

6 years ago:  You should also check the connections especially between the socket pins. Which software are you using with the programmer?

By Pepito 0Score: 

6 years ago:  I'm using winpic800. When I test the programmer with winpic the yellow led (CLOCK) doesn't turn ON, and the RED & GREEN leds turns ON during the HARDWARE TEST or DETECT DEVICE of winpic.

Also the RED & GREEN LEDS doesn't bright so much during the test, the led's light are visible just when I turn off the room's lights :p

So I thing in two possible reasons:

a) I failed something in the mount
b) I have to configure something about the COM port on windows &/or winpic because the clock doesn't shows life signals :p

I'am using windows XP sp2, Winpic800 and I selected as the hardware a JDM PROGRAMMER.

If someone knows a trick I'll be thankfull because is my first project with a PIC. ^^

By jack 0Score: 

6 years ago:  Hi Pepito,

Please try once more with winpic (not winpic800) . You can download it from the link below

http://www.ece.nus.edu.sg/ee2001/html/Common/WinPic/WinPIC.zip

If this time it also fails, then I think it is a hardware problem as you said.

By Ed 0Score: 

6 years ago:  "SV5 (ICSP) : 6 Pin Header Connector"
sry, but what is this used for?
I thought only to use the "DB9 Connector".
tnx

By robotsmani 0Score: 

6 years ago:  how can i connect a 40 pin zif socket

By robotsmani 0Score: 

6 years ago:  Can you please tell me, how can i connect a 40 pin zif socket. Is the re any change in the PCB. Because this weekend i am planning to make this PCB. Please reply me..it is very urgent....

By jack 0Score: 

6 years ago:  Hi robotsmani you can connect a 40 pin zif socket if you use only 40 pin ICs. So then you can not program 8, 18 and 28 pin devices.

By robotsmani 0Score: 

6 years ago:  Using 40 pin zif, you can connect any type of pin right, only think i feel that, we need to reconfigure the pin connection to program any type of pin devices. Normally you know, all universal programmers will have the zif socket...

anyway thank for your reply Jack..if you have any schematic using zif socket...let me know...

By Ed 0Score: 

6 years ago:  "SV5 (ICSP) : 6 Pin Header Connector"
does anyone know what is that used for?

By jack 0Score: 

6 years ago:  Hi Ed, it is used for ICSP (In Circuit Serial Programming).

For more info about ICSP please check;

http://ww1.microchip.com/downloads/en/DeviceDoc/30277d.pdf
http://www.embedinc.com/picprg/icsp.htm

By Ed 0Score: 

6 years ago:  Oh, nice.. ty.
Why dont you used external power souce ? and other do.

By kathir kama kannan 0Score: 

5 years ago:  hello friends any one could tell the use of header connector?

By robotsmani 0Score: 

5 years ago:  How can i know this circuit is working. i built this and connected to the computer. the red and green LEDs are glow. Installed WinPic from the above url. I did some blank check. the blue LED glow...after that no LEDs are glowing. Is my circuit is working. How can i check before program some PIC.

By GaneshKumar.SW 0Score: 

5 years ago:  I ve designed that board completely. As soon as I connect this board i could get the RED LED glowing brightly but after some 10 seconds it fades off and no recognition could you guess what might be the problem

By GaneshKumar.SW 0Score: 

5 years ago:  IF RED LED is not glowing then which part of the circuit is to be tested for debugging

By jack 0Score: 

5 years ago:  Hi GaneshKumar, it is really hard to guess the problem you should check all the connections till you find it out.

By omid 0Score: 

5 years ago:  what about 14pin pic in soket???

By jack 0Score: 

5 years ago:  Hi omid. The programmer doesn't support 14 pin PICs.

By Bob 0Score: 

5 years ago:  Hi ,
my programmer do not int. ( Winpic )failled reteurn DATA (high) and how is the setting for the com port
will someboddy tell my.

By Harish Sowkur 0Score: 

5 years ago:  I would request anybody who got the board working successfully. More information needed on exact programmer software to be used. Any particular settings in software required?

By Jeep 0Score: 

5 years ago:  it a good eeprom programmer

By Inovator 0Score: 

5 years ago:  where is power supply?

By YAWN 0Score: 

5 years ago:  hey I would like to ask how to place the chip on the programmer. the arrow indicates what? I'm beginner here.1st time learning PICs.

By hrvat 0Score: 

5 years ago:  Is that work for sure?

By hrvat 0Score: 

5 years ago:  where is assembly picture? how can i know where components goes, except that i look on schematic...

By siltorres 0Score: 

5 years ago:  Can this circuit program BIOS 16 pin (eeprom)and the power supply of the DB25 is sufficient to record all these chips memory?

By harish 0Score: 

5 years ago:  I checked hardware thoroughly..Not working...Which software to be used..Winpic or ICprog?Any special settings to be made in IC-Prog software?

By harish 0Score: 

5 years ago:  How many of you all have got this programmer working? Which programmer software to be used? any settings required?

By manoj 0Score: 

5 years ago:  hi

i wana reduce som kilometer in my car odometer

so please sajes me a circuit

By Tilo 0Score: 

5 years ago:  Hi, Tyvm for the tutorial and files. I would like to cheat someone who is buying my car. Would you be willing to GIVE me everything I need to do that?
TYIA,
Tilo

By qwer 0Score: 

5 years ago:  "using the circuit with a USB to RS232 converter may not give a proper result"...

MAY, or NOT give, anybody tested it with USB circuit??

By joseph assem 0Score: 

5 years ago:  hi i did the programmer and winpic recognize it successfully ,read it successfully , erase it successfully but when i try to write to it ,it says programming failed so what is the problem any ideas or trials u can suggest on me ?

By joseph assem 0Score: 

5 years ago:  i get this log
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x00053D
Verifying 0x000000..0x00053D
Verify Error: 000000: read 003FFF, wanted 0028C5
Verify Error: 000004: read 003FFF, wanted 0000BB
Verify Error: 000005: read 003FFF, wanted 000E03
Verify Error: 000006: read 003FFF, wanted 0000BC
More Verify Errors, unable to list all (total=1339)
Programming DATA, 0x002100..0x00213A
Verifying 0x002100..0x00213A
Verify Error: 002100: read 003FFF, wanted 000000
Verify Error: 002101: read 003FFF, wanted 000001
Verify Error: 002102: read 003FFF, wanted 000000
Verify Error: 002103: read 003FFF, wanted 000020
More Verify Errors, unable to list all (total=59)
Programming CONFIG, 0x002000..0x002007
Verifying 0x002000..0x002007
Verify Error: 002007: read 003FFF, wanted 003F74
ERROR: Programming FAILED !

By matt 0Score: 

5 years ago:  Hi Joseph, I am using this programmer too and winpic sometimes gives error but actually it writes on PIC succesfully. You can try your PIC in your circuit you will see it is working. On the other hand which PIC are you using?

By joseph assem 0Score: 

5 years ago:  i am using 16f628a
are u sure it writes although i get this error ?

cause as u see in the verify it says as an example Verify Error: 000004: read 003FFF, wanted 0000BB and 003fff is the value of the pic when it is empty and this means that it is still empty and it is not programmed i think

also if it program in the right way why i get this error is it problem with winpic and if so does it gives this error with all pic's or its only with some pic's

and one last question which program to use so as not to get writing error's

By matt 0Score: 

5 years ago:  I used 16f628a with winpic and this programmer. No problem occured. I just check your error message, it seems your pic is defected and memory partitions are not working properly. I suggest you change your pic. Additionally don't forget to select your PIC device from the related section of winpic.

By joseph assem 0Score: 

5 years ago:  i have also 16f630 i was trying to program it now but i don't know how to put it is in the supported list but it has only 14 legs i can't see where to put one with 14 pins in the above image showing where to put pic's

By matt 0Score: 

5 years ago:  Hi Joseph, The programmer does not support 14 pin ICs. You may try your chanse by rechecking your programmer connections.

By joseph assem 0Score: 

5 years ago:  also to prove my point when i programed it and it gave me this error i tried the check blank test and it says that the pic is blank so how it comes that u say it already programed the pic when it is still blank

By joseph assem 0Score: 

5 years ago:  note: this last trial in the above comment was on pic16f628a

By matt 0Score: 

5 years ago:  When a pic is defected winpic can give weird results like saying the pic is blank after blank test or succesfully erased etc. but when you try to program the pic, it wont work as you experience. My opinion, try again after changing your pic16f628a. Because this model is really troubleless one and it is hard to have problem with it. I will be glad if you will inform us too. regards.

By joseph assem 0Score: 

5 years ago:  i noticed that the yellow led lights very well but the green and red leds light are so dim and i can't see specially the green led without turning the room light off so it came to my mind that i did't find the 1.8 k resistor so i replaced it with 1.5 k resistor could this be the reason for my problem and if so which resistor to put i did't find except 1.5k or 2k

By joseph assem 0Score: 

5 years ago:  hi all i think that the problem is not from this programmer cause after i failed with this programmer i made this programmer http://www.instructables.com/id/Simple-JDM-PIC-Programmer/
and in the site they say they tested PIC16f84A
PIC16f628A and both worked fine but in my case when i made this programmer and i tried both PIC16f84A PIC16f628A a got the same error from the programmer posted here in this page so i guess the problem is not from the programmer so what could it be?
may be serial port on my pc is not giving the right voltage and to know that what is the appropriate voltage for serial port and how to measure mine what pin numbers to measre?

By arlene 0Score: 

5 years ago:  I tested this programmer with PIC16F84, PIC16F628, and PIC18F452 and it is really working fine and it is really fast! If I have chance to try with other PIC then I will write my experience here. Thanks a lot!

By JN 0Score: 

5 years ago:  Does anyone have digi-key part list to build this ? Thanks in advance.

By Thormar87 0Score: 

5 years ago:  Hi.
I was wondering, on the Eagle CAD schematic there are only PIC pin names on the wires that go from the DB9 to the IC sockets. Which RS-232 signal wires go to which DB9 pin.

By wooly 0Score: 

5 years ago:  i would like to know the value of the r1,r3,r4,d6, d3,d2,d5,d4,t1,c2,c3 can somebody help me plz.

By wooly 0Score: 

5 years ago:  sorry i found them

By Ali 0Score: 

5 years ago:  hi.
I need simple program about arry it has 20 number and the program work to find maximum number.....
plz

By wooly 0Score: 

5 years ago:  i would like to know if your programer can program this chip PIC16LF628A

By socket 0Score: 

5 years ago:  Hi, in your text you mention (twice) a "80 pin" IC socket. However, isn't it actually a 40 pin socket?

By jack 0Score: 

5 years ago:  Hi you are actually right the mistake is corrected thank you

By bossmazak 0Score: 

5 years ago:  Hello , I have progblem with pic16f628a-I/P I was programming and it wrote in winpic:
Programování PROGRAM, 0x000000..0x000302
Ov??ení 0x06lX..0x000000
Ov??it chybu: 000000: ?tení 003FFF, hledá 002806
Ov??it chybu: 000004: ?tení 003FFF, hledá 002AE8
Ov??it chybu: 000006: ?tení 003FFF, hledá 001303
Ov??it chybu: 000007: ?tení 003FFF, hledá 00019F
Další Ov??ení Chyb, neschopný vypsat všechny (total=767)
Programování CONFIG, 0x002000..0x002007
Ov??ení 0x06lX..0x002000
Ov??it chybu: 002007: ?tení 003FFF, hledá 003F10
CHYBA: Programování špatné ! (bad programming)


and in icprog: verify failed at address 0000h .
SOME ONE TO HELP ME PLS?

By ryan agoncillo 0Score: 

5 years ago:  I had a few experience in dealing with these programmable ICs when we were fixing the system boards of ATM bank machines. But it's really not my interest to work on component level. Keep working guys :)

By Topbanj 0Score: 

5 years ago:  I tried printing the circuit but my 40pin ic socket will not fit in to the printed circuit. I have tried different ways but to no avail. I need help here. Someone pls tell me how i can get this thing working.

By vincom 0Score: 

5 years ago:  how can i get schematic

By jozik 0Score: 

5 years ago:  Good idea! It works great for me. Thanks!

By feri 0Score: 

5 years ago:  lotfan begid chetor mishe kablesho sakht

By fadyl 0Score: 

5 years ago:  this programmer work with USB RS232 (DB9) converter?

By winy 0Score: 

5 years ago:   this programmer works with 16f870?

By asepHasanBasri 0Score: 

5 years ago:  thank you of your sain at this web
thank .................................1000 + + +

By Bala 0Score: 

5 years ago:  Its awsome...... Thank u....

By j. smith 0Score: 

5 years ago:  better to be safe and sure when placing the IC cause it will be a waste of money if the right way of inserting it is not followed...

By Jimmy 0Score: 

5 years ago:  Hi, when i connect the programmer both red and yellow led's are on, is there a problem with that? please if someone had the same problem help me.

By Cristian 0Score: 

5 years ago:  Where can I find the pcb layout, please?

By Gee99x 0Score: 

5 years ago:  Read the article and ye shall be surprised at what ye shall find.. http://www.circuit-projects.com/cimg/prg/PIC-and-EEPROM-Programmer.rar

By bassem 36 0Score: 

5 years ago:  thank you

By nOne 0Score: 

5 years ago:  I built this programmer and used it to program pic16f628 using ICProg but it gives me a 'Verify failed at address 0000h'. Then when i read the from the pic it's blank. By the way the power LED do light but it's not that bright compared to the Program LED and the Program LED flickers while ICProg try to write the on the IC but I don't see any lights from the CLOCK LED. I've been checking the circuit since last night and it seems alright. What do you think is the problem here.

By E_Jayson 0Score: 

5 years ago:  Hi, I built this programmer on a breadboard according to the schematic diagram. When I plug it in, the red led lights up. I used IC-Prog 1.06B when I read the 12C508 chip the yellow clock led also lights up. But when I programmed the chip, the green led doesn't light up. And I get this message:

No "Oscillator Calibration Value" found.
Do you want to use value from file (0FFFh) instead?
(Yes/No)

Either I choose yes or no, this message pops up when it starts verifying the PIC chip.

"Verify failed at address 0000h"

I check the diagram many times, and it was the same as it should be. I even try to set the serial port settings but it gives the same message again and again. I don't know if there was wrong with the VCC or MCLR voltages. As the others saying, it should reach about 13v & 5v. But when I test both output VCC/MCLR the maximum voltage I can read is only 5v max.

Is there something wrong with the schematic or it's just me with the wrong settings?

Any kind ideas how can I make it worked?

Thanks in advance:)
Philippine_Boy

By Mahe 0Score: 

5 years ago:  Hi Jayson, While the programmer is running, the yellow and the green LEDs shuld both blink. I think you have a connection error in somewhere.

By E_Jayson 0Score: 

5 years ago:  I checked the connections all night and there's nothing wrong at all.

In fact even when I open a hex file then clicked "PROGRAM ALL" and removed the PIC chip, IC-Prog continious to program without a chip. And gives again that message "Verify failed at address 0000h".

Same when I opened a hex file then clicked "Verify" it shows the same message "Verify failed at address 0000h".

On the other hand, here's my settings:

>>IC-PROG HARDWARE SETTING>COM1 PORT SETTING

By E_Jayson 0Score: 

5 years ago:  I almost forgot to ask,

what is an "Oscillator Calibration Value" anyway?

They said it can be found on the PIC's last memory, but I have no idea where I can find it.

Because this message always prompted when I clicked Program all...

No "Oscillator Calibration Value" found.
Do you want to use value from file (0FFFh) instead?
(Yes/No)

By E_Jayson 0Score: 

5 years ago:  >>IC-PROG HARDWARE SETTING>COM1 PORT SETTING

By Mahe 0Score: 

5 years ago:  Please use WinPic as the programmer. Choose your device and start programming. Sometimes ICProg causes problems. On the other hand, you can test your Vpp, clock and data LEDs/signals by using the "Interface" tab of WinPic. So you can understand where the problem is easier.

By Mahe 0Score: 

5 years ago:  Other notes,

- Choose your wires as short as possible (since you don't use a PCB, this point is the most important one.)
- Make sure your transistor connections are ok
- Check your diodes
- Check your resistors and LEDs
- Make sure you capacitance values are exactly same with the caps in the schematic
- Check your PGD, PGC, PGM , Vpp and GND connections. Try interchangin PGD and PGC lines, one time it worked for me.

By E_Jayson 0Score: 

5 years ago:  I can see that IC-Prog has hardware check, so the only thing I'm having problem is the green led.

On WINPIC I'm not able to program my PIC12C508 Chip, it doesn't support that chip and also it isn't include on the device list.

But on the other hand, I made the green led light "up" when I check MCLR on hardware check at IC-Prog also when I start programming. I changed the placement of "D1 diode" but when I test MCLR/VPP output, the voltage only reaches 5v same as VDD, it's also the same when I don't change any placement of the diodes on the original schematic. I'm very close on that one:)

About PGD & PGC lines, where should I switch it?
is it on the "DB9 female connector" or at the "IC socket"?

Also with wires, I used short as possible.

As for my Programmer... I broke it by now:)
I accidentally made a jumper between pins of "T1 transistor"

Anyway I'll try your suggestions later after I've repaired it.

Thanks for the tip:)
Philippine_Boy

By E_Jayson 0Score: 

5 years ago:  It's not the programmer I broke, I over supplied the voltage for MCLR/VPP. So my PIC12C508 burnt up :( and the output from pin4 is 0v.

But when I plugged my reserved PIC12C508 chip, the output of MCLR/VPP is 5v again.

Any suggestions how I can reach 13v output from MCLR/VPP/PIN4, I'm only having the problem measure of 5v output when I use hardware check on IC-prog and when clicking "Program all".

I think that's the problem why the program can't be embedded on any of the PIC chips, the power was insufficient.

(There's must be wrong with the value of components or the schematic diagram.) I have clearly built this programmer according to the right diagram, And nothings wrong with it, except that I built it on a breadboard.

The interchanging of PGD/PGC doesn't work either.

Any more ideas out there?

Thanks again:)
Philippine_Boy

By Thomas 0Score: 

5 years ago:  will this programmer grantee more programing times?
how many times?
i have bought an parallel programmer,so will program 16f84a just less than 60 time! after this, IC is converted to a trash!

By E_Jayson 0Score: 

5 years ago:  This programmer actually works!

I had made a mistake with the transistors. I've placed it wrong so it won't work on first time.

But now it works, I used it to program my PIC 12C508A. In less than a minute it's finish and verified successfully!

Thanks a lot!
Philippine_Boy

By Gerrie 0Score: 

5 years ago:  Can someone please help with the pin configuration between the progammer and the computer?

By Guru Prashanth 0Score: 

4 years ago:  Thanks Bro.

By Prashanth 0Score: 

4 years ago:  Some one please give me sugessions on preparing a quality PCB...

By Silver Aaron 0Score: 

4 years ago:  Hi firstly thanx for the great web site very useful with regards to downloading the pcb out lay what format is it saved under as i can not seam to open it with any of windows standard programs thanx very much looking forward to programming

By bharath 0Score: 

4 years ago:  hi,i am using usb to serial port. which software should be used ?

By mast3r 0Score: 

4 years ago:  wher to put pic 16f84 when you want to program it this shematic example of placement is a litle bit not understanduble

By asaf 0Score: 

4 years ago:  hi i build the programmer on a breadboard and have the Yellow & Red LED on but it dosn't works .
in the schematic one of the transistors EMITTER is in the worng side -- is it a mistake or i should connect it as show ?

By Prashanth 0Score: 

4 years ago:  The programmer gets initilized good....
Need Some help;
I get as below,
Info: Loading definitions for "PIC16F628" from devices.ini .
Couldn't find "C:\Program Files\Microchip\MPASM Suite\PIC16F628.dev", please borrow/copy from MPLAB !
need to program the same what do i do????

By Prashanth 0Score: 

4 years ago:  The programmer gets initilized good....
Need Some help;
I get as below,
Info: Loading definitions for "PIC16F628" from devices.ini .
Couldn't find "device\PIC16F628.dev", please borrow/copy from MPLAB !
need to program the same what do i do????

By bob ms 0Score: 

4 years ago:  This is very useful! make money

By HooGLaNDeR 0Score: 

4 years ago:  Does this also program the PIC 18F2455/4455/4550?

By Aser 0Score: 

4 years ago:  does it work with a serial to usb converter cable

By Aser 0Score: 

4 years ago:  does it work with a serial to usb converter cable

By Ricardo 0Score: 

4 years ago:  Hi,

Can you change the DB9 connector for a USB connector?

Thanks.

By shadow 0Score: 

4 years ago:  can i use BC549 or ZTX450 or anything else instead of BC337?

By shadow 0Score: 

4 years ago:  btw. can i have a complete description of the diodes (parts
like what is a 6v2 zenner diode or 5v1 is it 5v 1W?

By tats3l 0Score: 

4 years ago:  Thnx Thnx Thnx Thnx I work . The first programmer that I tried was that JMD Simple programmer , that didn't work , bunt this one work perfectly thnx, for the instructional, and have a nice day.

By rajinder 0Score: 

4 years ago:  hey can it program 18f452 ?

By Sourav 0Score: 

4 years ago:  Hi,
I did all connections correctly but no led s are blinking or illuminated. not even the RED LED. I did the following steps.
1. connected the serial cable.
2. connect to the programmer with other side of the cable.
no software was installed.

By ravibabu 0Score: 

4 years ago:  i was able to programme 16f84a, however not able to programme 16f873a (28 pin), help pls

By ali shaheen 0Score: 

4 years ago:  sir
i am having a problem......i had made it and using picpgm for burning....that software is detecting the device as JDM programmer...but not the IC.....I had tried with two different ICs but it is still not working...am using pic18f452....when i connect the serial port the red led glows...and when i open the software yellow led glows......without placing the pic when I press auto detect device....all three LEDs glows then i place the Ic in the 40pin zif socket...but still no detection from the software.....one more thing that I havnt made the ICSP port....so the Emitter of the second transistor is unused wld that be a problem.......please help.......!!!!!!!!!!

thnx
regards
ali shaheen

By ali shaheen -1Score: 

4 years ago:  its working thank you..........!!!!!!!!

By Chaitanya 0Score: 

4 years ago:  Grat this programmer working Great it takes only Half min.to program PIC16F628A.Working well.

By Obie 0Score: 

4 years ago:  hi, i want to know if this Programmer can program PIC 16LF628A, Thanks

By BullsEye 0Score: 

4 years ago:  shadow:
6V2 = 6,2V
5V1 = 5,1V

By Newbie 0Score: 

4 years ago:  can i ask? how to use the ICSP method? do we have to use all the 6 wires and connect it to the pins of the PIC16F84A?

By Newbie 0Score: 

4 years ago:  Can you help me how to program my PIC? I made my own PIC Programmer based from JDM Programmer but omitted the IC sockets. I am using the ICSP method. My PIC is placed on the breadboard and I'm just connecting the 4 wires from the programmer to its corresponding pin. Is it right to use only the 4 wires? or do i need external power supply?

By Fnrir 0Score: 

4 years ago:  Great!!!! Thank you.... I hope it will be working..

By electrocrat 0Score: 

4 years ago:  Hey people. I just finished soldering the circuit on PCB and burned a hex file successfully on a PIC16F628A using WinPic800 v3.63c. It works great. Thanks for the circuit!

By rejd 0Score: 

4 years ago:   anybody tried usb to serial converter for jdm programmer?

By nathan 0Score: 

4 years ago:  help it doesnt work the led does not glow all of them, what should be the problem and i saw the placement and the sv5 is shorted between the middle.Is that really be shorted? pls anyone help tnks

By nathan 0Score: 

4 years ago:  guys I have fix my burner but i cant program the 16F628A it errors at verification 000h address, the LED clock and program does not glow please any one help... thanks!

By electrocrat 0Score: 

4 years ago:  To use ICSP, I did the following connections:
1.Vdd to cathode of IN4148 diode and anode to Vcc of application circuit
2.Vpp similar to Vdd but with 10K resistor in between anode of the diode and Vcc of the circuit
3.Vss connected directly to ground
4.PGD and PGC depends on the application circuit. In mine they were connected to LED's through resistors.

Now whenever you want to program the PIC put off the application circuit power supply and then connect the ICSP wires coming from the programmer directly to the pins of the PIC which are specified. To do this easily keep a FRC male connector connected to the necessary pins of the PIC. The programmer wires should be wired to a FRC female connector so now you can just plug in the programmer when you want to program the PIC. After programming successfully disconnect (plug out) the programmer and then test your application circuit. Ive programmed a PIC16F628A exactly this way with success, but I dont know about the PGD and PGC pins if they are connected to something like Vcc or ground directly. Maybe in that case you'd have to connect a 1K resistor in between the pin and whatever its connected to so that the clock and data outputs of the programmer dont short out whilst programming.

By nathan 0Score: 

4 years ago:  hi electrocrat tnks, but is there any other option rather than that becuase it's my first time to use this PIC programmer. i only copied the PCB design but i did not use the 6 pins connector. The RED LED glows but the other two LED does not and after programming the 16F628A (using ICprog) it erros at verification address 000h...

thank you and Godbless!

Thank you alot

By GM 0Score: 

4 years ago:  It's already built one? Does it work? Thanks

By joanne 0Score: 

4 years ago:  I made this JDM programmer but i got problem with the ICprog configuration is it "windows api or directI/O"? in Direct I/O there is an error with the privileged instruction but in windows api the verification error occurs. I also try the winpic800 it's the same with the icprog.I'm using 16F628A & 16F628 please help tnks!

By zoel 0Score: 

4 years ago:  hi.....when i connect the circuit the red light and the green light is glowing but when i connect the PIC the red and green light is turned off? is it ok? if not what seems to be the problem?

By electrocrat 0Score: 

4 years ago:  The connections I have described were not found together at one place but took weeks to be found and verified. The easier option would be to solder a 18 pin IC base to the programmer PCB and plugging in the PIC whenever it has to be programmed. Thats what I had done for the very first time I jumped into the PIC world.
The Red LED glows and has to glow when you just connect the programmer to the serial port (this is normal). If it turns off when you connect the PIC that means you are either connecting the wrong pins of the PIC OR the PIC is faulty. I mount the PIC on breadboard along with the other stuff mentioned above and then
tap the 5 (actually 4 because ground can be connected anywhere) necessary pins to a corner where I can smoothly connect the FRC.
Now the error that you have mentioned is because of some loose connection to the PGD and PGC pins so check those paths in the PCB design. In WinPIC800 there is an option to check whether the programmer alone is working(dont know about IC Prog). Check if JDM programmer is selected in the settings. Check for proper transistor polarity or else there might be an open circuit or short circuit somewhere. I have been using the same circuit for a PIC16F877A without any trouble.

By Brystr0 0Score: 

4 years ago:  A word to the wise: VERIFY the BCE leads match your transistors and the ones used in this circuit. I used the NTE equivalent of the BC337 and the BCE was reversed.

By kai_raitei007 0Score: 

3 years ago:  i plugged it in the serial port but none of the LEDs lit up...

I checked the connections using a VOM but found nothing wrong...

What should be the problem behind this?

By Rattanaknak 0Score: 

3 years ago:  Hi does it work with usb port because my computer dosen't have serial port. Thank

By rouiche 0Score: 

3 years ago:  The program works like the magic
just check the connection between your programmer and com1
I try on my laptop and its working Parfet

By tester 0Score: 

3 years ago:  Hi guys i build up the JDM programmer also and i can say it works 100% with windows xp sp3 on modern PC even writting a HEX with code protection ACTIVATED...

i will explained how i tweaked it to avoid that silly error failed to verifi address 000h

1- make folder on disk C: hard drive with name IC-PROG
2- put icprog.bat + allow io.exe + porttalk.reg + portalk.sys on folder, then download ICPROG and put icprog exe in same folder
3- run icprog.bat to install xp drivers etc..
4- open ic prog and click on settings/options/select programming a device, erasing device
5- after select MISC and tick on the box from enable vcc control for jdm.
6- then selec process priority NORMAL
7- then on option programming tick box verify during programming
8- then on hardware selec JDM PROGRAMMER and select interface DIRECT I/O
9- then I/O delay 5 normally is 10, put it 5
10- and at last on the hardware check tick on box ENABLE MCLR this way it will output via the serial the 12v required to enter the pic into programming mode.

test and output results please.

By remaker 0Score: 

3 years ago:  Thank you for this programmer. I maded It on a perforated plate and it works perfect. The PIC I programmed was 16f84A on Windows 7 with WinPic (run it as administrator).

By SAM 0Score: 

3 years ago:  Hi there i just build this programer from scratch and every time I connect it to the desktop using Serial straight cable the GREEN and the RED stays on steady and the GREEN LED does not turn off so whats your recommendation about this and how do you fix it?? what area should i check to fix the problem??

thank you for everyone's tmee.

thank you.

By Joe Joe 0Score: 

3 years ago:  It really works! Thank u

By Yo 0Score: 

3 years ago:  Works great!! Thank you! My PIC16F84A is programed!

By badr-MOB 0Score: 

3 years ago:  hi ! i found the programmer is very intelligent and i wanna build one but i have to ask you please before this. can i delete the SV5 (ICSP) : 6 Pin Header Connector9 ? because i don't will use this connector. thanks a lot!

By Cristian 0Score: 

3 years ago:  Hi, thanks for the nice work.. but...

I follow all your instructions, did the circuit and connected it. Im using ICPROG with 16f88 and when i want to program anything it comes "verication failed". Neither yellow nor green leds are turning on.

I already verified the hardware. Is there anything i should have in mind about the config from ICPROG??? Please I will be glad if you answer!

By Sancho 0Score: 

3 years ago:  Will this Programmer work on Crome or SST 27SF512 chips

By shyam 0Score: 

3 years ago:  hi frnds i want to learn microcontroller's programing, with any simple softwares, idont knows any thing abt microcontrollers, tell me how to know to using of microcontrollers by my own. but i know pcb design.

By Ulle 0Score: 

3 years ago:  Hi guys I want to build one.
But there are thee different transistors:
BC 337-16
BC 337-25
BC 337-40
Which one should i use?

By Ulle 0Score: 

3 years ago:  Okay -.-
Now I used the BC 337-25.
The Programmer works great with WinPic! :)
But don't use a USB to RS232 converter!
I testet three different converters and no one
could write to my PIC (16F876). The software says that
deleting and reading is successful but im not sure to believe that.
The LEDs are many brighter in a real COM slot, too.

Thanke you for sharing this project ;)

By Tomo 0Score: 

3 years ago:  Hello!
I want ask something...
What kind of program I need for programming?
Thank you.

By HAve 0Score: 

3 years ago:  Hi, this programmer works with PIC18F2550?

By cee 0Score: 

3 years ago:  pic16f688 with winpic800 it is programming ok

By asdf 0Score: 

3 years ago:  hey
i m using 18f4520 n i have noticed sumthng
the PGM pin for 18f series is pin 38 and for 16f series is 36
here in the circuit it is connected to pin 36 which is ok for 16f series but needs to b changed for 18f series
i was nt able to get my device detected
i will change n try again

By mujtaba 0Score: 

3 years ago:  hy all,some body tell me about method of writee programing in WinPIC,How i can program pic for specific purpose,other words what is programing method of pic? like use LED blinking and LC Meter projects etc.thanks

By Narendra 0Score: 

3 years ago:  Cud you explain "SV5 (ICSP) : 6 Pin Header Connector9" is this jumper point? how is it use?

Thanks...!

:-)

By Narendra 0Score: 

3 years ago:  Cud you explain "SV5 (ICSP) : 6 Pin Header Connector9" is this jumper point? how is it use?

Thanks...!

:-)

By Angel 0Score: 

3 years ago:  the SV5 connector is used for in circuit serial programming
this means you can program a pic without removing it from the circuit that is being used

By Mr Kashif 0Score: 

3 years ago:  is this valid for 24c08 02 04 06 etc?

By Nuwan 0Score: 

2 years ago:  Hi, First of all have to say thank you for the circuit. I built it and it lights up the red, green and yellow led s when connected to the pc and when reading and programming the pic. What my problem is when programming it gives an error says pic programming failed. and even verifying error. It doesn't detect the pic it says "unknown". Am doing something wrong when placing the pic on the socket or is it something to do with the software. I use WinPic, WinPicpr, WinPic800 3.55, WinPic800 3.57. Nothing programs the chip. Any advice..

Thank you

Denis Kovalszky

2 years ago:  Can I use it for PIC18F1320?

Mark Harrington

2 years ago:  Nice design However !!

You need to be careful with this because the motherboards they are now producing don’t include a serial port

We are now at USB 3 which means that you will have to start looking at USB programmers

PS I also think this is wrong as RS232 / RS434 is still commonly used throughout the industry It also means extra driver files and 32 bit / 64 bit drivers The havoc and the money that this is costing the industry is phenomenal

If you consider just how many cutters routing, printing, embedded programmers there are out there never mind simple networks , modems , temperature sensors which rely on RS232 as a communications medium,"With very tight budgets etc " Some of these advance embedded device programmers cost some £400 plus That’s a lot of money to throw away all because a PC company cant simply adopt or keep a life long standard such as RS232 / RS 434 which are still IEEE standards Internationally accepted standards at that

That also means more companies’ close , terminate employment This is what I mean by just no thought what so ever for any other trade and Industry that utilizes RS434 / RS232 to embrace their roles within universal business but there you go How ever you could consider http://www.ftdichip.com which is the USB to serial conversion chip however

I’m not so sure every peace of software that has been purchased over the last five years will incorporate USB adaptation I know for a fact mine at present doesn’t

Not very helpful if you need to communicate and blow your chips with a serial port

Mark http://www.harrington.force9.co.uk

Mark Harrington

2 years ago:  Hi Sura

Heres a few more links for you might that might help you as well If I find anymore Ill update you on this

http://www.qsl.net/dl4yhf/winpic/

http://www.semis.demon.co.uk/uJDM/uJDMmain.htm

http://www.olimex.com/dev/pic-pg2.html

Hope this helps

Mark http://www.harrington.force9.co.uk

Mark Harrington

2 years ago:  Normally you only use 5 pins There are some notes on what they term as the low voltage programming mode they suggest that you don’t use this facility under normal conditions

Looking at the circuit diagram is shows two PGM grounds You only ever use one The reason for this is so that you can plug in different Chips into the sockets but the ISP header always only uses five pins

Its possibly a question that you might need to forward to MicroChip themselves or they will have covered low voltage programming and the why for’s , when’s within one of their datasheets

Personally to make this easier for yourselves I would opt for something like Win PIC which you can interface either from the parallel port if you have one or one of the com ports and then build a simple interface to achieve this

All diagrams are also shown on this page as well

Depending on the Pic micro you use each of the programming pins obviously change

Example

See http://www.qsl.net/dl4yhf/winpic/#shortdescr

This shows you quite clearly what the differences are between the various pic family ranges I.E. 12F 15F 18F and dispPic



All of this is explained on this page Hence why I gave you the links so that you could research this for yourselves

Hope that answers your question for you

Mark http://www.harrington.force9.co.uk

Mark Harrington

2 years ago:  There is also the pictwo light "< blueroomelectronics >" which is USB operational I have the circuits and project details should you want to download them although I have uploaded these to the site already

Mark

Lubos Racek
By Lubos Racek (0) 0Score: 

2 years ago:  is possible to program pic16f690 with this programmer? ..by some reorganising of pins? or something else?
Thanks!

Manuel Barrera

2 years ago:  Hello Mark.
I have built you PIC EEPROM programer.
But the red led deosn't light up.
I have built a serial cable 2-3, 3-2, 4-6, 6-4, 5-5, 7-8 and 8-7.
An other question
You call VDD the line connected to pin 5 of the serial conector, but this is GND of the serial connector. You hav also left unconnected the pin 2 wich is the Receive, you only have conected Transmit???
I realy don't undersant how this works!!

Regards
Manuel Barrera

JOSÉ GONÇALVES

2 years ago:  HI i found this project very interesting i have a question if i conect iner to outer socket pins can i use a universal zif socket like the ones in the programmers?

it think it should work please coment

thanks in advance

Waqas Ajmal
By Waqas Ajmal (0) 0Score: 

2 years ago:  when i connect the programmer red and yellow LED turned on is there any error in my circuit...??? i have just made the PCB from the files shared here...
i am trying to program PIC16F877A...

i am having the following errors...

WARNING: Could not initialize programmer !
Programming...
Erasing ("bulk" or "chip") ...
EraseAll: Device is protected, using CHIP erase
Programming CODE, 0x000000..0x000053
Verifying 0x000000..0x000053
Verify Error: 000000: read 000000, wanted 002816
Verify Error: 000001: read 000000, wanted 003FFF
Verify Error: 000002: read 000000, wanted 003FFF
Verify Error: 000003: read 000000, wanted 001283
More Verify Errors, unable to list all (total=76)
Programming CONFIG, 0x002000..0x002007
Verifying 0x002000..0x002007
Verify Error: 002007: read 000000, wanted 002F4A
Programming CONFIG-WORD
Verifying 0x002007..0x002007
Verify Error: 002007: read 000000, wanted 002F4A
ERROR: Programming FAILED !

and i am having 7 Volts maximum at my serial port... what to do now...???

please help me ... i am a beginner...

Jason R.G.
By Jason R.G. (0) 0Score: 

2 years ago:  Hi Wagas, hi all ... from Spain

From the begining this programmer looks good and finally it worked ok!! Thanks for all!!

I had the same situation than you Wagas with 2 lights (Red & yellow) switched on when connecting the programmer to port com, but if you reboot when still connected you can see only the red light is on and when opening windows then the yellow light is on with the red light. I rechecked the connections from the board to external comm port, the diodes and the rest of components including the jumpers. And all looked ok.

In my computer I changed in the BIOS in the COM menu from AUTO to COM1.
Then I installed the Winpic program configuring the COM port, then from FILE menu, LOAD AND PROGRAM DEVICE, then I selected .hex file and my PIC16F84A was programmed without any kind of problems.

Lets see if this comment help.

Bye all. Recomended webpage. Pls follow in this way.

Jason R.G.
By Jason R.G. (0) 0Score: 

2 years ago:  Hi again

Pls be in mind the pcb components list is showing
L1: GREEN, L2: RED, L3: YELLOW (I mounted on this way)

But the photo is showed the L1 as yellow, L2 as red and the L3 as green.

Bye all

butter worker
By butter worker (-1) -1Score: 

1 year ago:  This is a very bad circuit because of serial port of the computer is not protected. Better use this circuit of the univeral programmer

http://gzip.ru/home/universalnyj_programmator_avr_pic.htm

It can program PIC and AVR.
Bye

M F
By M F (0) 0Score: 

1 year ago:  Could you please answer the question from Manuel Barrera /see above/? I have exactly the same questions.

1. Vdd on pin 5 (GND)? How the L2 gets the Vdd?
2. Pin 2 not connected?
3. Could you describe the communication between pc (WinPic etc) and the programmer?

I built your programmer and it works 100%. Just a brief explanation of read/write process would be nice to comprehend....

florin Petreus

1 year ago:  Hi.
I have problem programming 16f870A.
When I plu in the cip the yellow led it lights up and I receive error on write even on read.
Can you help me with this problem?
Thanks

florin Petreus

1 year ago:  my mistake. Is 16F877A

Abhishek Kumar

1 year ago:  PIC16F630 is 16-pin Microcontroller, in the placement 16-pin is not shown, and in your supported list this IC is mentioned so tell me the placement position.

Thanks

Luis Del Mar
By Luis Del Mar (0) 0Score: 

1 year ago:  Hi...
The schemathic driagram have a mistake. It shows the 18 pin of the internal socket connected and in the printed board it's in air. please correct it cause some people will get confused as me right now. Thanks

RASÄ°M PAY
By RASÄ°M PAY (0) 0Score: 

1 year ago:  Greetings, I wonder if this program is currently employed, running Have a friend help you please get published. I want to do.

yehia ali
By yehia ali (0) 0Score: 

1 year ago:  can it work by using VGA instead of DB9

MMK MMK
By MMK MMK (0) 0Score: 

1 year ago:  Well I built this programmer on a vero-board but on programming my 12c508a uController I always get a No calibration value found (Click yes or no for value from xxxh file).... but on clicking either yes or no it always comes to this 0000h error! I have read the above posts and on following some instructions I checked my MCLR voltage during programming and it was around 13.49Volts and Vdd was somewhat 4.79Volts! So My question is what should i do now??? Plz help me on this!!!

Ayoub AKIL
By Ayoub AKIL (0) 0Score: 

8 months ago:  this programmer can programme 20 pins ?? like 16F690
please help!!

florin Petreus
By florin Petreus (-3) -3Score: 

8 months ago:  Better buy one from ebay. With 10 $ you will be pleased.
I have this programmer build by me, but doesn't work well.
This I have
http://www.ebay.com/itm/PIC-K150-USB-Automatic-Microcontroller-Programmer-ICSP-Download-cable-/281141302990?pt=LH_DefaultDomain_0&hash=item417553d6ce#ht_1261wt_684

Jason R.G.
By Jason R.G. (0) 0Score: 

1 month ago:  Hi Florin

You could, but in my opinion the DIY allows more practice.

Regards

Jason R.G.
By Jason R.G. (0) 0Score: 

1 month ago:  Hi Ayoub

No idea, but I have programmed 16f876 (48 pins), 16f84A, 16f628 successfully.

Regards

padmanaban .v
By padmanaban .v (0) 0Score: 

1 week ago:  can we erase a pre-programmed microcontrolller using this programmer? :)

Login or Register to post comments.
x
Like free stuff? Enter Here!
EEWeb Weekly Giveaway Sponsored by Mouser This Week:ARM BeagleBone Open Source Dev Board
Enter Here
Login and enter if you're already a member.
Click Here