USB+AVR-based flash programmer with flashrom serprog-protocol firmware*

First, here is a picture (left-to-right: usbavrbase, newadapter**, dip32adapter, plccadapter):

I will list files in the order you will need them to recreate this

NOTE: If you want to create something like this but a bit more fancier (and slightly experimental), contact me. I've done a re-design of these but not yet produced any...

Pcbs

Here are the EAGLE format files - the archives inside this archive are the gerbers.

I license them under CC-BY-SA 3.0.

Parts

This is a list of what parts I used (from digikey) to build one usbavrbase:
QTY PART NO Description
1 ATMEGA644PA-PU-ND IC MCU 8BIT 64KB FLASH 40DIP
1 768-1007-1-ND IC USB TO SERIAL UART 28-SSOP
1 SAM1213-50-ND CONN RCPT .100" 50POS SNGL TIN (Note: need 32/50 positions)
1 SAM1059-50-ND CONN HEADER 50POS .100" SNGL TIN (Need for base 3 (opt. 8); shared w/ a shield)
1 609-3657-ND USB RCPT B-TYPE R/A FULL BACK
1 3M5471-ND SOCKET IC OPEN FRAME 40POS .6" (optional, but useful)
4 445-4808-ND CAP CER 1.0UF 16V Y5V RAD
You will also need an USB cable and a jumper.

This is the list for one dip32adapter:
QTY PART NO Description
1 SAM1059-50-ND from above - Need 32/50.
1 3M5482-ND SOCKET IC OPEN FRAME 32POS .6"

This is the list for one plccadapter:
QTY PART NO Description
1 SAM1059-50-ND from above - Need 32/50.
1 ED90007-ND CONN SOCKET PLCC 32POS THRU HOLE

This is the list for one newadapter (PLCC & spi combo):
QTY PART NO Description
1 SAM1059-50-ND from above - Need 32/50.
1 ED90007-ND CONN SOCKET PLCC 32POS THRU HOLE
1 3M5473-ND SOCKET IC OPEN FRAME 8POS .3"

Also of note, for PLCC I like this tool (it is a bit expensive).

FT232R Initialization

Note: the below data with windows tool and so on is obsolete, but left there if you need it for something.

See this place for ftdi_eeprom and an example config file

I initially used an actual Windows XP PC for this, but also tested that MProg does work under VirtualBox running Windows XP.

You will need to program the EEPROM in the FT232R to provide 12Mhz clock to the AVR.
FTDI D2XX Drivers from ftdichip.com (32-bit windows), HTML page for other versions
MProg3.5 from ftdichip.com, HTML Page
Here is the EEPROM template file as generated by MProg3.5 for my settings (right-click + save-link-as).

Firmware

In order to flash the bootloader you will need this modified version of uisp. In my system it is installed as uisp_bbpg.

The serprog firmware is here. It is to be compiled with the avr-gcc toolchain and is licensed under GPLv2+

 

Contact
Name: Urja Rannikko
E-mail: <urjaman at gmail dot com>

 

* Equals a device I dont have a good name for....
** This is an another thing that I didnt name at all. It is newer than the others, duh.