How to flash arduino Atmega32U4 with external quartz without using a bootloader? I understand you just need to upload the compiled .hex via avr dude to Atmega32U4, using the usual USBASP. If you need to change fyuzy tell me.

    1 answer 1

    1. Download IDE and compile sketch Examples, Basics, Blink under the Arduino Leonardo board.
    2. Find the Blink.ino.with_bootloader.hex file in the / tmp directory (on Linux).
    3. Connect the programmer to the board via the ICSP connector.
    4. Check FUSE bits with avrdude. At Arduino Leonardo they are as follows: hfuse 0xD8, lfuse 0xFF, efuse 0xCB.
    5. Sew controller with command

    avrdude -p m32u4 -c usbasp -P /dev/ttyUSB0 -Uflash:w:Blink.ino.with_bootloader.hex

    1. Disconnect the programmer from the board.