Ensure avrdude.conf (programmer, part) pairs allow max one programming mode

This commit is contained in:
Stefan Rueger 2022-09-21 12:12:06 +01:00
parent 4c29edbc41
commit 9e836d7988
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 7 additions and 7 deletions

View File

@ -1709,7 +1709,7 @@ programmer
id = "jtagmkII"; id = "jtagmkII";
desc = "Atmel JTAG ICE mkII"; desc = "Atmel JTAG ICE mkII";
type = "jtagmkii"; type = "jtagmkii";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
baudrate = 19200; # default is 19200 baudrate = 19200; # default is 19200
; ;
@ -1830,7 +1830,7 @@ programmer
id = "dragon_jtag"; id = "dragon_jtag";
desc = "Atmel AVR Dragon in JTAG mode"; desc = "Atmel AVR Dragon in JTAG mode";
type = "dragon_jtag"; type = "dragon_jtag";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
baudrate = 115200; baudrate = 115200;
; ;
@ -1918,7 +1918,7 @@ programmer
id = "jtag3"; id = "jtag3";
desc = "Atmel AVR JTAGICE3 in JTAG mode"; desc = "Atmel AVR JTAGICE3 in JTAG mode";
type = "jtagice3"; type = "jtagice3";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
usbpid = 0x2110, 0x2140; usbpid = 0x2110, 0x2140;
; ;
@ -1984,7 +1984,7 @@ programmer
id = "xplainedpro"; id = "xplainedpro";
desc = "Atmel AVR XplainedPro in JTAG mode"; desc = "Atmel AVR XplainedPro in JTAG mode";
type = "jtagice3"; type = "jtagice3";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
usbpid = 0x2111; usbpid = 0x2111;
; ;
@ -2051,7 +2051,7 @@ programmer
id = "atmelice"; id = "atmelice";
desc = "Atmel-ICE (ARM/AVR) in JTAG mode"; desc = "Atmel-ICE (ARM/AVR) in JTAG mode";
type = "jtagice3"; type = "jtagice3";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
usbpid = 0x2141; usbpid = 0x2141;
; ;
@ -2091,7 +2091,7 @@ programmer
id = "atmelice_dw"; id = "atmelice_dw";
desc = "Atmel-ICE (ARM/AVR) in debugWIRE mode"; desc = "Atmel-ICE (ARM/AVR) in debugWIRE mode";
type = "jtagice3_dw"; type = "jtagice3_dw";
prog_modes = PM_PDI | PM_debugWIRE; prog_modes = PM_debugWIRE;
connection_type = usb; connection_type = usb;
usbpid = 0x2141; usbpid = 0x2141;
; ;
@ -2117,7 +2117,7 @@ programmer
id = "powerdebugger"; id = "powerdebugger";
desc = "Atmel PowerDebugger (ARM/AVR) in JTAG mode"; desc = "Atmel PowerDebugger (ARM/AVR) in JTAG mode";
type = "jtagice3"; type = "jtagice3";
prog_modes = PM_JTAG | PM_JTAGmkI | PM_XMEGAJTAG | PM_AVR32JTAG; prog_modes = PM_JTAG | PM_XMEGAJTAG | PM_AVR32JTAG;
connection_type = usb; connection_type = usb;
usbpid = 0x2144; usbpid = 0x2144;
; ;