Table of Contents

Olimex AVR MT128

mt128-lcd.jpg

mt128-pcb.jpg

Atmel ATmega128 development board.

Plugging this board into a usbtiny or usbasp connected to a RPi may crash the Pi due to inrush current. It is sensible to utilise a programmer which can disable (or not supply) target power and power this board using its AC input.

Test

avrdude -c usbtiny -p m128

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9702 (probably m128)

avrdude: safemode: Fuses OK (E:FF, H:09, L:CF)

avrdude done.  Thank you.

Pinout

JTAG

Male socket

  1 TCK  2 GND
  3 TDO  4 5V
K 5 TMS  6 RESET
  7 5V   8 NC
  9 TDI 10 GND

Female plug

  2 GND   1 TCK
  4 5V    3 TDO
  6 RESET 5 TMS K
  8 NC    7 5V
 10 GND   9 TDI

K=KEY

ISP

Male socket

  1 MOSI  2 5V
  3 NC    4 GND
K 5 RST   6 GND
  7 SCK   8 GND
  9 MISO 10 GND

K=KEY

RS-232

DB9 female socket

5 3 3 2 1
 9 8 7 6
1 NC
2 TXD
3 RXD
4 NC
5 GND
6 NC
7 NC
8 NC
9 NC

Resources

Product page

User manual

Fuse calculator

ATmega128 datasheet