RC India

RC Equipments => Servos, Gyros and All Electronics => Topic started by: avesh on March 04, 2014, 06:12:01 PM



Title: kkmulticopter v5.5 not working.
Post by: avesh on March 04, 2014, 06:12:01 PM
I was flashing the stock v5.5 controller. But I was not able to flash it and got an error from the flash software. After that the board shows no response when I connect esc's or usbasp programming cable, led is not blinking.  Please help..


Title: Re: kkmulticopter v5.5 not working.
Post by: SideWinder on March 04, 2014, 07:41:42 PM
What was the error you had encountered, and are you sure you didnt reverse polarity or connect wrong pins up while flashing or powering up after failed flash attempt. Because if its not powering up at all, its kind of dead. Try to power it with different esc/usb port/cable etc


Title: Re: kkmulticopter v5.5 not working.
Post by: avesh on March 04, 2014, 08:18:12 PM
I tried using libusb and kk flash utitlity and it worked like a charm. Now the board is flashed with kk blackboard 16kb flash..

avrdude.exe done.  Thank you.


Title: Re: kkmulticopter v5.5 not working.
Post by: giri111820 on March 04, 2014, 09:19:55 PM
Flash the firmware from repository.

C:\Users\HP\Desktop\kk board\lib\avrdude\windows\avrdude.exe -C C:\Users\HP\Desktop\kk board\lib\avrdude\windows\avrdude.conf -p m168p -P usb -c usbasp -e -U lfuse:w:0xe2:m -U hfuse:w:0xdd:m

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request.


avrdude.exe: error: programm enable: target doesn't answer. 0
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.

avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: A device attached to the system is not functioning.



avrdude.exe done.  Thank you.

Error during setting the fuses.
Flashing of firmware aborted.

i encounter this problem can anyone help with this


Title: Re: kkmulticopter v5.5 not working.
Post by: avesh on March 04, 2014, 09:47:19 PM
Yes i had the same problem.. You need to download libusb ~1.2 then follow these steps

http://www.youtube.com/watch?v=dkOQ6tlGgyU#ws (http://www.youtube.com/watch?v=dkOQ6tlGgyU#ws)

just verify the polarity of the usbasp cable. Tiny arrow on the jack should be up against vcc (board).


Title: Re: kkmulticopter v5.5 not working.
Post by: giri111820 on March 04, 2014, 10:17:39 PM
Flash the firmware from repository.

C:\Users\HP\Desktop\kk board\lib\avrdude\windows\avrdude.exe -C C:\Users\HP\Desktop\kk board\lib\avrdude\windows\avrdude.conf -p m168p -P usb -c usbasp-clone -e -U lfuse:w:0xe2:m -U hfuse:w:0xdd: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 | avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: A device attached to the system is not functioning.


avrdude.exe: error: wrong responds size
################avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: A device attached to the system is not functioning.


avrdude.exe: error: wrong responds size
################################## | 100% -0.00s

avrdude.exe: Device signature = 0x1e5757
avrdude.exe: Expected signature for ATmega168P is 1E 94 0B
             Double check chip, or use -F to override this check.
avrdude.exe: error: usbasp_transmit: usb_control_msg: sending control message failed, win error: A device attached to the system is not functioning.



avrdude.exe done.  Thank you.

now i get this prob can anyone help


Title: Re: kkmulticopter v5.5 not working.
Post by: avesh on March 04, 2014, 10:36:40 PM
Please specify the operating system you are using. I was facing issues with windows 8 but i am not facing any issue in windows 7.

You have to download latest drivers from here
 http://www.fischl.de/usbasp/ (http://www.fischl.de/usbasp/)

Download latest flash tool from here
http://lazyzero.de/en/modellbau/kkmulticopterflashtool (http://lazyzero.de/en/modellbau/kkmulticopterflashtool)

libusb from here
http://sourceforge.net/projects/libusb-win32/ (http://sourceforge.net/projects/libusb-win32/)

then follow the instruction as depicted in the video.


Title: Re: kkmulticopter v5.5 not working.
Post by: avesh on March 04, 2014, 10:41:04 PM
Also verify your drivers from device manager. A successfully installed usbasp should look like this..


Title: Re: kkmulticopter v5.5 not working.
Post by: giri111820 on March 04, 2014, 11:33:49 PM
hi,
i am using windows 7 os first problem was cleared when i followed the steps in the video, now i am facing a problem regarding device signature is there any solution


Title: Re: kkmulticopter v5.5 not working.
Post by: avesh on March 05, 2014, 08:17:15 AM
have you successfully installed lipusb drivers and make sure that the driver should work even after you connect your board to the cable.