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:22] – [Build] darron | tools:optiboot [2024/07/10 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
./ | ./ | ||
</ | </ | ||
+ | |||
+ | ==Get firmware version== | ||
+ | |||
+ | < | ||
+ | git log -n 1 --pretty=format: | ||
+ | 0dd4cedfbd6669d47752707486d3625a911bdb12 | ||
+ | </ | ||
+ | |||
==List all firmware== | ==List all firmware== | ||
Line 44: | Line 52: | ||
This firmware is for a Pro Mini with an 8 MHz XTAL | This firmware is for a Pro Mini with an 8 MHz XTAL | ||
+ | and a generic UNO clone at 16 MHz. | ||
< | < | ||
make clean | make clean | ||
+ | make atmega328 BAUD_RATE=115200 | ||
make atmega328_pro8 BAUD_RATE=57600 | make atmega328_pro8 BAUD_RATE=57600 | ||
</ | </ | ||
Line 53: | Line 63: | ||
< | < | ||
+ | 2bb2b975f97f383909249e7157a7acb3 | ||
9d1fc10caca488882432a01f5c96e797 | 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:// | ||