tommy_mental
Member
Hello guys,
Need some help from the more experienced flyers here. I'm trying to flash my 15A Multistar ESCs, and got my USBasp with the atmel socket cable. I downloaded the respective flashing tool and I'm running the 64 bit version as is my system. I checked in the ESC database that I need the kda firmware.
So, I choose all the settings from the kk tool as required (programmer - usbasp; port - usb; controller atmega 8-based esc + enable boot loader (8kb flash);
I put the socket on (the right way with the dots matching etc), it starts working its magic and at the end I get an error. here's the log:
Flash the firmware from repository.
H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.exe -C H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U lfuse:r:H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/lfuse.hex:r -U hfuse:r:H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/hfuse.hex:r
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 = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading lfuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/lfuse.hex"
avrdude.exe: reading hfuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/hfuse.hex"
avrdude.exe done. Thank you.
H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.exe -C H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U lfuse:w:159:m -U hfuse:w:202:m
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 = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading input file "159"
avrdude.exe: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 159:
avrdude.exe: load data lfuse data from input file 159:
avrdude.exe: input file 159 contains 1 bytes
avrdude.exe: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "202"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 202:
avrdude.exe: load data hfuse data from input file 202:
avrdude.exe: input file 202 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe done. Thank you.
Error during writing flash.
------------
I can't seem to figure this out and I couldn't find anything relevant on the net. Anyone has any ideas? Please help. Thanks!
Need some help from the more experienced flyers here. I'm trying to flash my 15A Multistar ESCs, and got my USBasp with the atmel socket cable. I downloaded the respective flashing tool and I'm running the 64 bit version as is my system. I checked in the ESC database that I need the kda firmware.
So, I choose all the settings from the kk tool as required (programmer - usbasp; port - usb; controller atmega 8-based esc + enable boot loader (8kb flash);
I put the socket on (the right way with the dots matching etc), it starts working its magic and at the end I get an error. here's the log:
Flash the firmware from repository.
H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.exe -C H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U lfuse:r:H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/lfuse.hex:r -U hfuse:r:H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/hfuse.hex:r
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 = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading lfuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/lfuse.hex"
avrdude.exe: reading hfuse memory:
Reading | ################################################## | 100% 0.00s
avrdude.exe: writing output file "H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\tmp\/hfuse.hex"
avrdude.exe done. Thank you.
H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.exe -C H:\Chrome Downloads\kkmulticopterflashtool_0.80beta2\lib\avrdude\windows\avrdude.conf -p m8 -P usb -c usbasp -e -U lfuse:w:159:m -U hfuse:w:202:m
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 = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading input file "159"
avrdude.exe: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 159:
avrdude.exe: load data lfuse data from input file 159:
avrdude.exe: input file 159 contains 1 bytes
avrdude.exe: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "202"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 202:
avrdude.exe: load data hfuse data from input file 202:
avrdude.exe: input file 202 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe done. Thank you.
Error during writing flash.
------------
I can't seem to figure this out and I couldn't find anything relevant on the net. Anyone has any ideas? Please help. Thanks!