So, kleiner Workaround:
USBASP oder USBTINY anschliessen an den ISP Header.
c:\Copter\kkflash\lib>avrdude -c usbtiny -p m2560
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9801
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Den Bootloader runterladen und in .hex umbenennen:
http://fpv-community.de/attachment.php?attachmentid=45182&d=1358617044
c:\Copter\kkflash\lib>avrdude -c usbtiny -p m2560 -U flash:w:atmega2560.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9801
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "atmega2560.hex"
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: writing flash (256458 bytes):
Writing | ################################################## | 100% 511.90s
avrdude: 256458 bytes of flash written
avrdude: verifying flash memory against atmega2560.hex:
avrdude: load data flash data from input file atmega2560.hex:
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: input file atmega2560.hex contains 256458 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 333.99s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x3e000
0x0d != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Fehler ignorieren, Board blinkt gelb/blau
An den USB anschliessen und voila... es wird erkannt vom MP und lässt sich updaten.
Auch das flashen via Arduino geht jetzt ...
Aber mein Dataflash scheint im Arsch zu sein ...