Burning the Arduino Uno Bootblock with Atmel Studio and the AVRISP mkII

If you have loaded Atmel Studio to your computer and you try to burn a bootloader to an Arduino board using the AVRISP mkII, you will get an error message like this:

Error while burning bootloader.
avrdude: usbdev_open(): did not find any USB device “usb”

The solution to burning the bootloader in this case is to use Atmel Studio to burn the bootloader. The hexadecimal bootloader file can be found in the Arduino IDE folder. This can then be burned to the ATMEGA328P on the Arduino Uno board. Finally, the correct fuses must be set on the microcontroller which is also done in Atmel Studio.

Read the tutorial and watch the video on how to burn the bootloader to an Arduino Uno using Atmel Studio 6 and the AVRISP mkII USB AVR programmer.

4 thoughts on “Burning the Arduino Uno Bootblock with Atmel Studio and the AVRISP mkII

  1. I am using Ateml Studios to load the bootloader for an Atmega644P.

    The bootloader file is: “ATmegaBOOT_644P.hex”
    from: http://code.google.com/p/sanguino/source/browse/sanguino/bootloaders/atmega644p/?name=0101r1

    I set fuses and in Atmel studio with:

    per the boards.txt file from the same link.

    When I go to load a sketch from the Arduino IDE I get the generic message:
    “avrdude: stk500_getsync(): not in sync: resp=0x00”

    Any thoughts? I am sure the sketch is ok because it compiles and runs on my Arduino Uno board, but I would like to load it unto my custom board.

    • Hi Carl
      The fuses in that text file have:
      This is different from your settings.

      The message that you are getting (“avrdude: stk500_getsync(): not in sync: resp=0×00″) means that the Arduino is not responding at all.
      Check that the port and board are correctly set in the Arduino software.

      I can’t help you any further because I do not have this hardware so can’t do any tests myself.

Leave a Reply

Your email address will not be published. Required fields are marked *