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
- Download IDE and compile sketch Examples, Basics, Blink under the Arduino Leonardo board.
- Find the Blink.ino.with_bootloader.hex file in the / tmp directory (on Linux).
- Connect the programmer to the board via the ICSP connector.
- Check FUSE bits with avrdude. At Arduino Leonardo they are as follows: hfuse 0xD8, lfuse 0xFF, efuse 0xCB.
- Sew controller with command
avrdude -p m32u4 -c usbasp -P /dev/ttyUSB0 -Uflash:w:Blink.ino.with_bootloader.hex
- Disconnect the programmer from the board.
|