-
Notifications
You must be signed in to change notification settings - Fork 1
/
command-line.txt
33 lines (23 loc) · 1.91 KB
/
command-line.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# First set fuses and check that ICSP programming is working
# This version has a brown-out detector:
avrdude -P usb -c avrispmkII -p m328p -v -U lfuse:w:0xff:m -U hfuse:w:0xd9:m -U efuse:w:0xfe:m
# This version doesn't:
avrdude -P usb -c avrispmkII -p m328p -v -U lfuse:w:0xff:m -U hfuse:w:0xd9:m -U efuse:w:0xff:m
# Do the LED test
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build7881327473570929513.tmp/led.cpp.hex
# Then do button and LED test
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build7881327473570929513.tmp/btn_and_led.cpp.hex
# Then do debugSerial test
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build505430951342243946.tmp/debug_serial.cpp.hex
# Then test the Wi-Fi module
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build505430951342243946.tmp/wifi.cpp.hex
# Then test the zero-cross detector
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build3970299088606510126.tmp/zero_cross.cpp.hex
# Then test the TRIAC
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build4691832319346119400.tmp/triac.cpp.hex
# Then test the dimmer
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build4691832319346119400.tmp/dimmer.cpp.hex
# Then install the software!
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build3970299088606510126.tmp/spark_v9.cpp.hex
avrdude -P usb -c avrispmkII -p m328p -v -U lfuse:w:0xff:m -U hfuse:w:0xd1:m -U efuse:w:0xfe:m
avrdude -P usb -c avrispmkII -p m328p -v -U flash:w:/var/folders/zy/53c2jtz544n8xk5bf0sw3hx00000gn/T/build655740689631734014.tmp/spark_demo.cpp.hex