ATMEGA32U4-AU

Hello,

There are very much threads about "burning a bootloader" but non of them is clear and completed enought. I searched in google and in this forum.

What is the easiest way to burn bootloader on ATMEGA32U4-AU and ATMEGA328P-AU?

Currently I can use UNOR3smd, Mega, Micro and Nano for programming.
At this time I dont have got any additional Hardware. Even not a cable-they are sold out.
The Chips are bought at RS Components.
Software I m using now: Arduino 1.5.8 and ATMEL Studio 6.

Q: How can I choose the File which should be burn as bootloader?

Regards,
Mav

You could use avrdude for the bootloader and fuses, but the Arduino IDE has everything included.

Use a programmer, or use an Arduino board as programmer (ArduinoISP) and select 'burn bootloader' from the menu. The newest bootloader will be programmed into the chip and the fuses will be set.

If you don't want the special Leonardo/Micro bootloader for your ATmeg32U4 chip, you can make your own bootloader with Optiboot.

Start with Nick Gammon's bootload installer sketch:

and

Those Atmel 32u4 chips have integrated USB, hence the funny bootloader on the Leonardo and Micro. If you can burn a bootloader, you can program it by "going commando" with your ISP programmer and not bother with the bootloader.

That funny bootloader was a real pain in the neck and I gave up on programming Leonardos the normal way. I finally succeeded using the ICSP header and Arduino-as-ISP method. See my thread "SUCCESS! Programmed a Leonardo!". I gave the step by step method I used. What would be nice would be a "learn/run" switch where in "learn" mode it will align the serial on the chip and KEEP it there. The "run" mode allows all the fun HID functions. By using my method, I no doubt nuked the bootloader altogether.

Hello,

Thanks for the reply.

I attached my minimum design which is based on the original Arduino Micro.

I don't using the ferrite filter-I dont have got any.
Can this cause some problems?

Is there something else I forgot?
Can I connect the USB header as I planned?
Will this work in such way?

I want to upload the bootloader over the ICSP Header with another Arduino.
Shoul I connect the 2 boards like in Nick Gammons shema to set slave/master (Reset Pin in to 10 of the Programmer) device, correct?

XXX Im confused a little bit as here stays
Im programming the bootloader over the FTDI header.

I'll try to set up the example from the link above from Nick.

Thanks,
Mav