Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:mt128 [2022/11/11 12:58]
darron [Olimex AVR MT128]
boards:mt128 [2022/11/21 19:06] (current)
darron
Line 9: Line 9:
  
 Plugging this board into a usbtiny or usbasp connected to a RPi Plugging this board into a usbtiny or usbasp connected to a RPi
-has the tendency to crash the Pi due to inrush current into this board.+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=== 
 + 
 +<code> 
 +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. 
 +</code> 
 + 
 +===Pinout=== 
 + 
 +==JTAG== 
 + 
 +__Male socket__ 
 +<code> 
 +  1 TCK  2 GND 
 +  3 TDO  4 5V 
 +K 5 TMS  6 RESET 
 +  7 5V   8 NC 
 +  9 TDI 10 GND 
 +</code> 
 + 
 +__Female plug__ 
 +<code> 
 +  2 GND   1 TCK 
 +  4 5V    3 TDO 
 +  6 RESET 5 TMS K 
 +  8 NC    7 5V 
 + 10 GND   9 TDI 
 +</code> 
 + 
 +K=KEY 
 + 
 +==ISP== 
 + 
 +__Male socket__ 
 + 
 +<code> 
 +  1 MOSI  2 5V 
 +  3 NC    4 GND 
 +K 5 RST   6 GND 
 +  7 SCK   8 GND 
 +  9 MISO 10 GND 
 +</code> 
 + 
 +K=KEY 
 + 
 +==RS-232== 
 + 
 +__DB9 female socket__ 
 + 
 +<code> 
 +5 3 3 2 1 
 + 9 8 7 6 
 +</code> 
 + 
 +<code> 
 +1 NC 
 +2 TXD 
 +3 RXD 
 +4 NC 
 +5 GND 
 +6 NC 
 +7 NC 
 +8 NC 
 +9 NC 
 +</code>
  
 ===Resources=== ===Resources===
Line 16: Line 92:
  
 [[https://www.olimex.com/Products/AVR/Development/AVR-MT128/resources/AVR-MT128.pdf|User manual]] [[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]]