Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
avr_bootloader:bootloader [2020/03/23 18:54] admin [Burning the Bootloader with the AVRdude] |
avr_bootloader:bootloader [2020/03/23 20:32] admin [Burning the Bootloader with the AVRdude] |
||
---|---|---|---|
Line 88: | Line 88: | ||
A good manual for calculating the fuse bits one findes here [[https://www.instructables.com/id/How-to-change-fuse-bits-of-AVR-Atmega328p-8bit-mic/]]. | A good manual for calculating the fuse bits one findes here [[https://www.instructables.com/id/How-to-change-fuse-bits-of-AVR-Atmega328p-8bit-mic/]]. | ||
+ | |||
+ | === ... with the Paper-USBasp Programmer ==== | ||
+ | |||
+ | {{:avr_bootloader:paper-usbasp_programming_board.jpg?400|}}\\ | ||
+ | |||
+ | For setting the fuse bits one has to type: | ||
+ | $ sudo avrdude -p m328p -c usbasp -P usb -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0xFD:m | ||
+ | And for the bootloader: | ||
+ | $ sudo avrdude -p m328p -c usbasp -P usb -U flash:w:optiboot_atmega328.hex:i | ||
+ | |||
=== ... with an AVR ISP Programmer ==== | === ... with an AVR ISP Programmer ==== |