/Modules/AVR/ATprogISPUSB02A/SW/HEX_STK500V2/flash_by_stk500v2.sh |
---|
1,6 → 1,6 |
#!/bin/bash |
# ATprogISPUSB02A fash script |
# Uses STK500v2 Programmer |
# Uses STK500v2 Programmer or another functioning ATprogISPUSB02A module. |
#echo "WARNING: Enables external clock. Make sure a crystal is connected to the ATmega8535! \ |
#Connect a programmer to the ATprogISPUSB02A and set a 'ISP SELECTION' jumper (J4) to 'internal' (1-2)" |
avrdude -p atmega8535 -P /dev/ttyUSB0 -c stk500v2 -B 50 -v -U lfuse:w:0xff:m -U hfuse:w:0xdb:m |