Building STK500 AVR ISP Programmer With USB
Building STK500 AVR ISP Programmer With USB
Building STK500 AVR ISP Programmer With USB
with USB
ScienceProg 30 June, 2013Projects
Programmer is one of the first things to think of when starting to deal with microcontrollers.
Luckily it is not hard to build fully working programmer almost for any microcontroller as there
are tons of open source projects around. So I decided to build stk500 compatible programmer
which is actually taken from tuxgraphics.com. I decided not to search for same parts as in original
schematics but use whats on desk. As result I got mix of through hole and SMD soldered board
that works great.
Atmega8 is in DIP package which is easier to remove and program with other programmer
which can be a bit problem if building first programmer at all. Ask friends to program chip or use
dirty parallel port programmer to flash it.
In this programmer I used an USB miniB SMD Connector that came to my hands. There is also a
solder holes left in case you want to solder an USB cable directly. Programmer has 10 pin and 6
pin programmer headers. I usually use 6 pin ISP header, so I made cable only for this one.
Flashing Atmega8
Is I mentioned you need to program ATmega8 first before use. Latest firmware for it can be
found here. And dont forget to set fuse bits correctly. FYI fuse bits in PopnyProg should be as
follows:
Just a little note about ISP mode settings! If you are trying to flash new AVR where default
1MHz clock is running, you should select proper ISP frequency as it has to be less than the
target.
To flash 1MHz Atmega you should go with 115.2 kHz while 8MHz will do fine with 1.845 MHz.