Skip to content

Commit

Permalink
Merge pull request #595 from ckormanyos/avrdude_and_batches
Browse files Browse the repository at this point in the history
Avrdude and batches
  • Loading branch information
ckormanyos authored Dec 21, 2024
2 parents 4f06419 + 60beb39 commit 2fc4208
Show file tree
Hide file tree
Showing 5 changed files with 23,213 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ref_app/tools/AVR/avrdude/avrdude-v8.0-windows-x64/2560.bat
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 ref_app/tools/AVR/avrdude/avrdude-v8.0-windows-x64/328p.bat
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
Loading

0 comments on commit 2fc4208

Please sign in to comment.