Skip to content

Commit 202b6ca

Browse files
committed
bug #58994: VPP PWM still enabled at the end of programming process
Submitted by Dmitrii Chernukhin: * pickit2.c (pickit2_disable): turn off VPP before shutting down git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1508 81a1dc3b-b13d-400b-aceb-764788c761c2
1 parent 6f69ddb commit 202b6ca

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2021-12-06 Joerg Wunsch <[email protected]>
2+
3+
Submitted by Dmitrii Chernukhin:
4+
bug #58994: VPP PWM still enabled at the end of programming process
5+
* pickit2.c (pickit2_disable): turn off VPP before shutting down
6+
17
2021-12-05 Joerg Wunsch <[email protected]>
28

39
* configure.ac (AC_INIT): Bump version date

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Current:
8181
bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error
8282
bug #58440: linuxgpio PIN limit too low
8383
bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close()
84+
bug #58994: VPP PWM still enabled at the end of programming process
8485

8586
* Patches:
8687
patch #9482: Add support for UPDI and AVR8X

pickit2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ static void pickit2_disable(PROGRAMMER * pgm)
330330
SCR_MCLR_GND_OFF,
331331
SCR_VPP_OFF,
332332
SCR_VDD_OFF,
333+
SCR_VPP_PWM_OFF,
334+
SCR_DELAY_2(.01),
333335
SCR_BUSY_LED_OFF,
334336
CMD_END_OF_BUFFER
335337
};

0 commit comments

Comments
 (0)