aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-tiny1634-fuses.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-29 04:54:41 -0600
committerSelene ToyKeeper2019-08-29 04:54:41 -0600
commitc1a898ddaa004e60be2fa6b016e0af8b133223de (patch)
treee9cf6b941e1f68b4e19cf49255136b81a8e2c346 /bin/flash-tiny1634-fuses.sh
parentmerged a sanitized copy of the Emisar D4v2 branch; history summarized below: (diff)
parentfixed attiny13 builds (diff)
downloadanduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.gz
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.bz2
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.zip
merged updates from fsm branch
Diffstat (limited to 'bin/flash-tiny1634-fuses.sh')
-rwxr-xr-xbin/flash-tiny1634-fuses.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/flash-tiny1634-fuses.sh b/bin/flash-tiny1634-fuses.sh
new file mode 100755
index 0000000..1bc73e1
--- /dev/null
+++ b/bin/flash-tiny1634-fuses.sh
@@ -0,0 +1,9 @@
+#/bin/sh
+# 8 MHz, 64ms boot delay, enable flashing
+# (everything else disabled)
+# Use low fuse 0xD2 for 4ms startup delay,
+# or 0xE2 for 64ms (useful on a twisty light)
+# Use high fuse 0xDE for BOD 1.8V,
+# or 0xDF for no BOD
+avrdude -c usbasp -p t1634 -u -U lfuse:w:0xe2:m -U hfuse:w:0xde:m -U efuse:w:0xff:m
+