Skip to content

Commit b7c7d0e

Browse files
committed
Update README.md
1 parent 398702d commit b7c7d0e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Diff for: README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,44 @@ Arduino-AVRISPmkII-workaround
33

44
A **workaround** for [Arduino/#2986](https://github.com/arduino/Arduino/issues/2986). Some people are getting the error message: `avrdude: usbdev_open(): did not find any USB device "usb"` when trying to **Burn Bootloader** using the **AVRISP mkII** programmer under [Arduino](http://arduino.cc) IDE 1.6.x. The problem is that the two avrdude commands are sent without enough delay between them.
55

6-
This **workaround** adds an **AVRISP mkII Burn Bootloader** option to **Tools>Programmer**. This programmer option causes the **erase** and **bootloader** steps to be done in the first avrdude command so burning the bootloader is accomplished successfully even though the second avrdude command fails.
6+
This **workaround** adds an **AVRISP mkII Burn Bootloader** option to **Tools > Programmer**. This programmer option causes the **erase** and **bootloader** steps to be done in the first avrdude command so burning the bootloader is accomplished successfully even though the second avrdude command fails as usual.
77

88
#### Comparison With Alternative **Workaround**
99
Another **workaround** has been presented in the Arduino Forum by dmjlambert: http://forum.arduino.cc/index.php?topic=345838 here is a comparison of Arduino-AVRISPmkII-workaround vs the dmjlambert **workaround**:
1010
##### Pros
11-
- Doesn't require modification of any Arduino or other hardware core files
12-
- Doesn't need to be redone every time the Arduino IDE or any hardware core with a platform.txt is updated
13-
- Doesn't affect any programmer except for AVRISP mkII
11+
- Doesn't require modification of any Arduino or other hardware core files.
12+
- Doesn't need to be redone every time the Arduino IDE or any hardware core with a platform.txt is updated.
13+
- Doesn't affect any programmer except for AVRISP mkII.
1414

1515
##### Cons
16-
- Burn Bootloader appears to fail even when successful
16+
- Burn Bootloader appears to fail even when successful.
1717

1818

1919
#### Installation
20-
There are two options for installing Arduino-AVRISPmkII-workaround
20+
There are two options for installing Arduino-AVRISPmkII-workaround:
2121
##### Boards Manager
2222
This installation method requires Arduino IDE version 1.6.4 or greater.
2323
- Open the Arduino IDE.
2424
- Open the **File > Preferences** menu item.
25-
- Enter the following URL in **Additional Boards Manager URLs**: https://per1234.github.io/Arduino-AVRISPmkII-fix/package_per1234_Arduino-AVRISPmkII-fix_index.json
25+
- Enter the following URL in **Additional Boards Manager URLs**: https://per1234.github.io/Arduino-AVRISPmkII-fix/package_per1234_Arduino-AVRISPmkII-fix_index.json.
2626
- Open the **Tools > Board > Boards Manager...** menu item.
2727
- Wait for the platform indexes to finish downloading.
2828
- Scroll down until you see the **Arduino-AVRISPmkII-workaround** entry and click on it.
29-
- Click Install.
29+
- Click **Install**.
3030
- After installation is complete close the Boards Manager window.
31-
- If using Arduino IDE previous to v1.6.6 you may need to restart the IDE to make the **AVRISP mkII(workaround)** programmer appear in the **Tools>Programmer** menu.
31+
- If using Arduino IDE previous to v1.6.6 you may need to restart the IDE to make the **AVRISP mkII(workaround)** programmer appear in the **Tools > Programmer** menu.
3232

3333
##### Manual Installation
34-
- Download the Arduino-AVRISPmkII-workaround files here: https://github.com/per1234/Arduino-AVRISPmkII-fix/archive/master.zip
35-
- Extract the .zip file
34+
- Download the Arduino-AVRISPmkII-workaround files here: https://github.com/per1234/Arduino-AVRISPmkII-fix/archive/master.zip.
35+
- Extract the .zip file.
3636
- Copy the extracted folder inside your sketchbook/hardware folder.
3737
- If the Arduino IDE is running then restart it.
3838

3939

4040
#### Usage
4141
##### Burn Bootloader
42-
- Connect the AVRISP mkII to your Arduino
43-
- Select **Tools>Programmer>AVRISP mkII(workaround)**
44-
- Select the correct board from **Tools>Board**
45-
- Click **Tools>Burn Bootloader**
46-
- The bootloader will be burned to your Arduino but then the avrdude output will fail with the error message `avrdude: usbdev_open(): did not find any USB device "usb"`. This is because the second avrdude command failed as it will do with **Tools>Programmer>AVRISP mkII**, however if you examine the avrdude output fully you will see that the first command was successful and the bootloader was burned in that command.
42+
- Connect the AVRISP mkII to your Arduino.
43+
- Select **Tools > Programmer > AVRISP mkII(workaround)**.
44+
- Select the correct board from **Tools > Board**.
45+
- Click **Tools > Burn Bootloader**.
46+
- The bootloader will be burned to your Arduino but then the avrdude output will fail with the error message `avrdude: usbdev_open(): did not find any USB device "usb"`. This is because the second avrdude command failed as it will do with **Tools > Programmer > AVRISP mkII**, however if you enable **File > Preferences > Show verbose output during: upload**(check) and examine the avrdude output fully you will see that the first command was successful and the bootloader was burned in that command.

0 commit comments

Comments
 (0)