THE CUBE ORANGE / PX4 SUPPORT PACKAGE TOOLBOX CONNECTION PROBLEM !!

30 views (last 30 days)
Kübra Hilal Salman
Kübra Hilal Salman on 16 Mar 2021
Edited: Momtaz Abadir on 29 Nov 2021 at 19:12
Hello all,
I am trying to connect my The Cube Orange PX4 module to my MATLAB for using PX4 support package to change/design control systems from Simulink
On the Hardware Setup part, after building PX4 Firmware part, I could not connect and get accelerometer data as a last step, I see always the busy spinner
when entering the bootloader COM port.I am doing the steps over and over again but I could not achieve a succesful connection
I believe I did all the necessary steps as
Download and establish Windows PX4 Toolchain also you have to verify toolchain to proceed further steps.(I found the toolchain link on MATLAB official site)
  • Dowload the PX4 firmware using QGroundControl (I also checked the daily updates of QGC).
  • Add rc.txt file under etc folder as a root folder to SD card.
  • Check the latest update of QGroundControl and firmware (I used QGroundControl to flash the firmware)
  • Also my drivers for The Cube are updated
Maybe this can be a driver problem because also on the other forums there have been serious debates over Mission Planner / QGC conflict over The Cube Orange PixHawk module.When I flash the code using QGC one of my drivers shown defected but with flashing Mission Planner both of them shown working properly. I have to use QGC as MATLAB manual says but have no idea how to solve this problem, I will be glad if somebody help me.
I could not find any useful information for Trouble Shooting guide so I hope somebody give a solution.
Thanks
Best Regards.
  3 Comments
Kübra Hilal Salman
Kübra Hilal Salman on 17 Mar 2021
Lastly, after some changes like updating PX4 bootloader I will able to fixed the COM port without changing in time in PX4. But right now after the building the firmware for accelerometer data as last step of Hardware setup , I get an error as "Firmware is not suitable for this board" - "Found Board id:.. , Bootloader version 5" etc so still I have a problem about the connection process although I will able to fixed the COM port.

Sign in to comment.

Answers (1)

Ankur Bose
Ankur Bose on 23 Jul 2021
Hello,
Looks like you are facing a standard problem with Cube family of boards that come with 2 different COM ports for bootloader (COM7 for you) and main communication (COM11 for you). In the hardware setup today, we dont have an option to distinguish between the two.
My recommendation would be to reach out to MathWorks Tech Support. We can provide you some workarounds that might help with you the COM port issue.
I an also interested to know your requirement for the Cube Orange board. This board at the moment is not officially supported from the UAV Toolbox Support Package for PX4 Autopilots but we would loike to hear from you why the Cube Orange board suits your requirements compared to standard Pixhawk family boards such as Pixhawk 4.
Ankur
  1 Comment
Momtaz Abadir
Momtaz Abadir on 29 Nov 2021 at 19:12
Cube Orange board is high perfromance platform so UAV Toolbox Support Package for PX4 Autopilots must be updated to support it.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by