-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #595 from ckormanyos/avrdude_and_batches
Avrdude and batches
- Loading branch information
Showing
5 changed files
with
23,213 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
ref_app/tools/AVR/avrdude/avrdude-v8.0-windows-x64/2560.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
echo off | ||
|
||
set AVRDUDE=.\avrdude.exe | ||
|
||
set HEX=../../../../bin/ref_app.hex | ||
|
||
rem Erase the chip. | ||
echo "Erase the chip." | ||
%AVRDUDE% -c avrisp2 -p atmega2560 -P usb -e | ||
|
||
rem Flash the HEX-file. | ||
echo "Flash the HEX-file." | ||
%AVRDUDE% -c avrisp2 -p atmega2560 -P usb -U flash:w:%HEX%:i | ||
|
||
rem Verify the flash. | ||
echo "Verify the flash." | ||
%AVRDUDE% -c avrisp2 -p atmega2560 -P usb -U flash:v:%HEX%:i |
17 changes: 17 additions & 0 deletions
17
ref_app/tools/AVR/avrdude/avrdude-v8.0-windows-x64/328p.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
echo off | ||
|
||
set AVRDUDE=.\avrdude.exe | ||
|
||
set HEX=../../../../bin/ref_app.hex | ||
|
||
rem Erase the chip. | ||
echo "Erase the chip." | ||
%AVRDUDE% -c avrisp2 -p m328p -P usb -e | ||
|
||
rem Flash the HEX-file. | ||
echo "Flash the HEX-file." | ||
%AVRDUDE% -c avrisp2 -p m328p -P usb -U flash:w:%HEX%:i | ||
|
||
rem Verify the flash. | ||
echo "Verify the flash." | ||
%AVRDUDE% -c avrisp2 -p m328p -P usb -U flash:v:%HEX%:i |
Oops, something went wrong.