Skip to content

Commit 75017fd

Browse files
Add support for the JTAGICE3 programmer
This adds the configuration needed to support JTAGICE3. Note that burning a bootloader doesn't work yet, due to bugs in avrdude. Uploading sketches works as expected.
1 parent 07bb9d8 commit 75017fd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

hardware/arduino/avr/programmers.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,31 @@ stk500.protocol=stk500
7575
stk500.program.protocol=stk500
7676
stk500.program.tool=avrdude
7777
stk500.program.extra_params=-P{serial.port}
78+
79+
# Note that until https://savannah.nongnu.org/bugs/?21954 and
80+
# https://savannah.nongnu.org/bugs/?42267 are fixed, burning a
81+
# bootloader does not work.
82+
# As a workaround, you can add -V to disable verification and modify
83+
# boards.txt to set all unused lock bits to 1 instead of 0.
84+
jtag3isp.name=Atmel JTAGICE3 (ISP mode)
85+
jtag3isp.communication=usb
86+
jtag3isp.protocol=jtag3isp
87+
jtag3isp.program.protocol=jtag3isp
88+
jtag3isp.program.tool=avrdude
89+
# Set a bitclock of 1us (the fastest supported value). This works for
90+
# microcontrollers running at 4Mhz and above.
91+
jtag3isp.program.extra_params=-B1
92+
93+
# Note that until https://savannah.nongnu.org/bugs/?21954 is fixed,
94+
# burning a bootloader does not work.
95+
# As a workaround, you can modify boards.txt to set all unused lock bits
96+
# to 1 instead of 0.
97+
jtag3.name=Atmel JTAGICE3 (JTAG mode)
98+
jtag3.communication=usb
99+
jtag3.protocol=jtag3
100+
jtag3.program.protocol=jtag3
101+
jtag3.program.tool=avrdude
102+
# Set a bitclock of 0.1us (the fastest supported value). This should
103+
# work regardless of the crystal used, since JTAG doesn't use the MCU
104+
# clock but dictates its own clock.
105+
jtag3.program.extra_params=-B0.1

0 commit comments

Comments
 (0)