Quanton STM32F4 baseflight

Quanton STM32F4 baseflight

Postby treym » Sat Aug 02, 2014 11:28 am

Hello,

i have just added some support for the Quanton

board desc : http://www.quantec-networks.de/shop/en/ ... rol-rev.-1

source/hex/dfu : https://github.com/treymarc/baseflight/ ... f4/release

Last edited by treym on Mon Dec 15, 2014 8:48 pm, edited 2 times in total.
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby treym » Sun Aug 03, 2014 11:00 pm

quanton is now flyable with baseflight , ...
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby cGiesen » Mon Aug 04, 2014 9:44 am

Nice, but whats about all the serials?
Is this 'only' on the same limited base like the 'original' Baseflight?

I look forward what's going on!
cGiesen
 
Posts: 188
Joined: Wed Jul 18, 2012 7:53 am
Location: Bochum, Germany

Re: Quanton STM32F4 baseflight

Postby timecop » Mon Aug 04, 2014 9:54 am

Forget extra serials, it's the holes that count!!
timecop
 
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Quanton STM32F4 baseflight

Postby brm » Mon Aug 04, 2014 2:14 pm

i cloned the repo - never got so many warnings when compiling.

when looking at the video - i am not sure ...
the picture isn't clear - either the motors or the user has a problem ...

at least one more spare serial port to hook up the ardu logger ...

the board itself is top - prob. one of the best with regards to imu noise.
not that i like the mpu-6000 ;-)
brm
 
Posts: 287
Joined: Mon Jun 25, 2012 12:00 pm

Re: Quanton STM32F4 baseflight

Postby dominicclifton » Fri Aug 15, 2014 2:02 pm

nice work trey. As i mentioned on the cleanflight thread i've received an F4 based board too, I'll be looking at your code soon for sure! SO much to do, so little time.
dominicclifton
 
Posts: 202
Joined: Tue Feb 05, 2013 10:28 pm

Re: Quanton STM32F4 baseflight

Postby treym » Fri Aug 15, 2014 8:23 pm

Hi Dominic,

pinout/wiring/af : https://docs.google.com/spreadsheets/d/ ... G-DWvZ9cbU

main change is for timers being on different clock
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby Gimbal » Sat Aug 16, 2014 12:33 pm

Am i stupid or something, how can i flash fw to Quanton?
Gimbal
 
Posts: 146
Joined: Tue Jul 24, 2012 7:14 pm
Location: Sweden

Re: Quanton STM32F4 baseflight

Postby timecop » Sat Aug 16, 2014 1:50 pm

I would imagine, using ST DFU tools?
There's probbly a boot button/switch/jumper somewehre
timecop
 
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Quanton STM32F4 baseflight

Postby brm » Sat Aug 16, 2014 2:18 pm

Gimbal wrote:Am i stupid or something, how can i flash fw to Quanton?

SWD
brm
 
Posts: 287
Joined: Mon Jun 25, 2012 12:00 pm

Re: Quanton STM32F4 baseflight

Postby dominicclifton » Sat Aug 16, 2014 3:00 pm

treym wrote:Hi Dominic,

pinout/wiring/af : https://docs.google.com/spreadsheets/d/ ... G-DWvZ9cbU

main change is for timers being on different clock


cool thanks treym
dominicclifton
 
Posts: 202
Joined: Tue Feb 05, 2013 10:28 pm

Re: Quanton STM32F4 baseflight

Postby Gimbal » Sun Aug 17, 2014 8:31 pm

timecop wrote:I would imagine, using ST DFU tools?
There's probbly a boot button/switch/jumper somewehre

Thx TC
Gimbal
 
Posts: 146
Joined: Tue Jul 24, 2012 7:14 pm
Location: Sweden

Re: Quanton STM32F4 baseflight

Postby treym » Mon Aug 18, 2014 1:31 am

timecop wrote:There's probbly a boot button/switch/jumper somewehre


they did not put a button/switch/jumper for forcing the dfu mode

the provided hex wil set the device into dfu , same a the NazePro for uploading the firmware with usb.
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby teslahed » Thu Aug 21, 2014 10:08 am

Will this board allow for more serial ports to be used with baseflight?

If i'm honest the only limitation that i notice with the Naze32 hardware at the moment is the lack of serial ports. It would be nice not to have to choose between an OSD and bluetooth. Even though there are workarounds for that (i.e. change PIDs via OSD menus etc).

Are there any other advantages to running baseflight on this hardware?

Or is it just a fun project? (fair enough either way).
teslahed
 
Posts: 84
Joined: Wed Jun 27, 2012 2:51 pm

Re: Quanton STM32F4 baseflight

Postby treym » Thu Aug 21, 2014 10:13 am

Yes , all serial shall/will be supported ..
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby teslahed » Thu Aug 21, 2014 10:50 am

Are there any performance benefits in terms of acrobatic flight when using the MPU6000 (SPI vs I2C) ?
teslahed
 
Posts: 84
Joined: Wed Jun 27, 2012 2:51 pm

Re: Quanton STM32F4 baseflight

Postby Quadflyer5280 » Tue Nov 11, 2014 6:49 am

How exactly do you flash the Quanton with baseflight? I'm having no luck with this whatsoever. Guess I need a step by step . Thnx
Quadflyer5280
 
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Postby treym » Tue Nov 11, 2014 9:46 am

How exactly do you flash the Quanton with baseflight?



1 ) using swd - HEX Firmware

connect your swd debuger to the swd pin of your quanton, flash the HEX firmewar


2 ) using uart

iirc , uart pins are not practical for flashing ..

3) using usb - DFU firmware

this assume you have baseflight installed on your quanton

put the board into bootloader mode using 'R' like baseflight, upload the DFU firmware , using dfu-utils or your preffered tools . the quantom will act as a DFU device.

or use the chrome configurator (in the dev branch , not sure about the status)
Last edited by treym on Mon Dec 15, 2014 9:56 pm, edited 1 time in total.
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby Quadflyer5280 » Tue Nov 11, 2014 1:15 pm

Thanks for the fast reply. The board came with taulabs installed. Is it possible to flash it to Baseflight than ?
Quadflyer5280
 
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Postby treym » Tue Nov 11, 2014 8:05 pm

yes, i also recieved the quanton board with taulabs installed ,

i use swd and a stlinkv2 from a discovery f4 for flashing the board with baseflight, you can see then briefly on the first video .
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby Quadflyer5280 » Sun Nov 16, 2014 11:27 pm

OK, got an ST-Link V2 from digikey and got everything working. The problem I have now is that Baseflight Configurator gives an error about needing a newer firmware, 3-2.1 .... Works fine with Multiwii WinGUI 2.2 though so at least I'm flying :D Is there an updated firmware I haven't been able to find or a way to roll back my Baseflight Configurator? Seems those Chrome apps like to update by themselves though...
Quadflyer5280
 
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Postby treym » Sun Nov 16, 2014 11:51 pm

Quadflyer5280 wrote:OK, got an ST-Link V2 from digikey and got everything working. The problem I have now is that Baseflight Configurator gives an error about needing a newer firmware, 3-2.1 .... Works fine with Multiwii WinGUI 2.2 though so at least I'm flying :D Is there an updated firmware I haven't been able to find or a way to roll back my Baseflight Configurator? Seems those Chrome apps like to update by themselves though...


Kudos ! Your are the Third user to report success with baseflight on the quanton ;)

I will try to update the code asap

edit : some minor msp update is required
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby treym » Sun Nov 16, 2014 11:54 pm

there are some expérimental optimisation in the code , so feel free to report any odd behavior if you notice them ;)


edit : i am busy atm , well update code soon .. :)
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby treym » Sun Dec 14, 2014 5:23 am

Quadflyer5280 wrote:Is there an updated firmware I haven't been able to find or a way to roll back my Baseflight Configurator?


hello,

The firmware is now up to date and work with the latest version of the configurator, you can find a Hex file for the quanton :)

User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: Quanton STM32F4 baseflight

Postby treym » Mon Dec 15, 2014 9:25 pm

hello,

the code is now on github : https://github.com/treymarc/baseflight/tree/f3f4
User avatar
treym
 
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am


Return to Boards

Who is online

Users browsing this forum: No registered users and 1 guest

cron