RC India
Welcome Guest, please login or register.
 
Pages: 1 2 [All]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: May 21, 2015, 01:08:33 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015




I bought FTDI chip v1.0 to flash my multiwii MWC SE v2.5, but somehow I was not able to do so because it failed to upload the sketch with an error "Programmer not responding".
And it seems like I won't be able to flash it with ftdi.
So I wanna ask if it is possible to program it using USBasp programmer board on its ISP pins ?
If so then, please tell me the procedure as well.
Also is it possible to tune the MWC with USBasp ?
thanks in advance.
Logged
 

Read
« Reply #1 on: May 21, 2015, 07:23:20 AM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



You can upload the firmware using a usbasp but you can't run multiwii gui as usbasp doesn't have a port..
I recommend fixing the problem of ftdi rather than using a usbasp
But if you want to you can upload the firmware using usbasp but in the end you I'll have to come back to ftdi for config.
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #2 on: May 21, 2015, 08:35:17 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



the main problem with that shit (sorry to use such words but i'm kindda pissed with FTDI) is that its not getting sorted out !!
No matter what I try I am just not able to upload the sketch no matter how correct I choose the port, board, programmer !!!
Just not able to do it...
N on top of that there's no clear solution for this on internet as well... whatever the solution is I already tried each one of them ... and none of them work for me ...
At least I'll be able to upload the sketch and get the multiwii working, if not well tuned !
I can use the OLED screen for tuning as well no ?
Logged
 

Read
« Reply #3 on: May 22, 2015, 04:55:32 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014


Re:

Try upload from another PC with updated drivers.
Logged
 

Read
« Reply #4 on: May 22, 2015, 08:23:45 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



I did, same problem ...
it's just not accepting anything ...
can I burn the hex file into it somehow with FTDI ??
Logged
 

Read
« Reply #5 on: May 22, 2015, 08:44:06 AM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



No you can't
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #6 on: May 22, 2015, 09:36:17 AM »
Darshan for multirotors
Well now it flies!!
Heli Lover
Forum Hero
*****

Reputation Power: 11 
Darshan for multirotors has no influence.
Offline Offline

City: Mumbai
State: Maharashtra
RC Skills: Beginner
Posts: 855
Join Date: Feb, 2015



If you are doing this then there shouldn't be a problem
Logged

put your heart in flying and flying will never leave your heart
 

Read
« Reply #7 on: May 22, 2015, 03:59:27 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Tezpur
State: Tripura
RC Skills: Expert
Posts: 1130
Join Date: Jul, 2009



actually you can burn a hex file through uart interface (what you refer as ftdi)
look at xloader software.

it will only work if the chip has a bootloader enabled - no harm in trying though
just download xloader - its pretty simple.

edit - you can also do it direct from avrdude - if you are comfortable with the command line
interface
Logged

 

Read
« Reply #8 on: May 22, 2015, 07:15:51 PM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



can you brief me a little bit more on how to do it through that software ...
Logged
 

Read
« Reply #9 on: May 22, 2015, 09:51:17 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Tezpur
State: Tripura
RC Skills: Expert
Posts: 1130
Join Date: Jul, 2009



have you downloaded the xloader software ?
Logged

 

Read
« Reply #10 on: May 23, 2015, 01:38:00 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



yep, I have



Logged
 

Read
« Reply #11 on: May 23, 2015, 08:07:26 AM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Tezpur
State: Tripura
RC Skills: Expert
Posts: 1130
Join Date: Jul, 2009



Its pretty much self explanatory

first window points to the hex file you want to flash

second window points to your device (atmega328p)

third one is com port of your uart (check in device manager)

last is baud rate - I cant recall offhand the baudrate required - do some seaerching and you should
be able to find out.
Logged

 

Read
« Reply #12 on: May 23, 2015, 10:14:27 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



not working ... the software just freezes ...
I tried with the old version of ftdi as well ...
nothing works with this !!!!WHAT ON EARTH IS THE PROBLEM ?
Logged
 

Read
« Reply #13 on: May 23, 2015, 11:22:30 AM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Tezpur
State: Tripura
RC Skills: Expert
Posts: 1130
Join Date: Jul, 2009



get some live help - multiwii can be very daunting for a beginner.

If all else fails - mail the board to me and I'll set it up and send it back.

Logged

 

Read
« Reply #14 on: May 23, 2015, 07:15:35 PM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



i've researched so much on this that it feels shame for me to be called a beginner .. lol n yet havent been able to get this thing in air .... i didn't know it'd be so frustrating...
inspite of having every thing this thing doesn't works !!

live help ??
Logged
 

Read
« Reply #15 on: May 24, 2015, 10:34:46 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014


Re:

Do you have any arduino like uno/nano/mega? If yes then you can use this as a programmer.
Logged
 

Read
« Reply #16 on: May 27, 2015, 03:51:01 PM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



yep, I have 2 arduino Uno, one of them has same problem as multiwii (avrdyse stk500_getsync() ) error...
the other works well ... please tell how to program it with that ...
Logged
 

Read
« Reply #17 on: May 27, 2015, 11:18:28 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



just load "Arduino ISP" code from examples inside Arduino IDE, All pinout/instructions are in that and upload the code to the working arduino UNO.

use this uno(ArduinoISP) to program multiwii same like USBasp .
Logged
 

Read
« Reply #18 on: May 28, 2015, 12:37:05 AM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



i've never used a Usbasp.
so once I burn this iSP program into the arduino then it'll work as the usbasp right ?
but there are 6 isp pins ...
how to connect what ?
can u just provide me a specific link u think that can help me ?
Logged
 

Read
« Reply #19 on: May 28, 2015, 12:46:55 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014


Re:

Read the hinted part in the beginning of arduino ISP code, 

Reset : D10
MOSI : D11
MISO : D12
SCK.  :  D13
GND :  GND

If that was Uno then you should connect a 100uf capacitor between arduino reset pin and ground to use as ISP programmer.
Logged
 

Read
« Reply #20 on: May 28, 2015, 07:30:11 AM »
SK1701
Heli Lover
Forum Hero

*****

Reputation Power: 11 
SK1701 has no influence.
Offline Offline

City: Montreal/ Bangalore
State: OUTSIDE INDIA
RC Skills: Intermediate
Posts: 888
Join Date: Oct, 2014

set acc_hardware = 1



yep, I have 2 arduino Uno, one of them has same problem as multiwii (avrdyse stk500_getsync() ) error...
the other works well ... please tell how to program it with that ...
For the getsync error there are  a couple of things you could try. Make sure you have selected the right board and port in the IDE 'Tools' menu. You could also try burning a bootloader to the AtMega on board this Uno.

Akhil Sir, I think it is supposed to be 10 uF. Also, when I put the capacitor, I was not able to program my ATtiny85 and it only worked when I removed the capacitor. So I am not sure how necessary it is.
Logged

 

Read
« Reply #21 on: May 28, 2015, 10:38:19 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014


Re:

@SK1701, for the capacitor any values should work in between 10uf to 500uf. The purpose is to prevent resetting uno while programming.

Read Official documents here.
http://www.arduino.cc/en/Tutorial/ArduinoISP
Logged
 

Read
« Reply #22 on: May 28, 2015, 10:54:17 AM »
SK1701
Heli Lover
Forum Hero

*****

Reputation Power: 11 
SK1701 has no influence.
Offline Offline

City: Montreal/ Bangalore
State: OUTSIDE INDIA
RC Skills: Intermediate
Posts: 888
Join Date: Oct, 2014

set acc_hardware = 1



Thanks Sir. I did not know that.
Logged

 

Read
« Reply #23 on: May 28, 2015, 12:15:44 PM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



i've burned the isp program into uno ...
now all I have to do is put the 6 pinouts on multiwii ro arduino and then upload sketch normally ?
like, board-pro mini, programmer usbasp ?
Logged
 

Read
« Reply #24 on: May 28, 2015, 12:27:33 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



yes,
Logged
 

Read
« Reply #25 on: May 28, 2015, 02:00:30 PM »
theObnoxious
Plane Lover
Active Member
**

Reputation Power: 1 
theObnoxious has no influence.
Offline Offline

City: Allahabad
State: Uttar Pradesh
RC Skills: Beginner
Posts: 59
Join Date: Jan, 2015



the vcc will go to the 5V on the uno no ?
i'll try it today n let you know .
Logged
 

Read
« Reply #26 on: May 28, 2015, 02:07:07 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



Yes, multiwii's VCC need to be connected to 5v of the Uno if no other power sources are connected to multiwii.
Logged
 

Pages: 1 2 [All]   Go Up
Jump to: