RC India

RC Models => Multirotors => Topic started by: ghoshatanu56 on October 27, 2015, 10:34:27 AM



Title: Problem uploading sketch to Multiwii AIO pro
Post by: ghoshatanu56 on October 27, 2015, 10:34:27 AM
So I bought a multiwii from robokits.in
i received it yesterday
but thats it.since that time i am having problems uploading sketch to the board
i receive message
stk500v2Receivemessage():timeout
no matter how much i try i get the same error
i burned the bootloader afresh and still the same
i checked for any faults in the ftdi line
what i found was there were two 219ohm resistors in each tx and rx line
now i am asking the board members for suggestion


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: sundaram on October 27, 2015, 11:53:26 AM
Are you sure the USB Com port created for AIO pro is Com 4???? After you plug in the AIO pro board wait for the drivers to install and com port to be created. only after installation of drivers open the Arduino program and under tools and Seriel port tab you will find a fresh com port numbered in 60s select that com port to load.


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: ghoshatanu56 on October 27, 2015, 03:30:07 PM
Sundaram. Sir thanks for the reply.
I see the com port 4 only when i plug in the board. So i guessed that it is the correct port.


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: Darshan for multirotors on October 27, 2015, 05:55:37 PM
go to device manager on your pc and see the correct port on which your board is hooked


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: sundaram on October 27, 2015, 07:05:13 PM
Yes in that case very likely it is.


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: SK1701 on October 27, 2015, 07:14:16 PM
What have you selected as the programmer and what programmer are you using? I'm not familiar with Multiwii but whatever little I know of Arduino might be useful.


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: ghoshatanu56 on October 27, 2015, 07:16:55 PM
@SK1701
I am using the onboard  ftdi for programming. And i used usbasp for burning the bootloader.
Thanks in advance


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: saikat on October 27, 2015, 08:52:15 PM
what bootloader have you flashed ?
have you flashed thru the IDE ?

is your sketch compiling without any errors ?

try uploading a simple blink sketch and see ifyou can blink some leds

upload the blink using the usbasp and post the results  - and then we can try other things


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: ghoshatanu56 on October 27, 2015, 08:56:15 PM
I burned the stk500boot_v2_mega2560.hex.found in the arduino folder. I used the arvdudess. I have tried the blink sketch. But it gives the same error.


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: saikat on October 27, 2015, 09:47:06 PM
try buring the bootloader from the ide -

open the arduino interface , select the board and then select the burn bootloader option


Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: saikat on October 27, 2015, 09:53:12 PM
also check out the following link

http://electronics.stackexchange.com/questions/7769/how-to-burn-arduino-mega-2560-bootloader


somewhere in the middle - there is a discussion of the variant of avrdue used.

see if that will solve.



Title: Re: Problem uploading sketch to Multiwii AIO pro
Post by: ghoshatanu56 on October 30, 2015, 01:52:46 PM
Ok. So i was able to upload the multiwii sktech. But there seems to be a strange problem. I am able to upload only one sketch after the bootloader is burned into the mcu. After i upload one sketch if i try to upload another one. It gives the same error