Add xplainedpro_pdi programmer

This will fix https://github.com/avrdudes/avrdude/issues/1143.

Xplained Pro should be able to support PDI mode as per the documentation.

Reference: take note that the following document does not cover UPDI support.
https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf

Reference discussion:
* https://github.com/avrdudes/avrdude/pull/1139#issuecomment-1286760773
* https://github.com/avrdudes/avrdude/discussions/1019#discussioncomment-3569440
This commit is contained in:
mcuee 2022-10-23 14:24:57 +08:00 committed by GitHub
parent b864d7e73a
commit 4a5efa7635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -2044,6 +2044,20 @@ programmer
usbpid = 0x2111;
;
#------------------------------------------------------------
# xplainedpro_pdi
#------------------------------------------------------------
programmer
id = "xplainedpro_pdi";
desc = "Atmel AVR XplainedPro in PDI mode";
type = "jtagice3_pdi";
prog_modes = PM_PDI;
connection_type = usb;
usbpid = 0x2111;
hvupdi_support = 1;
;
#------------------------------------------------------------
# xplainedpro_updi
#------------------------------------------------------------