Added avrdude flash-tool

master
Railz 6 years ago
parent 900874aeae
commit 4e023c2d97

@ -0,0 +1,6 @@
@echo off
SET port=%1%
C:\AVRdude\avrdude.exe -patmega32u4 -cavr109 -PCOM%port% -b1200 -n
SET /a port=%port%-1
ping -n 2 127.0.0.1 > NUL
C:\AVRdude\avrdude.exe -patmega32u4 -cavr109 -PCOM%port% -b57600 -D -Uflash:w:%2%:i

File diff suppressed because it is too large Load Diff

@ -0,0 +1,36 @@
Title: Arduino Uno
Command: C:\AVRdude\avrdude.exe
Arguments: -patmega328p -carduino -P\\.\COM6 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Title: Arduino Mega
Command: C:\AVRdude\avrdude.exe
Arguments: -patmega2560 -cwiring -P\\.\COM7 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Title: Arduino Nano
Command: C:\AVRdude\avrdude.exe
Arguments: -patmega328p -cwiring -P\\.\COM15 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Title: Arduino Leonardo/Micro/Esplora
Command: C:\AVRdude\arduino_32u4.bat
Arguments: 8 $(ItemDir)Debug\$(TargetName).hex
und mit manuellem Reset:
Command: C:\AVRdude\avrdude.exe
Arguments: -patmega32u4 -cavr109 -P\\.\COM6 -b57600 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Title: Digispark
Command: C:\AVRdude\micro_batch.bat
Arguments: $(ProjectDir)Debug\$(TargetName).hex
Title: USBasp
Command: C:\AVRdude\avrdude.exe
Arguments: -patmega328p -cusbasp -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
^
|
Hier aufpassen das man den richtigen MCU gewählt hat!
Title: DigiX
Command: C:\AVRdude\bossac.exe

@ -0,0 +1,3 @@
@echo off
echo Bitte Digispark anschliessen...(in 60 Sekunden automatischer Abbruch)
micronucleus.exe --run --type intel-hex %1%
Loading…
Cancel
Save