Hey Leute,
ich wollte meine f-20A von HK mit der simonK Firmware flashen, komme aber nicht wirklich weiter.
Ich nutze das kkmulticopter FlashTool und den Atmel Adapter von HK.
Hier mal die Statusmeldung:
Also ich hab das jetz so interpretiert dass er denkt, dass das ein anderer Chip ist und nicht der ATmega8 und daher das flashen abbricht.
Dann habe ich mal -F in der Kommandozeile benutzt und folgendes kommt bei raus:
Und da hänge ich nun bei dem verification Error und hab auch im Internet nichts wirklich gefunden was zur Lösung beigetragen hat, wäre super wenn jemand von euch ein Tipp oder Lösungsansatz hätte. Danke schonmal
ich wollte meine f-20A von HK mit der simonK Firmware flashen, komme aber nicht wirklich weiter.
Ich nutze das kkmulticopter FlashTool und den Atmel Adapter von HK.
Hier mal die Statusmeldung:
Flash the firmware from repository.
Flashing firmware from file.: C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex
C:\Users\plohmix\Desktop\simonk\KKflashtool\lib\avrdude\windows\avrdude.exe -C C:\Users\plohmix\Desktop\simonk\KKflashtool\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U flash:w:C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex:i
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x800182
avrdude.exe: Expected signature for ATmega8 is 1E 93 07
Double check chip, or use -F to override this check.
avrdude.exe done. Thank you.
Error during writing flash.
Flashing firmware from file.: C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex
C:\Users\plohmix\Desktop\simonk\KKflashtool\lib\avrdude\windows\avrdude.exe -C C:\Users\plohmix\Desktop\simonk\KKflashtool\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U flash:w:C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex:i
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x800182
avrdude.exe: Expected signature for ATmega8 is 1E 93 07
Double check chip, or use -F to override this check.
avrdude.exe done. Thank you.
Error during writing flash.
Dann habe ich mal -F in der Kommandozeile benutzt und folgendes kommt bei raus:
C:\Users\plohmix\Desktop\simonk\KKflashtool>C:\Users\plohmix\Desktop\simonk\KKfl
ashtool\lib\avrdude\windows\avrdude.exe -F -C C:\Users\plohmix\Desktop\simonk\KK
flashtool\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -B 8 -e -U fla
sh:w:C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex:i
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude.exe: Device signature = 0x800182
avrdude.exe: Expected signature for ATmega8 is 1E 93 07
avrdude.exe: erasing chip
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: reading input file "C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp
\bs_nfet.hex"
avrdude.exe: writing flash (8192 bytes):
Writing | ################################################## | 100% 3.87s
avrdude.exe: 8192 bytes of flash written
avrdude.exe: verifying flash memory against C:\Users\plohmix\Desktop\simonk\KKfl
ashtool\tmp\bs_nfet.hex:
avrdude.exe: load data flash data from input file C:\Users\plohmix\Desktop\simon
k\KKflashtool\tmp\bs_nfet.hex:
avrdude.exe: input file C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.
hex contains 8192 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 3.11s
avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
0x00 != 0xe9
avrdude.exe: verification error; content mismatch
avrdude.exe: safemode: lfuse changed! Was 80, and is now 2e
Would you like this fuse to be changed back? [y/n] n
avrdude.exe: safemode: hfuse changed! Was 80, and is now c9
Would you like this fuse to be changed back? [y/n] n
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
ashtool\lib\avrdude\windows\avrdude.exe -F -C C:\Users\plohmix\Desktop\simonk\KK
flashtool\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -B 8 -e -U fla
sh:w:C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.hex:i
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude.exe: Device signature = 0x800182
avrdude.exe: Expected signature for ATmega8 is 1E 93 07
avrdude.exe: erasing chip
avrdude.exe: set SCK frequency to 93750 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: reading input file "C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp
\bs_nfet.hex"
avrdude.exe: writing flash (8192 bytes):
Writing | ################################################## | 100% 3.87s
avrdude.exe: 8192 bytes of flash written
avrdude.exe: verifying flash memory against C:\Users\plohmix\Desktop\simonk\KKfl
ashtool\tmp\bs_nfet.hex:
avrdude.exe: load data flash data from input file C:\Users\plohmix\Desktop\simon
k\KKflashtool\tmp\bs_nfet.hex:
avrdude.exe: input file C:\Users\plohmix\Desktop\simonk\KKflashtool\tmp\bs_nfet.
hex contains 8192 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 3.11s
avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
0x00 != 0xe9
avrdude.exe: verification error; content mismatch
avrdude.exe: safemode: lfuse changed! Was 80, and is now 2e
Would you like this fuse to be changed back? [y/n] n
avrdude.exe: safemode: hfuse changed! Was 80, and is now c9
Would you like this fuse to be changed back? [y/n] n
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.