Programmers For AVR Serial & Parallel
Programming Hardware for AVR’s
As hobbyist we always search for some good & cost effective programmer hardware for our specific microcontroller. Here i am trying to describe how to make some serial & parallel port based programmer that supports standered development tools like WinAVR, PonyProg etc.
- Simple serial programmer (PonyProg compatible)
- Serial Programmer (WinAVR compatible)
- Parallel Port BSD Prog
Parallel Port Programmer
First let us discuss Parallel Port BSD Programmer. Originally from http://www.bsdhome.com/avrdude/. This programmer is very easy to make and as easy to use. This is a SPI based programmer, Serial peripheral Interface facility present in AVR series is very useful for programming the controller. Pins used on AVR is MOSI, MISO, SCK, RESET. Few resisters and thats it. Be careful with resisters do not skip any of them. Here is the circuit diagram.
Parallel Port PinOut
This programmer is compatible to WinAVR. In Makefile mention programmer as “bsd” and port as lpt1.
Note- To use this programmer in WinAVR you have to install drivers because Windows XP do not allow direct access to LPT port. Goto WinAVR install directory in your Windows Drive (Usually C:/), goto bin directory there you will find a batch file named as install_giveio.bat run that file. This will install LPT driver. Now you are done to use this bsd programmer with WinAVR.
Serial PORT Programmer Compatible to PONYPROG
Pony Prog Interface Setup for Programmer
Another Serial Port Programmer (PonySer)
PonyProg Interface setup for This Programmer
NOTE
This programmer is directly compatible to both PonyProg as well as WinAVR. In WinAVR you can use this programmer by specifying programmer as “ponyser” while cofiguring MAKEFILE.
devesh@electroons.com
Comments
14 Comments on Programmers For AVR Serial & Parallel
-
deveshsamaiya on
Wed, 5th Aug 2009 7:43 am
-
ggvw on
Tue, 15th Sep 2009 2:46 pm
-
ajay on
Mon, 12th Oct 2009 8:46 am
-
admin on
Wed, 4th Nov 2009 12:58 pm
-
Marian Neagu on
Tue, 10th Nov 2009 3:14 pm
-
admin on
Tue, 10th Nov 2009 3:43 pm
-
Marian Neagu on
Tue, 10th Nov 2009 3:47 pm
-
Marian Neagu on
Tue, 10th Nov 2009 3:50 pm
-
admin on
Tue, 10th Nov 2009 4:05 pm
-
Marian Neagu on
Wed, 11th Nov 2009 2:13 am
-
SAM on
Wed, 11th Nov 2009 2:23 am
-
Royael on
Wed, 25th Nov 2009 6:28 am
-
Priyanka tiwari on
Thu, 1st Apr 2010 1:56 am
-
admin on
Fri, 2nd Apr 2010 2:15 am
What changes should be made to the MakeFile if we are using bsd programmer in WinAVR.
I tried the “Serial PORT Programmer Compatible to PONYPROG”… and it works!
It’s the easiest programmer I’ve found so far, one that requires just 3 resistors, a connector and some wires.
I’m building hex files with winavr and loading them with ponyprog using this programmer. Looks like it works with my attiny13 and atmega16 microcontrollers.
Is this both circuit can work on atmega32 processor or not??also can i use usb to parallel printer port for programing with my laptaop??
@ajay…
Yes all these circuit work on Mega32….I didnt tested USB to parallel converter but usb to serial definitely works.
Please tell me what settings do I have to do on my COM1 to get the “Serial PORT Programmer Compatible to PONYPROG” working with an usb to serial converter?
I mentioned that on other computer with serial port work just fine.
Thank you
ok Marian you just need to find out what number is the virtual com port made by USB-Serial has?? Usually it is com3 or com7 etc.
If you are using windows
Go to My Computer(Right Click) –> Properties –> Hardware –> device manager…
there you will find what is the number of virtual com port….choose the same number on Ponyprog setup..
I did this, this settings are ok, but still not working with adapter. I figure might be some settings on “advanced” tab on com port. Thank you for rapid answer
and something more: when I setup ponyprog to SI PROG I/O, all ports are disabled, only in SI PROG API it let me choose the port. Could this be the reason?
no i think this is not the problem…. Check the Invert RESET box..and choose SI PROG IO…. On my side it let me choose the port. Although the Probe button will result in Test Failed but will program the device. Well i didnt check it with USB to serial…Let me know the bug if you rectify it…
I try to fix it all night long, but no success. Maybe my adapter will be the problem. I will try to find a new adapter and see wat’s happend
PL2303 compatible adapter will work..others may not work…
PonyProg is based on Bitbanging. USB to Serial Adapter are generally not supported. If supported then it will take much time to function.
chaeck the discussio of this Link.
http://extremeelectronics.co.in/avr-tutorials/part-iii-making-programmer-and-target/
Plz. Give d code 4 hw 2 implememt pid in line followin robot?
http://www.ermicro.com/blog/?p=1163
check this…
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!









