you can programe may microcontroller by using this schematic , all you need to do is that find out the data sheet of that mcu you want to program and check the pin configration. and the look for PIN PGC(clock)PGD(data) Vpp(/MCLR) and the power Vss And Vdd like shown in the image blow.

example of other microcontroller prgamming connections

Winpic 800:The Programming software

To be able to send hex file from your computer to PIC microcontroller you will need to download and install Windpic 800. After the installation, the first thing you will need to do is configure Winpic to work with our PIC Programmer. To do this go to "Setting" menu and select "Harware setting". The following window will be shown and highlighted areas show you exactly which options should be selected.

NowJust connect you programmer circuit to the com port Click on hardware test button in the tool bar, if hardware test is okey then click on just right side button 'detect device' as soon as your devide is detected.

now you are all set to open you hex file and load in to the mcu. to start programming press the Program all Button in the tool bar. wait for a while to finish the programming.when the programming is going on the led must be glowing.

Hello.I designed the circuit on a breadbaoard exactly as shown. and followed every single instruction. Now 1)when i test hardware. it shows unknown device. But the led glows while testing.2)when i try to erase it shows that the device has been erased but the previous program remains in it.the led glows as usual3)when programming it gives an error message although the led blinks for some time.But the program dosent run.

Im using a pic16f877a. I checked the datasheet and connected to the required pins. Please help.

Sry for my late reply.No it blinks and stops when the operation is in progress.Like when im testing the hardware. It blinks for some time and shows unknown hardware.

The simplicity of the programmer encouraged me to try it out. It would be of great help for me and my friends if i can make it work. Else i will have to buy one. :( Anyway i will be checking the connections. But if the connections are wrong it used to give a 'no response ' error.

ok i made some progress.I found that i had made an error in the connection of BC547.the software can now detect the device and erase any pre-written program.But when i am writing a new program. it gives the following error.'ERROR-> Writing address 0x000000Written : 0x2C89 Read : 0x3FFFF'

thank u for ur patience regarding my problem.I did the whole circuit again.It can detect the device and erase but i am getting a new error message for programming-'ERROR-> Writing address 0x000000Written : 0x2842 Read : 0x2800' Is there any other changes in the software i should do other the screenshots u gave?

actually im asking you is the same data x2800 is being written to the mcu even if the data to be written is diffrent

the screen shots are really engough to get thi worked

i personnaly tested and used this with the same settings years ago when i start dealing with pic mcunow the only thing i can suggest you that put the current circuit on side way and make a new one with saprate new components

This thing will not work on all modern pC's.. The ATX specs for Serial ports have lowered port voltages and hence will only give read and write errors. The only option is to buy or build a PICKIT2 or 3 which runs on USB. I have tried building all sorts of programmers, serial/parallel and of different types, none would run on my computer and finally bought a pickit2 for 1300rs, which works so fine and easy and can be used with laptops too..

Hi Gaurav, that's a great effort! Could save some bucks for occasional PIC user.

You mentioned that it's not USB2Serial comptible"Does not support the usb to serial converter"

What's the reason for it - software incompatibility or serial converter can't drive enough current for the programming? How to modify that scheme so it's still cheap but can be used with USB - not many modern laptops have the COM any more?

hello sir , my lap dont have serial port so i have to use usb to serial converter ,so pls do any modification is usb to serial software to make compactable to this type of circuits ,or make any thing to make work for converter type connectors.i am using pic16f877& 16f73.

but you may or may not need oscillator when using that programmed device in the application circuit. it totally depend on weather your device have an internal oscillator and if there is an internal oscillator then it should properly configured and enabled by the proper configuration bits.

hellow sir I am using a laptop of 15pin com port but ur design is for 9 pin, I have tried it using a 15pin com port to 9 pin com port cable but it dosent work can u please help me???? I am trying it from so many months but still failed.

I notice that your schematic and the picture of "Pin Configuration of a serial port" have seen something error and confusing my mind, the "Pin Configuration of a serial port" said that the "pin 4" is not used, but on your "schematic" is having a connection on the "pin 4" may you please clarify this error/s

the serial port pin-out image is just to give you brief idea how the pins of the serial port on the back of the PC looks like this image give only the pinouts, the term "not used" does not concern to this application. that image is given in general, only for the pinouts thats all .

I've assembled your JDM programmer but I cannot seem to make it work properly after PC connection is made, perhaps you could enlighten me?

When using WinPIC800: - at *detect PIC* it says "DETECTED -> unknown" on the status log window - at *hardware test* it says "ERROR -> hardware is not responding"erasing works without error messages, also read works but LED does not give away any light in WinPIC800 (It did when performing any action but I found out I had bad connection in 10k resistor [after MCLR] to ground and it just stays off since connection was fixed)

I have double-checked and confirmed that all connections are correct.

I have also tried other JDM-compatible programming software such as ICprog, althogh it does not have 18F2550 support, I wanted to make sure the circuitry was ok, and the LED gives light when performing actions but result is the same: it fails writing operation.

thanks for circuit diagram,Pls I've made the circuit on a breadboard,but when i connect the power to the circuit the led doesn't lit(doesn't glow) and thewinpic app doesn't detect my hardware,when i measured the TX signal Pin 3 on the serial port i found it -10V and when start programming it doesn't change,pls advice

hellogreat simple circuit... i haven't thougt to find some good alternative to the pikkit3, because my company don't want to buy one since i'm the only one able to use it. But am i able to programm my pic 18f46k22?

I assembled the circuit. But my PC doesn't have 9 Pin D connector. So I bought a USB to 9 pin D connector adapter. Now the mikroPrgram doesn't detect the MCU. It shows always 'Disconnected' Status. Now how to program the chip. Plz help

Search This Site

About Me

I am an Electronics/Software Design Engineer.
Anybody have questions about Embedded system design and software system design may ask questions here. if you have custom project in mind please ask for quote.