LibrePilot Forum
Users => Vehicles - MultiRotors => Topic started by: fboriero on May 28, 2017, 01:21:44 am
-
Hi everybody!
Someone knows if this board is supported by Librepilot?
https://www.banggood.com/Eachine-32bits-F4-Brushed-Flight-Control-Board-Based-On-Openpilot-CC3D-Revolutio-For-Micro-FPV-Frame-p-1084264.html?rmmds=search
Thanks
Fabrizio
-
Brushed motor can be configured like here:
https://forum.librepilot.org/index.php?topic=1501.msg11312#msg11312
The main issue with this board are the missing Mag and Baro that mean this is not a Revo board.
-
This could actually work with F3 support branch (soon to be merged into next) - as there is additional fusion algorithm that allows operation without barometer. https://bitbucket.org/librepilot/librepilot/pull-requests/426/lp-512-support-f3-boards/diff
-
Amazing thanks!
I will try and I let you know ;)
Thanks
-
I built branch LP-512 but still, it cannot recognize the board...
This is my dmesg:
[ 1667.580103] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 1727.270293] usb 1-2: USB disconnect, device number 8
[ 1730.120831] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 1730.263359] usb 1-2: New USB device found, idVendor=0483, idProduct=5740
[ 1730.263364] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1730.263367] usb 1-2: Product: Revolution
[ 1730.263369] usb 1-2: Manufacturer: BetaFlight
[ 1730.263372] usb 1-2: SerialNumber: 0x8000000
and this is lsusb:
Bus 001 Device 009: ID 0483:5740 STMicroelectronics STM32F407
If I can help on this...
Greetings
Fabrizio
-
It looks like you have a BetaFlight bootloader on it.
I recall that the F3 has USB support, so temporarily solder a blob on the SBL jumper, plug in USB and use something like this to flash Entire Firmware (bootloader and normal firmware).
This is the command for the Revo board. You will have to change ef_revolution to ef_? to match the new firmware name. Also, it is possible that the "-d 0483:df11" is wrong for this board. Maybe remove the -d command or find the correct USBID number.
dfu-util -d 0483:df11 -c 1 -i 0 -a 0 -D build/firmware/ef_revolution/ef_revolution.bin -s 0x08000000
First you will have to "make ef_whatever" with whatever replaced by the correct name for this new firmware
-
We are talking about a F4 board.
You can also try the short method using make:
make ef_revolution_dfu
After installed dfu-util package in your system.
https://librepilot.atlassian.net/wiki/display/LPDOC/Recover+board+using+DFU#RecoverboardusingDFU-Usingconsole%28GnuLinux/OSX%29
Edit:
STMicroelectronics STM32F407
Oh :)
-
If this board has cleanflight or betaflight on it, it could be easier to use cleanflight configurator to burn in librepilot bootloader. You can make bootloader for any board in hex format like this:
make bl_revolution_hex
Just use produced hex file as cleanflight firmware and then do the "Rescue" procedure from GCS/Firmware page.
-
that's strange... After I did
make ef_revolution_dfu
I had this output:
one: processed 117 XML files and generated 117 objects with no ID collisions. Total size of the data fields is 5041 bytes.
generating flight code
FWINFO /home/fabrizio/tools/librepilot/build/firmware/fw_revolution/fw_revolution.bin.firmware_info.c
DFU RESCUE /home/fabrizio/tools/librepilot/build/firmware/ef_revolution/ef_revolution.bin
sudo: /home/fabrizio/tools/librepilot/tools/dfu-util/bin/dfu-util: command not found
Makefile:59: recipe for target 'dfu' failed
make[1]: *** [dfu] Error 1
But I have installed dfu-util in Debian 9 (version 0.9) and it is searching for an exec in local directory...
Anyway, with mr_w method it runs!!!! :D :D
Thanks for your help
Fabrizio
-
/home/fabrizio/tools/librepilot/tools/dfu-util/bin/dfu-util: command not found
Sorry, need dfu-util to be installed locally using 'make dfuutil_install'
Anyways flashing from Cleanflight is more simple.
-
Ah ok, thanks :)
The problem now is that the mag is not recognized...
-
There is no Mag and Baro in this board.
Even if you use a external Mag, the Baro still missing.