slight readme changes
[LightSticks] / FIRMWARE / memo
1 FUSES 
2         default
3                 https://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny85&LOW=62&HIGH=DF&EXTENDED=FF&LOCKBIT=FF
4
5         my 
6                 sudo avrdude -p attiny85 -c avrisp2 -P usb  -B20  -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -V
7
8 FLASH 
9         CONNECT
10                 external 4,5v to claw connector (probably not reauired, but ok before battery soldering)
11                 check power off switcher (off) 
12                 claw connector to IC 
13
14         BOOTLOADER 
15                 micronucleus old 
16                         cd ~/Projects/ELECTRONICS/AVR/BOOTLOADERS/micronucleus/firmware
17
18                         make clean
19                         make CONFIG=t85_default fuse
20                         make CONFIG=t85_default flash
21
22         
23         >       micronucleus
24                         cd ~/Projects/ELECTRONICS/AVR/BOOTLOADERS/micronucleus-firmware/firmware
25
26                         make clean
27                         make CONFIG=t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB fuse
28                         make CONFIG=t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB flash
29
30         MAIN
31                 connect extender in reverce
32
33                 sudo ~/Projects/ELECTRONICS/AVR/BOOTLOADERS/micronucleus/commandline/micronucleus --run lightstick.hex 
34
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717