~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to bin/flash-tiny13-fuses.sh

  • Committer: Selene Scriven
  • Date: 2018-07-05 10:22:48 UTC
  • mto: This revision was merged to the branch mainline in revision 209.
  • Revision ID: bzr@toykeeper.net-20180705102248-4157s7ly7ascx0w3
Forked Bistro as a base for Dragon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#/bin/sh
2
 
# 4.8 MHz (~4.0 MHz actual), 4ms boot delay, enable flashing
3
 
# (everything else disabled)
4
 
# Use low fuse 0x75 for 4ms startup delay,
5
 
#           or 0x79 for 64ms (useful on a twisty light)
6
 
avrdude -c usbasp -p t13 -u -Ulfuse:w:0x75:m -Uhfuse:w:0xFF:m
7
 
 
8
 
# http://www.engbedded.com/cgi-bin/fcx.cgi?P_PREV=ATtiny13A&P=ATtiny13A&M_LOW_0x0F=0x05&M_LOW_0x80=0x00&M_HIGH_0x06=0x06&B_SPIEN=P&B_SUT1=P&B_CKSEL1=P&V_LOW=75&V_HIGH=FF&O_HEX=Apply+values