diff --git a/ChangeLog b/ChangeLog index 40400e37..ca2da902 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-12-06 Joerg Wunsch + + Submitted by Dmitrii Chernukhin: + bug #58994: VPP PWM still enabled at the end of programming process + * pickit2.c (pickit2_disable): turn off VPP before shutting down + 2021-12-05 Joerg Wunsch * configure.ac (AC_INIT): Bump version date diff --git a/NEWS b/NEWS index 8a147eb5..a5839493 100644 --- a/NEWS +++ b/NEWS @@ -81,6 +81,7 @@ Current: bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error bug #58440: linuxgpio PIN limit too low bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close() + bug #58994: VPP PWM still enabled at the end of programming process * Patches: patch #9482: Add support for UPDI and AVR8X diff --git a/pickit2.c b/pickit2.c index af867097..5a0a5f6c 100644 --- a/pickit2.c +++ b/pickit2.c @@ -330,6 +330,8 @@ static void pickit2_disable(PROGRAMMER * pgm) SCR_MCLR_GND_OFF, SCR_VPP_OFF, SCR_VDD_OFF, + SCR_VPP_PWM_OFF, + SCR_DELAY_2(.01), SCR_BUSY_LED_OFF, CMD_END_OF_BUFFER };