* usbtiny.c (usbtiny_initialize): undo change from patch #9728 git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1459 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
8907155291
commit
7c554b0035
|
@ -1,3 +1,8 @@
|
||||||
|
2021-11-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
bug #55734: USBtiny programming of ATmega328p broken by Patch #9278
|
||||||
|
* usbtiny.c (usbtiny_initialize): undo change from patch #9728
|
||||||
|
|
||||||
2021-11-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2021-11-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
bug #55009: no efuses for m164a/pa
|
bug #55009: no efuses for m164a/pa
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -60,6 +60,7 @@ Current:
|
||||||
bug #57453: [PATCH] fix reference to nonexistant -m option by changing to -U
|
bug #57453: [PATCH] fix reference to nonexistant -m option by changing to -U
|
||||||
bug #59227: Add new part. How does one get a part added to the CONF file?
|
bug #59227: Add new part. How does one get a part added to the CONF file?
|
||||||
bug #55009: no efuses for m164a/pa
|
bug #55009: no efuses for m164a/pa
|
||||||
|
bug #55734: USBtiny programming of ATmega328p broken by Patch #9278
|
||||||
|
|
||||||
* Patches:
|
* Patches:
|
||||||
patch #9482: Add support for UPDI and AVR8X
|
patch #9482: Add support for UPDI and AVR8X
|
||||||
|
@ -82,7 +83,6 @@ Current:
|
||||||
patch #8128: Added new option to configure.ac script
|
patch #8128: Added new option to configure.ac script
|
||||||
patch #8444: Proposal for modifications in -B and -U command options managment (partially)
|
patch #8444: Proposal for modifications in -B and -U command options managment (partially)
|
||||||
patch #9735: spelling error fix: psuedo -> pseudo
|
patch #9735: spelling error fix: psuedo -> pseudo
|
||||||
patch #9728: Fix UsbTiny programmer
|
|
||||||
patch #9893: [PATCH] Reader reads ftdi handle after main thread close it
|
patch #9893: [PATCH] Reader reads ftdi handle after main thread close it
|
||||||
patch #9819: Address several leaks in SVN rev 1429
|
patch #9819: Address several leaks in SVN rev 1429
|
||||||
patch #9820: Fix some out-of-bounds/uninitialized issues
|
patch #9820: Fix some out-of-bounds/uninitialized issues
|
||||||
|
|
|
@ -502,7 +502,7 @@ static int usbtiny_initialize (PROGRAMMER *pgm, AVRPART *p )
|
||||||
}
|
}
|
||||||
|
|
||||||
for (tries = 0; tries < 4; ++tries) {
|
for (tries = 0; tries < 4; ++tries) {
|
||||||
if (pgm->program_enable(pgm, p) == 0)
|
if (pgm->program_enable(pgm, p) >= 0)
|
||||||
break;
|
break;
|
||||||
// no response, RESET and try again
|
// no response, RESET and try again
|
||||||
if (usb_control(pgm, USBTINY_POWERUP,
|
if (usb_control(pgm, USBTINY_POWERUP,
|
||||||
|
|
Loading…
Reference in New Issue