aboutsummaryrefslogtreecommitdiff
path: root/bin/flash-tiny25.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-03 16:00:15 -0600
committerSelene ToyKeeper2018-11-03 16:00:15 -0600
commitdcc52fdfc95e9b2621b46a18250051234891f563 (patch)
tree97bda886069f66f91d2b7c60fb7616d3a9efb4de /bin/flash-tiny25.sh
parentapplied thermal target bugfix from Anduril (diff)
downloadanduril-dcc52fdfc95e9b2621b46a18250051234891f563.tar.gz
anduril-dcc52fdfc95e9b2621b46a18250051234891f563.tar.bz2
anduril-dcc52fdfc95e9b2621b46a18250051234891f563.zip
Renamed flash/build scripts to better indicate MCU type.
Diffstat (limited to 'bin/flash-tiny25.sh')
-rwxr-xr-xbin/flash-tiny25.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/flash-tiny25.sh b/bin/flash-tiny25.sh
new file mode 100755
index 0000000..0b24bb2
--- /dev/null
+++ b/bin/flash-tiny25.sh
@@ -0,0 +1,4 @@
+#/bin/sh
+FIRMWARE=$1
+avrdude -c usbasp -p t25 -u -U lfuse:w:0xd2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m -Uflash:w:$FIRMWARE
+# http://www.engbedded.com/cgi-bin/fcx.cgi?P_PREV=ATtiny25&P=ATtiny25&M_LOW_0x3F=0x22&M_HIGH_0x07=0x07&M_HIGH_0x20=0x00&B_SUT1=P&B_SPIEN=P&B_CKSEL3=P&B_CKSEL2=P&B_CKSEL0=P&V_LOW=D2&V_HIGH=DF&V_EXTENDED=FF