Adding a one-second delay between the two steps in burning the bootloader. This fixes bootloader burning with an AVRISP mkII on my Windows Vista machine.

This commit is contained in:
David A. Mellis 2009-03-13 14:37:44 +00:00
parent 673e2513b8
commit 1bd1284a8b
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@ public class AvrdudeUploader extends Uploader {
if (!avrdude(params, fuses))
return false;
try {
Thread.sleep(1000);
} catch (InterruptedException e) {}
List bootloader = new ArrayList();
bootloader.add("-Uflash:w:" + "hardware" + File.separator + "bootloaders" + File.separator +