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.

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.