Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:optiboot [2021/09/12 05:01] – [Build] darron | tools:optiboot [2024/07/10 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
=== Build === | === Build === | ||
- | Compile firmware | + | ==Compile |
< | < | ||
Line 13: | Line 13: | ||
</ | </ | ||
- | List firmware | + | ==Get firmware |
< | < | ||
- | ls *.hex | + | git log -n 1 --pretty=format: |
- | optiboot_atmega1280.hex | + | 0dd4cedfbd6669d47752707486d3625a911bdb12 |
- | optiboot_atmega1284p.hex | + | |
- | optiboot_atmega168.hex | + | |
- | optiboot_atmega168p_16MHz.hex | + | |
- | optiboot_atmega168p_UART__.hex | + | |
- | optiboot_atmega328.hex | + | |
- | optiboot_atmega328_pro_8MHz.hex | + | |
- | optiboot_atmega32.hex | + | |
- | optiboot_atmega88.hex | + | |
- | optiboot_atmega8.hex | + | |
- | optiboot_bobuino.hex | + | |
</ | </ | ||
+ | ==List all firmware== | ||
+ | |||
+ | < | ||
+ | md5sum *.hex | ||
+ | ee4b2f496e0333f95f45bb7078601d29 | ||
+ | 57b44fc69816e6fdbf73732b5caa12f2 | ||
+ | 62bc6f118b7e0720f229c4bdde634b0c | ||
+ | 6a7fbf0503d47ed5db9d5d2baff317e5 | ||
+ | 6a7fbf0503d47ed5db9d5d2baff317e5 | ||
+ | 2bb2b975f97f383909249e7157a7acb3 | ||
+ | 3278fecadddec6c2fa11f5050b031dbb | ||
+ | ec29c6363477553e94cb8d3c95987d33 | ||
+ | 916b4c7cda8374cfc9ea61c0e370a237 | ||
+ | d53d8ce273525c3af14305c67df624cf | ||
+ | e7c69c45143d7b31f1e4d3cef761dc7e | ||
+ | 62bc6f118b7e0720f229c4bdde634b0c | ||
+ | 0695b84ddb0017e61c327e6c2fc35a7b | ||
+ | e15b4d5149f94ba277969114984b2cf9 | ||
+ | 62bc6f118b7e0720f229c4bdde634b0c | ||
+ | 1d520857938ce8ae40eaf2b1e6eda6be | ||
+ | 0695b84ddb0017e61c327e6c2fc35a7b | ||
+ | 0ffe624b21c48a839a256baa4fa8a93f | ||
+ | cb6b8ac98dd6d55f3a453e87722257b6 | ||
+ | 2183c788feec1b79ae41cbdbd3912799 | ||
+ | 68c384e8def907edca0033d6670588e0 | ||
+ | 68c384e8def907edca0033d6670588e0 | ||
+ | </ | ||
+ | |||
+ | ==Compile specific firmware== | ||
+ | |||
+ | This firmware is for a Pro Mini with an 8 MHz XTAL | ||
+ | and a generic UNO clone at 16 MHz. | ||
+ | |||
+ | < | ||
+ | make clean | ||
+ | make atmega328 BAUD_RATE=115200 | ||
+ | make atmega328_pro8 BAUD_RATE=57600 | ||
+ | </ | ||
+ | |||
+ | ==List firmware== | ||
+ | |||
+ | < | ||
+ | 2bb2b975f97f383909249e7157a7acb3 | ||
+ | 9d1fc10caca488882432a01f5c96e797 | ||
+ | </ | ||
===Download=== | ===Download=== | ||
- | [[https://wiki.kewl.org/downloads/BL/ | + | {{downloads:BL: |
+ | |||
+ | {{downloads:BL: | ||
=== Install === | === Install === | ||
- | [[: | + | ==Arduino Pro Mini with 8 MHz XTAL== |
+ | |||
+ | __[[: | ||
< | < | ||
- | avrdude -c usbasp -p ATMEGA328P -e -u -U lock: | + | avrdude |
- | avrdude -c usbasp -p ATMEGA328P -D -u -U flash:w:optiboot_atmega328.hex | + | avrdude |
- | avrdude -c usbasp -p ATMEGA328P -u -U lock:w:0x0F:m | + | avrdude |
</ | </ | ||
- | Pololu USB AVR Programmer v2.1 | + | ==Arduino UNO== |
+ | |||
+ | __[[: | ||
< | < | ||
avrdude -V -B 5 -P `pavr2cmd --prog-port` -c avrisp2 -p ATMEGA328P -e -u -U lock: | avrdude -V -B 5 -P `pavr2cmd --prog-port` -c avrisp2 -p ATMEGA328P -e -u -U lock: | ||
- | avrdude | + | avrdude |
- | avrdude | + | avrdude |
</ | </ | ||
+ | |||
+ | === Test === | ||
+ | |||
+ | ==Arduino Pro Mini with 8 MHz XTAL== | ||
+ | |||
+ | < | ||
+ | $ avrdude -c arduino -b 57600 -D -p m328p -P / | ||
+ | |||
+ | avrdude: AVR device initialized and ready to accept instructions | ||
+ | |||
+ | Reading | ################################################## | ||
+ | |||
+ | avrdude: Device signature = 0x1e950f (probably m328p) | ||
+ | |||
+ | avrdude: safemode: Fuses OK (E:00, H:00, L:00) | ||
+ | |||
+ | avrdude done. Thank you. | ||
+ | </ | ||
+ | |||
+ | ===Resources=== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||