Skip to content

Commit 8d955c8

Browse files
authored
Merge pull request #5623 from matthijskooijman/stk500-jtagice3
Support the Atmel STK500 and JTAGICE3 for ISP
2 parents 2870bae + dfea164 commit 8d955c8

File tree

1 file changed

+30
-13
lines changed

1 file changed

+30
-13
lines changed

hardware/arduino/avr/programmers.txt

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@ usbGemma.program.tool=avrdude
5656
usbGemma.program.extra_params=
5757
usbGemma.config.path={runtime.platform.path}/bootloaders/gemma/avrdude.conf
5858

59-
# STK500 firmware version v1 and v2 use different serial protocols.
60-
# Using the 'stk500' protocol tells avrdude to try and autodetect the
61-
# firmware version. If this leads to problems, we might need to add
62-
# stk500v1 and stk500v2 entries to allow explicitely selecting the
63-
# firmware version.
64-
stk500.name=Atmel STK500 development board
65-
stk500.communication=serial
66-
stk500.protocol=stk500
67-
stk500.program.protocol=stk500
68-
stk500.program.tool=avrdude
69-
stk500.program.extra_params=-P{serial.port}
70-
7159
## Notes about Dangerous Prototypes Bus Pirate as ISP
7260
## Bus Pirate V3 need Firmware v5.10 or later
7361
## Bus Pirate V4 need Firmware v6.3-r2151 or later
@@ -81,9 +69,38 @@ buspirate.program.protocol=buspirate
8169
buspirate.program.tool=avrdude
8270
buspirate.program.extra_params=-P{serial.port}
8371

72+
# STK500 firmware version v1 and v2 use different serial protocols.
73+
# Using the 'stk500' protocol tells avrdude to try and autodetect the
74+
# firmware version. If this leads to problems, we might need to add
75+
# stk500v1 and stk500v2 entries to allow explicitely selecting the
76+
# firmware version.
77+
stk500.name=Atmel STK500 development board
78+
stk500.communication=serial
79+
stk500.protocol=stk500
80+
stk500.program.protocol=stk500
81+
stk500.program.tool=avrdude
82+
stk500.program.extra_params=-P{serial.port}
83+
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+
jtag3isp.program.extra_params=
90+
91+
jtag3.name=Atmel JTAGICE3 (JTAG mode)
92+
jtag3.communication=usb
93+
jtag3.protocol=jtag3
94+
jtag3.program.protocol=jtag3
95+
jtag3.program.tool=avrdude
96+
# Set a bitclock of 0.1us (the fastest supported value). This should
97+
# work regardless of the crystal used, since JTAG doesn't use the MCU
98+
# clock but dictates its own clock.
99+
jtag3.program.extra_params=-B0.1
100+
84101
atmel_ice.name=Atmel-ICE (AVR)
85102
atmel_ice.communication=usb
86103
atmel_ice.protocol=atmelice_isp
87104
atmel_ice.program.protocol=atmelice_isp
88105
atmel_ice.program.tool=avrdude
89-
atmel_ice.program.extra_params=-Pusb
106+
atmel_ice.program.extra_params=-Pusb

0 commit comments

Comments
 (0)