Programming the ATmega32U4 Using a Bootloader

This section describes how to use the bootloader to program the ATmega32U4.

  1. 1.Launch Atmel Studio.
  2. 2.Short strap J102.
  3. 3.Open the programming dialog, select the bootloader in the tool menu.
  4. 4.Connect the ATmega328P Xplained Mini board USB connector to the PC.
  5. 5.Select Device = ATmega32U4 (Device - Select).
  6. 6.Select USB communication (Ctrl+U).
  7. 7.Select the memory area to program (use the toggle memory button).
  8. 8.Select Load Hex file (Ctrl+L).
  9. 9.Select Programming Options.
  10. 10. Click “Run”, observe the status in the status field.
Warning: Changing the firmware in the ATmega32U4 will remove the programming and debugging capabilities of the mEDBG. If the EEPROM is altered, the mEDBG may not be recognized by Atmel Studio anymore.