Can MultiWii firmware be downloaded into Arduino ?

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi, I have been given an older MultiWii PRO Flight Controller board with out GPS
and I want to download and save a copy of its firmware.
Older MultiWii PRO Flight Controller board with out GPS
Older MultiWii PRO Flight Controller board with out GPS

Can I do this and how do I do it.

Bob B.

waltr
Posts: 733
Joined: Wed Jan 22, 2014 3:21 pm
Location: Near Philadelphia, Pennsyvania, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by waltr »

For a better answer visit the Arduino Web site and read. Also do a search of the Arduino forum and/or ask if this can be done on the Arduino forum.
Here is one forum discussion:
http://forum.arduino.cc/index.php?topic=6150.0

kenl
Posts: 17
Joined: Tue Jun 17, 2014 1:03 pm

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by kenl »

Hi Bob,

Yes you can download it and you can use the Arduino program to view and edit it. So download the latest version of multiwii and the open with the arduino IDE that you just downloaded and installed.

But you will need to do a whole lot of reading and experimenting to get any real sense out of it all, the board you have is basically an Arduino mega with sensors attached, you can buy a GPS to attach to it as well :)

Arakon
Posts: 196
Joined: Thu Jul 17, 2014 2:22 pm

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by Arakon »

I think he means dumping the FW that is currently flashed. That is possible through an external programmer, but only as a compiled binary dump, not as arduino code.

kalle123
Posts: 106
Joined: Sun Oct 09, 2011 10:07 am

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by kalle123 »

... and as it is a compiled code, that makes no sense.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by PatrikE »

There's no need to backup MWii from the FC.
Just load same version back if you want the old one back
The settings is in the Eeprom and not in the compiled code.

Old releases is available from V1.7
http://code.google.com/p/multiwii/downloads/list

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi Everyone,
Thank you for your replies. I did not get any return email notifications so I had not see your replies until now. ;)

What I was hoping for, was to be able to retrieve the config.h file setting from this older MultiWii Board,
so I could compare it to the present WiteSpyQuad config.h file setting,
in hope that it would help me to understand how it works together with everything.
And maybe all I would have then needed to do, is to make the changes to add the GPS and change to the Hexa X motor configuration.

So as I understand it, the FTDI USB adapter (http://witespyquad.gostorego.com/flight ... apter.html)
is not able to, through Arduino, to retrieving the config.h file setting back into Arduino.

Is it proper to think of the config.h file setting as the eeprom file setting ? :?:
Older MultiWii PRO Flight Controller Board
Older MultiWii PRO Flight Controller Board

(http://witespyquad.gostorego.com/flight ... oller.html)

Bob B.

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi,
Viewing witespyquad info for this Older MultiWii PRO Flight Controller board w/ GPS Option
at: (http://witespyquad.gostorego.com/flight ... oller.html),
it looks like the sensors are still the same.
MultiWii PRO Flight Controller w- GPS Option - Flight Controllers
MultiWii PRO Flight Controller w- GPS Option - Flight Controllers

And so when I go to the witespyquad place for the (https://www.dropbox.com/sh/4p9doebi2lyje2p/IilIQ5y7Xi)
there looks to be two firmwares to choose from.
Dropbox - Mega1.0_2.2 2014
Dropbox - Mega1.0_2.2 2014

First one is MultiWii_MEGA1_GPS.zip and the other one is MultiWii_MEGA1.zip.
So it looks like I would choose to download: MultiWii_MEGA1_GPS.zip and then open it into Arduino,
then go to the config.h folder settings and change the //#define QUADX to #define HEX6X.
Then flash it to the this Older MultiWii PRO Flight Controller board w/ GPS Option and see if it works.

Bob B.

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi,
When trying to flash, Its not working! :?
Error compiling! :?
Arduino MultiWii Board_ Error compiling!
Arduino MultiWii Board_ Error compiling!

Arduino MultiWii Board _ Error compiling.jpg
Arduino MultiWii Board _ Error compiling.jpg


It even dose it with the stock downloaded firmware, (I made no changes in the config.h folder it was the stock downloaded firmware).
Any idea whats going on ? :?: Its failing to work properly. :shock: :cry:

Bob B.

kalle123
Posts: 106
Joined: Sun Oct 09, 2011 10:07 am

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by kalle123 »

Hello Bob.

Can MultiWii firmware be downloaded into Arduino ?

Would be nice, if you open a new thread. I think, your request about firmware download is finished. ;)

br

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi kalle123, Thank you for your reply.

Should have titled this thread this way:
Can arduino-1.0.3 read the config.h folder setting in the witespyquad MultiWii PRO Flight Controller Board ?
(So to retrieve the config.h folder setting back into arduino-1.0.3 so to be able to view the config.h folder settings in the witespyquad MultiWii PRO Flight Controller Board.)

My original title was not clear and so I messed-up to what my request for help was.
I used the wrong word (downloaded), it lead to thinking downloaded from the web page and I was thinking
from the witespyquad MultiWii PRO Flight Controller Board.
My Error.

As you can see I am having trouble with Paul's (witespyquad) firmware as it produce Compiling Errors when compiling with the arduino-1.0.3 program.

Bob B.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by PatrikE »

Well just use Paul's config.c as a guide.
Transfer the configuration to V2.3
I guess you need to use a earlier Arduino idé for that version.
Test Arduino 023 or around there.

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi PatrikE and everyone,

Paul's config.h firmware is having Error Compiling Problems.

I started a new post: MultiWii / Arduino / Error Compiling Problem !
Please go to it here: (viewtopic.php?f=22&t=5822)

Thank You

Bob B.

bob195558
Posts: 38
Joined: Wed Jul 17, 2013 1:16 pm
Location: New England, USA

Re: Can MultiWii firmware be downloaded into Arduino ?

Post by bob195558 »

Hi
Made progress, now able to compile and flashed to this MultiWii PRO Flight Controller Board.
Purpose was to change the Multicopter Motor Configuration and to add the GPS module.
Went to: (https://code.google.com/p/multiwii/downloads/list) and download MultiWii_2_3.zip file and opened it up in Arduino-1.0.6.
Made selections in config.h tab: #define HEX6X (2 motors forward), #define FFIMUv2 (Board and Sensors selection),
#define GPS_SERIAL 2, #define NMEA (activate GPS).
Open MultiWiiWinGUI 2.2.exe on computer and USB connected them together and did a temp calibration so to be able check that everything was working properly.
Seems to be working OK now.

Thank you for helping! :D

Bob B.

Post Reply