Programmers For AVR Serial & Parallel

July 31, 2009 by admin · 14 Comments
Filed under: Uncategorized 

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

pinout-25-female-D-type-connector

prog_pins_DB25

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

serial prog electroons

Pony Prog Interface Setup for Programmer

ponyprog

pinout.O300.console.port


Another Serial Port Programmer (PonySer)

ponyserPonyProg Interface  setup for This Programmer

ponyser

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