-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathload_hex.cmd
More file actions
11 lines (10 loc) · 1004 Bytes
/
Copy pathload_hex.cmd
File metadata and controls
11 lines (10 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
@echo *
@echo 1) Check pathes to AVRDUDE.EXE and avrdude.conf in command below. Correct it according to your system.
@echo Do not forget to frame your path with "" if it contains spaces! Like it framed in this file.
@echo 2) Open DeviceManager window. Open COM and LPT node.
@echo 3) On Arduino Leonardo connect RST pin to GND 2 times with interval of 1 sec between tries.
@echo 4) In COM and LPT node new COM port should appear on ~8 sec. Replace COM16 in command below with your port.
@echo You should set COM port which appears right after plugin\reset. Not the one you see all the rest of time !
@echo 5) Connect RST pin to GND 2 times with interval of 1 sec between tries and immediately run LOAD_HEX.CMD.
@echo 6) Download to board should pass. You should see 0\0 and blinking dot.
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/"avrdude -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/"avrdude.conf -v -patmega32u4 -cavr109 -PCOM16 -b57600 -D -Uflash:w:PwKeeper.ino.hex:i