avrdudes / avrdude

AVRDUDE is a utility to program AVR microcontrollers
GNU General Public License v2.0
734 stars 136 forks source link

[bug #58994] VPP PWM still enabled at the end of programming process #503

Closed avrs-admin closed 2 years ago

avrs-admin commented 2 years ago

Dmitrii Chernukhin madlabman@mail.ru Sat 22 Aug 2020 10:01:32 AM UTC Programmer hardware: pickit2

I'm using a clone of original PICkit 2 and noticed sound which means voltage boost circuit is enabled at the end of the flashing of device. As I can see there is no PWM off command in pickit2_disable function. So I added these lines: 333:        SCR_VPP_PWM_OFF, 334:        SCR_DELAY_2(.01) to pickit2.c file and it solved my issue.

This issue was migrated from https://savannah.nongnu.org/bugs/?58994

avrs-admin commented 2 years ago

Joerg Wunsch Mon 06 Dec 2021 09:14:25 PM UTC

Fixed in r1508, thanks.

Next time, please provide a context or unified "diff" (diff -u, diff -c). That ensures to find the right spot, line numbers might occasionally shuffle around.