Table of Contents

Mega2560

mega2560-1.jpg

Pinout

Arduino and clones using the ATmega2560.

JTAG

Enable jtag on arduino mega 2560

avrdude -B 5 -P `pavr2cmd --prog-port` -c avrisp2 -p m2560
avrdude -B 5 -P `pavr2cmd --prog-port` -c avrisp2 -p m2560 -e -U efuse:w:0xFD:m -U hfuse:w:0x18:m -U lfuse:w:0xFF:m

Test

avrdude -B 5 -c atmelice -p m2560
Pin Funcion
PF4 TCK
PF5 TMS
PF6 TDO
PF7 TDI

Resources

Data-sheet