====Olimex AVR MT128==== {{boards:mt128-lcd.jpg?200}} \\ \\ {{boards:mt128-pcb.jpg?200}} 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=== [[https://www.olimex.com/Products/AVR/Development/AVR-MT128/|Product page]] [[https://www.olimex.com/Products/AVR/Development/AVR-MT128/resources/AVR-MT128.pdf|User manual]] [[https://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega128&LOW=CF&HIGH=09&EXTENDED=FF&LOCKBIT=FF|Fuse calculator]] [[https://ww1.microchip.com/downloads/en/DeviceDoc/doc2467.pdf|ATmega128 datasheet]]