aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-85.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-24 22:47:00 -0600
committerSelene ToyKeeper2017-09-24 22:47:00 -0600
commitfdca655eb1802da86cba79c4e605d6d8acecbfa3 (patch)
treef00c5de61ccab3d0605adef9d74cb50b6e4e32dd /bin/flash-85.sh
parentCut moon power from ~4mA to ~2.5mA by running clock at half speed on very low... (diff)
downloadanduril-fdca655eb1802da86cba79c4e605d6d8acecbfa3.tar.gz
anduril-fdca655eb1802da86cba79c4e605d6d8acecbfa3.tar.bz2
anduril-fdca655eb1802da86cba79c4e605d6d8acecbfa3.zip
Reduced standby power by 700X by turning off brownout detection.
(from 24.7 uA to 0.35 uA)
Diffstat (limited to '')
-rwxr-xr-xbin/flash-85.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/flash-85.sh b/bin/flash-85.sh
index 1434b7d..8d1636d 100755
--- a/bin/flash-85.sh
+++ b/bin/flash-85.sh
@@ -1,4 +1,4 @@
#/bin/sh
FIRMWARE=$1
-avrdude -c usbasp -p t85 -u -U lfuse:w:0xe2:m -U hfuse:w:0xde:m -U efuse:w:0xff:m -Uflash:w:$FIRMWARE
+avrdude -c usbasp -p t85 -u -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m -Uflash:w:$FIRMWARE
# http://www.engbedded.com/cgi-bin/fcx.cgi?P_PREV=ATtiny85&P=ATtiny85&M_LOW_0x3F=0x22&M_HIGH_0x07=0x06&M_HIGH_0x20=0x00&B_SPIEN=P&B_SUT0=P&B_CKSEL3=P&B_CKSEL2=P&B_CKSEL0=P&B_BODLEVEL0=P&V_LOW=E2&V_HIGH=DE&V_EXTENDED=FF