Here is the original stk500.exe line
"C:\Program Files\Atmel\AVR Tools\STK500\Stk500.exe" -cUSB -dATmega328P -fDFFF -EFE -FDFFF -GFE -e -iffirmware.hex -pf -lCF -LCF
And what I think will work, but need to verify
avrdude -c usbtiny -p m328p -U lock:w:0xFF:m
avrdude -c usbtiny -p m328p -U hfuse:w:0xDF:m -U lfuse:w:0xFF:m -U efuse:w:0xFE:m
avrdude -c usbtiny -p m328p -U flash:w:firmware.hex
avrdude -c usbtiny -p m328p -U lock:w:0xCF:m
Any help appreciated.
Alan
Replies
Hi Adam, many months have passed and I require to be able to reflash the PPM Encoder/Decoder too. Same usbtiny device... Have you had any luck with your fuse settings? I flash it with the latest firmware but haven't set any fuses at all...
avrdude -c usbtiny -p m328p -U flash:w:firmware.hex was all I did and it still doesn't work correctly with my Fr-Sky receiver, but it does work on my Futaba receiver.
Regards
Alan
Take a look at the batch file screen shots here: http://code.google.com/p/ardupilot-mega/wiki/AVRStudio
Regards,
TCIII