add scripts for debugging

This commit is contained in:
2021-04-29 01:49:24 +02:00
parent 1e51c8a151
commit 6f41373992
3 changed files with 53 additions and 0 deletions

7
scripts/dw.sh Executable file
View File

@@ -0,0 +1,7 @@
make program
avrdude -c atmelice_isp -p m328p -U hfuse:w:0x99:m
echo "Power cycle now!"
read
avarice -5 -w -P atmega328p :4242 &
read
avrdude -c atmelice_isp -p m328p -U hfuse:w:0xD9:m