Skip to content

Commit 53f4316

Browse files
authored
Merge pull request avrdudes#1976 from MX682X/main
Option to keep Vcc on for PICkit4/5 after exit
2 parents 5840859 + 5808edf commit 53f4316

File tree

10 files changed

+324
-323
lines changed

10 files changed

+324
-323
lines changed

src/avrdude.1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,8 +2098,9 @@ Show help menu and exit.
20982098
.El
20992099
.El
21002100
.Ss Programmers accepting exitspec parameter
2101-
Currently, only the flip2, linuxspi, linuxgpio, raspberry_pi_gpio and old school parallel
2102-
port programmers such as stk200 and dapa support exitspec parameter.
2101+
Currently, only the flip2, linuxspi, linuxgpio, raspberry_pi_gpio,
2102+
pickit4_mplab, pickit5 and old-school parallel port programmers such as
2103+
stk200 and dapa support exitspec parameter.
21032104
These let the user decide in which state the programmer pins after ended programming session.
21042105
Multiple exitspec options can be separated with commas.
21052106
.Bl -tag -offset indent -width indent
@@ -2152,6 +2153,13 @@ This option will leave the 8 data pins on the parallel port active.
21522153
This option will leave the 8 data pins on the parallel port inactive.
21532154
.Pq \&i. \&e. Em low
21542155
.El
2156+
.It Ar Pickit 4 (MPLAB)
2157+
.It Ar Pickit 5
2158+
.Bl -tag -offset indent -width indent
2159+
.It Ar vcc
2160+
This option will leave the power supply from the programmer enabled after
2161+
avrdude finished the operation. Disabled by default.
2162+
.El
21552163
.El
21562164
.Sh FILES
21572165
.Bl -tag -offset indent -width /dev/ppi0XXX

src/doc/avrdude.texi

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,8 @@ see the extended options of the chosen programmer.
11871187
@cindex Option @code{-x} parallel port programmers
11881188
@cindex @code{-x} parallel port programmers
11891189

1190-
Currently, only the @code{flip2}, @code{linuxspi}, @code{linuxgpio},
1191-
@code{raspberry_pi_gpio} and old school parallel port programmers such
1190+
Currently, the @code{flip2}, @code{linuxspi}, @code{linuxgpio}, @code{raspberry_pi_gpio},
1191+
@code{pickit4_mplab}, @code{pickit5} and old-school parallel port programmers such
11921192
as @code{stk200} and @code{dapa} support @code{-E} exitspec parameter options.
11931193
These let the user decide in which state the programmer pins after ended
11941194
programming session. AVRDUDE only allows one @code{-E} option. However,
@@ -1257,6 +1257,20 @@ This option will leave the 8 data pins on the parallel port inactive
12571257
(i.e. low).
12581258
@end table
12591259

1260+
@cindex Option @code{-x} pickit4_mplab, pickit5
1261+
@cindex @code{-x} pickit4_mplab, pickit5
1262+
@item Pickit 4 (MPLAB)
1263+
@itemx Pickit 5
1264+
1265+
@table @code
1266+
@cindex Option @code{-E} vcc
1267+
@cindex @code{-E} vcc
1268+
@item vcc
1269+
This option will leave the power supply from the programmer enabled after
1270+
avrdude finished the operation. Disabled by default.
1271+
1272+
@end table
1273+
12601274
@end table
12611275

12621276
@page
@@ -1420,6 +1434,8 @@ this setting will be ignored. When AVRDUDE detects an external voltage outside
14201434
of this range, it will terminate the operation. You can disable this check by
14211435
setting the voltage to 0@w{ }V. If an XMEGA part was selected, a requested voltage
14221436
above 3.49@w{ }V will lead to an abort of operation.
1437+
Usually, the programmer will stop providing power when the session ends.
1438+
To continue to power the target you can use the @code{-E vcc} option.
14231439
@item hvupdi
14241440
High-voltage UPDI programming is used to enable a UPDI pin that has previously
14251441
been set to RESET or GPIO mode. Use @code{-x hvupdi} to enable high-voltage UPDI

0 commit comments

Comments
 (0)