Programmers

All on one SLOW page
Serial Port
Parallel Port
Smart Programmers
Serial Loaders

Projects

ATmega8 Serial LCD
ATtiny2313 Serial LCD
ATtiny4313 Serial LCD
ATmega328 SIRC
ATtiny2313 SIRC
40-pin Dev Board
28-pin Dev Board
AVR PS/2 Keyboard
AVR MAX232 RTS/CTS
AVR Dual RS232 Ports

Minimal Circuits

ATmega16
ATmega32
ATmega644
ATmega1284
ATmega8515
ATmega8535
ATmega8
ATmega48
ATmega88
ATmega168
ATmega328
ATmega162
ATmega128
ATtiny13
ATtiny2313
ATtiny4313
ATtiny24
ATtiny84
ATtiny25
ATtiny45
ATtiny85

Other Stuff

ATtiny13 vs ATtiny85
ATmega8 vs ATmega88
ATmega16 vs ATmega164
ISP and SPI
MAX232 Arduino
A small FAQ
Hardware Info

ATmega128 Test Circuit Diagram

This schematic shows the Atmel ATmega128 circuit as it was built for it's test. It isn't quite as easy as hooking up power and going. The ATmega128 microcontroller is in a 64-pin TQFP package, so I used a SchmartBoards 202-0009-02 to hold the microcontroller, with the reset button, crystal and caps, power supply, programming connector, and all of the I/O connectors on a larger board. I'm changing the I/O connectors from the Arduino type, which are handy for stacking or for plugging in a few individual wires, to 10-pin IDC connectors, which each carry the signals from an 8-bit port plus 5V and ground.

Programming went fairly well. I can't get the board to even be recognized in the Arduino or Wiring environments, but avrdude has no problem programming it with any of the programmers. I uploaded the BD Micro "WiringBoot_Mavric-IIB.hex" bootloader to it and it verified. I can't run it because the crystal on the Mavric-IIB is 14.7456 MHz, and mine is 16 MHz. The Baud rate wouldn't match, and I don't have access to the bootloader source. The blink test program runs as expected. The board pulls 35.4 mA @ 5VDC from the regulator when the ATmega128 is running at 16 MHz.

A side note - the ISP programming port on this MCU is a "dedicated" SPI port to programming, but it shares SCK. Similar to the ATmega64.

Atmel ATmega128 Datasheet

Here you can find the current ATmega128 datasheet

Schematic Diagrams

Parts

Notes

The assembly is tricky. I picked up a SchmartBoard 32-80 TQFP to through-hole PC board, added headers all around, mounted the MCU, then put that assembly on a Twin 4 x 5 perfboard with plated through holes. Everything but the MCU is on that perfboard. The MCU board mounts in female headers. Be prepared for the insertion force of all of those pins. The crystal, reset pullup resistor, and some bypass caps are directly under the MCU board.