Board/ILC/ILC1073-dat/ILC1073-dat.md
... ...
@@ -50,4 +50,5 @@ method 2
50 50
## ref
51 51
52 52
- origin project - https://github.com/harbaum/LCD2USB
53
-
53
+- python library - https://github.com/xyb/lcd2usb
54
+- [[avrdude-dat]]
... ...
\ No newline at end of file
SDK/avrdude-dat/avrdude-dat.md
... ...
@@ -0,0 +1,70 @@
1
+
2
+
3
+# avrdude-dat
4
+
5
+## == AVRDUDE + Arduino-ISP ==
6
+
7
+find version
8
+
9
+ D:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\bin>avrdude -v -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf
10
+ avrdude -v -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf
11
+
12
+PROG
13
+
14
+ D:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\bin>avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c avrisp -p m328p -P com4 -b 19200
15
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c avrisp -p m328p -P com4 -b 19200
16
+
17
+CMD1
18
+
19
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c avrisp -p m328p -P com4 -b 19200
20
+
21
+CMD2
22
+
23
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c arduino -p atmega328p -P com4 -b 19200
24
+
25
+CMD3
26
+
27
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c arduino -p m328p -P com4 -b 19200
28
+
29
+ avrdude: AVR device initialized and ready to accept instructions
30
+ Reading | ################################################## | 100% 0.04s
31
+ avrdude: Device signature = 0x1e950f (probably m328p)
32
+ avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
33
+ avrdude done. Thank you.
34
+
35
+
36
+## AVRDUDE + USBASP
37
+
38
+* cd D:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\bin
39
+
40
+Flash using conf file
41
+
42
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c usbasp -p m328p -b 19200
43
+
44
+ avrdude: warning: cannot set sck period. please check for usbasp firmware update.
45
+ avrdude: AVR device initialized and ready to accept instructions
46
+
47
+ Reading | ################################################## | 100% 0.02s
48
+
49
+ avrdude: Device signature = 0x1e9489 (probably m16u2)
50
+ avrdude: Expected signature for ATmega328P is 1E 95 0F
51
+ Double check chip, or use -F to override this check.
52
+
53
+ avrdude done. Thank you.
54
+
55
+Read ATMEGA328P
56
+
57
+ Reading | ################################################## | 100% 0.02s
58
+
59
+ avrdude: Device signature = 0x1e950f (probably m328p)
60
+
61
+ avrdude: safemode: Fuses OK (E:FD, H:DE, L:FF)
62
+
63
+ avrdude done. Thank you.
64
+
65
+Flash bootloader for Arduino UNO
66
+
67
+ avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c usbasp -p m328p -b 19200 -U flash:w:"D:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\arduino\avr\bootloaders\optiboot\optiboot_atmega328.hex":a
68
+
69
+
70
+- [[avrdude]]
... ...
\ No newline at end of file
SDK/avrdude/avrdude.md