diff options
author | sicarius <devnull@localhost> | 2007-02-11 19:32:03 +0100 |
---|---|---|
committer | sicarius <devnull@localhost> | 2007-02-11 19:32:03 +0100 |
commit | 56d9bdd39ed36c36e9a61411b86c76d5228b2133 (patch) | |
tree | 0cca7a63a5609f91d1912ecbde6743938c9ae5d2 /source/ct-Bot/contrib/flash_n_fuse/setfuses.sh | |
parent | 644121b478a57772150f460c3c8cd035aa6767a2 (diff) | |
download | rc2007-soccer-56d9bdd39ed36c36e9a61411b86c76d5228b2133.tar rc2007-soccer-56d9bdd39ed36c36e9a61411b86c76d5228b2133.zip |
Added lot's of code-files used during work
Diffstat (limited to 'source/ct-Bot/contrib/flash_n_fuse/setfuses.sh')
-rw-r--r-- | source/ct-Bot/contrib/flash_n_fuse/setfuses.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/ct-Bot/contrib/flash_n_fuse/setfuses.sh b/source/ct-Bot/contrib/flash_n_fuse/setfuses.sh new file mode 100644 index 0000000..0c02970 --- /dev/null +++ b/source/ct-Bot/contrib/flash_n_fuse/setfuses.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# echo program C't-Bot with avrdude and mySmartUSB +# +# echo Usage: setfuses.sh <filename> +# +if [ $# != 1 ]; then + echo "Usage: setfuses.sh <filename>" + exit 1; +fi + +avrdude -p m32 -c avr910 -P /dev/ttyUSB0 -e -u -U lfuse:w:lfuse.hex:i -U hfuse:w:hfuse.hex:i -U lock:w:lock.hex:i
\ No newline at end of file |