~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to Tom_E/narsil/flash-85.sh

  • Committer: Selene Scriven
  • Date: 2017-06-14 00:44:14 UTC
  • Revision ID: ubuntu@toykeeper.net-20170614004414-0zqnblgisemcjk8g
Updated Narsil to NarsilM 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#/bin/sh
2
 
FIRMWARE=$1
3
 
# BOD enabled at 1.8V:
4
 
avrdude -c usbasp -p t85 -u -U lfuse:w:0xe2:m -U hfuse:w:0xde:m -U efuse:w:0xff:m -U flash:w:"$FIRMWARE":a
5
 
 
6
 
# 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