Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PicKit4 and SNAP programmers #791

Merged
merged 2 commits into from
Jan 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/avrdude.1
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ The Atmel DFU bootloader is supported in both, FLIP protocol version 1
(AT90USB* and ATmega*U* devices), as well as version 2 (Xmega devices).
See below for some hints about FLIP version 1 protocol behaviour.
.Pp
The MPLAB(R) PICkit 4, MPLAB(R) SNAP, and Curiosity Nano boards are
supported in UPDI mode. The Curiosity Nano board is dubbed
The MPLAB(R) PICkit 4 and MPLAB(R) SNAP, are supported in ISP, PDI and UPDI mode.
The Curiosity Nano board is supported in UPDI mode. It is dubbed
.Dq PICkit on Board ,
thus the name
.Pa pkobn_updi .
Expand Down
32 changes: 32 additions & 0 deletions src/avrdude.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -1274,6 +1274,22 @@ programmer
usbpid = 0x2177, 0x2178, 0x2179;
;

programmer
id = "pickit4_pdi";
desc = "MPLAB(R) PICkit 4 in PDI mode";
type = "jtagice3_pdi";
connection_type = usb;
usbpid = 0x2177, 0x2178, 0x2179;
;

programmer
id = "pickit4_isp";
desc = "MPLAB(R) PICkit 4 in ISP mode";
type = "jtagice3_isp";
connection_type = usb;
usbpid = 0x2177, 0x2178, 0x2179;
;

programmer
id = "snap_updi";
desc = "MPLAB(R) SNAP in UPDI mode";
Expand All @@ -1282,6 +1298,22 @@ programmer
usbpid = 0x217F, 0x2180, 0x2181;
;

programmer
id = "snap_pdi";
desc = "MPLAB(R) SNAP in PDI mode";
type = "jtagice3_pdi";
connection_type = usb;
usbpid = 0x217F, 0x2180, 0x2181;
;

programmer
id = "snap_isp";
desc = "MPLAB(R) SNAP in ISP mode";
type = "jtagice3_isp";
connection_type = usb;
usbpid = 0x217F, 0x2180, 0x2181;
;

programmer
id = "pkobn_updi";
desc = "Curiosity nano (nEDBG) in UPDI mode";
Expand Down
4 changes: 2 additions & 2 deletions src/doc/avrdude.texi
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ The Atmel DFU bootloader is supported in both, FLIP protocol version 1
(AT90USB* and ATmega*U* devices), as well as version 2 (Xmega devices).
See below for some hints about FLIP version 1 protocol behaviour.

The MPLAB(R) PICkit 4, MPLAB(R) SNAP, and Curiosity Nano boards are
supported in UPDI mode. The Curiosity Nano board is dubbed ``PICkit on
The MPLAB(R) PICkit 4 and MPLAB(R) SNAP are supported in ISP, PDI and UPDI mode.
The Curiosity Nano board is supported in UPDI mode. It is dubbed ``PICkit on
Board'', thus the name @code{pkobn_updi}.

SerialUPDI programmer implementation is based on Microchip's
Expand Down