~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

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

  • Committer: Selene Scriven
  • Date: 2018-11-03 22:54:18 UTC
  • mfrom: (188.1.36 flash-safer)
  • Revision ID: bzr@toykeeper.net-20181103225418-1vsjrc40xh838ggw
merged trunk and flash-safer branch (clean up flash/build scripts and make flashing less likely to produce bricks)

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