diff options
| author | Selene ToyKeeper | 2018-11-03 16:17:50 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-11-03 16:17:50 -0600 |
| commit | 4df62bd9d7c3b7bbb9a62ab13b78d7f42da99958 (patch) | |
| tree | bfbf997267b276e4a1f7a4580ccd63ae7a5d2772 /bin/flash-tiny85.sh | |
| parent | Renamed flash/build scripts to better indicate MCU type. (diff) | |
| download | anduril-4df62bd9d7c3b7bbb9a62ab13b78d7f42da99958.tar.gz anduril-4df62bd9d7c3b7bbb9a62ab13b78d7f42da99958.tar.bz2 anduril-4df62bd9d7c3b7bbb9a62ab13b78d7f42da99958.zip | |
Split flashing scripts into firmware vs fuses, to help prevent accidental bricking.
(some people had errors happen during the fuse parts, and ended up with bricks)
Diffstat (limited to '')
| -rwxr-xr-x | bin/flash-tiny85.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/flash-tiny85.sh b/bin/flash-tiny85.sh index 8d1636d..0f5a292 100755 --- a/bin/flash-tiny85.sh +++ b/bin/flash-tiny85.sh @@ -1,4 +1,3 @@ #/bin/sh FIRMWARE=$1 -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 +avrdude -c usbasp -p t85 -u -Uflash:w:$FIRMWARE |
