Most of the ATMEL programmers I have in my fundus such as the JTAGICE MK2, the JTAGICE3 and the AVR Dragon are not enabled in the Arduino-IDE by default.
Especially the AVR-Dragon and its high voltage programming option is very useful when using all the IOs of ATtinys or when recovering from bricked AVR due to lock-outs by wrong fuse settings.
But because Arduino uses avrdude to program the microcontrollers, every programmer that is supported by avrdude can nevertheless be used by adding some lines to the file programmers.txt
in your Arduino config folder.
This are my additions to programmers.txt
.
jtag2isp.name=JTAGICE MkII ISP
jtag2isp.communication=usb
jtag2isp.protocol=jtag2isp
jtag2isp.program.tool=avrdude
jtag2isp.program.protocol=stk500v2
jtag2isp.speed=115200
jtag2isp.program.extra_params=-Pusb
jtagice3.name=JTAGICE3 ISP
jtagice3.communication=usb
jtagice3.protocol=jtag3isp
jtagice3.program.protocol=jtag3isp
jtagice3.program.tool=avrdude
jtagice3.program.extra_params=-Pusb -B22
dragon_isp.name=AVR Dragon ISP
dragon_isp.communication=usb
dragon_isp.protocol=dragon_isp
dragon_isp.force=false
dragon_isp.program.protocol=dragon_isp
dragon_isp.program.tool=avrdude
dragon_isp.program.extra_params=-Pusb
dragon_hvsp.name=AVR Dragon HVSP
dragon_hvsp.communication=usb
dragon_hvsp.protocol=dragon_hvsp
dragon_hvsp.program.protocol=dragon_hvsp
dragon_hvsp.program.tool=avrdude
dragon_hvsp.program.extra_params=-Pusb
dragon_pp.name=AVR Dragon HVPP
dragon_pp.communication=usb
dragon_pp.protocol=dragon_pp
dragon_pp.force=false
dragon_pp.program.protocol=dragon_pp
dragon_pp.program.tool=avrdude
dragon_pp.program.extra_params=-Pusb
dragon_dw.name=AVR Dragon Debug Wire
dragon_dw.communication=usb
dragon_dw.protocol=dragon_dw
dragon_dw.program.protocol=dragon_dw
dragon_dw.program.tool=avrdude
dragon_dw.program.extra_params=-Pusb
dragon_jtag.name=AVR Dragon JTAG
dragon_jtag.communication=usb
dragon_jtag.protocol=dragon_jtag
dragon_jtag.program.protocol=dragon_jtag
dragon_jtag.program.tool=avrdude
dragon_jtag.program.extra_params=-Pusb