Quanton STM32F4 baseflight

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

Quanton STM32F4 baseflight

Post by treym »

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

Post by treym »

quanton is now flyable with baseflight , ...

cGiesen
Posts: 188
Joined: Wed Jul 18, 2012 7:53 am
Location: Bochum, Germany

Re: Quanton STM32F4 baseflight

Post by cGiesen »

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!

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Quanton STM32F4 baseflight

Post by timecop »

Forget extra serials, it's the holes that count!!

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

Re: Quanton STM32F4 baseflight

Post by brm »

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 ;-)

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

Re: Quanton STM32F4 baseflight

Post by dominicclifton »

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.

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

Re: Quanton STM32F4 baseflight

Post by treym »

Hi Dominic,

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

main change is for timers being on different clock

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

Re: Quanton STM32F4 baseflight

Post by Gimbal »

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

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Quanton STM32F4 baseflight

Post by timecop »

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

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

Re: Quanton STM32F4 baseflight

Post by brm »

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

SWD

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

Re: Quanton STM32F4 baseflight

Post by dominicclifton »

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

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

Re: Quanton STM32F4 baseflight

Post by Gimbal »

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

Thx TC

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

Re: Quanton STM32F4 baseflight

Post by treym »

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.

teslahed
Posts: 84
Joined: Wed Jun 27, 2012 2:51 pm

Re: Quanton STM32F4 baseflight

Post by teslahed »

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).

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

Re: Quanton STM32F4 baseflight

Post by treym »

Yes , all serial shall/will be supported ..

teslahed
Posts: 84
Joined: Wed Jun 27, 2012 2:51 pm

Re: Quanton STM32F4 baseflight

Post by teslahed »

Are there any performance benefits in terms of acrobatic flight when using the MPU6000 (SPI vs I2C) ?

Quadflyer5280
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Post by Quadflyer5280 »

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

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

Re: Quanton STM32F4 baseflight

Post by treym »

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.

Quadflyer5280
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Post by Quadflyer5280 »

Thanks for the fast reply. The board came with taulabs installed. Is it possible to flash it to Baseflight than ?

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

Re: Quanton STM32F4 baseflight

Post by treym »

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 .

Quadflyer5280
Posts: 3
Joined: Tue Nov 11, 2014 6:44 am

Re: Quanton STM32F4 baseflight

Post by Quadflyer5280 »

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...

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

Re: Quanton STM32F4 baseflight

Post by treym »

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

Post by treym »

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

Post by treym »

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

Post by treym »

hello,

the code is now on github : https://github.com/treymarc/baseflight/tree/f3f4

Post Reply