0

Burning question:

So, I'm trying to burn the Arduino Leo bootloader onto a ATmega32U4 that's on 3.3V and the internal 8MHz clock. Do I have to modify and rebuild the bootloader to set the fuses correctly, and can this be done with AVR Studio?

All of the references on doing this are dated. The folder structure for the Arduino IDE has changed. I've done it in the past with 5V 16MHz 32U4s using an Arduino as ISP, but never with the AVRISP mkII on the Arduino IDE.

On the good side, I do have it up and running with Atmel Studio.

Thanks!

  • Are you planning to run the ATmega32U4 at 8 MHz? – Nick Gammon Sep 2 '15 at 5:21
  • Yes I am. I have both the RC version and the non-RC with an external 8MHz xtal. – BlackJester Sep 4 '15 at 5:23
  • Update: So I have tried several different methods, each with their own issues. The latest was to use the AVR ISP mkII on a Mac, as there are driver problems with Windows. It seems to have burnt the Lilypad USB bootloader on, but when I plug in the USB, nothing shows up on my PC. This is quite the rabit hole for something I thought was going to be trivial. – BlackJester Sep 5 '15 at 1:22
  • Where did you get this Lilypad USB bootloader? The Lilypad has an Atmega328V and no USB interface. – Nick Gammon Sep 5 '15 at 3:21
  • @NickGammon link The bootloader is in the Arduino folder hardware > arduino > avr > bootloaders > caterina-LilyPadUSB. – BlackJester Sep 6 '15 at 4:01
2

If you have an appropriate crystal attached then you can do this in the Arduino IDE. Select your board and programmer in the IDE menu, connect the programmer to the board, and choose Burn Bootloader from the menu. This will both burn the prebuilt bootloader image and set the fuses in a single operation.

Note that you cannot use USB on the '32U4 if you are running off either a ceramic resonator or the internal oscillator, and so you should not attempt to use the Leonardo bootloader in either case.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.