• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    m500 VOXL Flight sdk update to v1.1.x

    VOXL SDK
    4
    26
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Darshit Desai @Darshit Desai
      last edited by 30 Jan 2024, 22:15

      @Moderator

      @Moderator said in m500 VOXL Flight sdk update to v1.1.x:

      your firmware should match what was used in the SDK, they are paired together

      What firmware matches the voxl-1 sdk 1.1.2 version

      D 1 Reply Last reply 30 Jan 2024, 22:37 Reply Quote 0
      • D
        Darshit Desai @Darshit Desai
        last edited by 30 Jan 2024, 22:37

        @Moderator I have got the cable for flight core update, I upgraded the sdk to 1.1.2 again but then I am following the instructions as shown in the below but nothing shows up in the firmware tab

        https://docs.modalai.com/update-flight-core-firmware/#update-using-qgroundcontrol---mainline-builds

        944c8d72-c319-474a-8141-a5e41b310c75-image.png

        T 1 Reply Last reply 30 Jan 2024, 22:45 Reply Quote 0
        • T
          tom admin @Darshit Desai
          last edited by tom 30 Jan 2024, 22:45 30 Jan 2024, 22:45

          @Darshit-Desai The .px4 file is in the SDK release zip:

          for FCv1: voxl_SDK_1.1.2/flight-core/modalai_fc-v1_1.14.0-2.0.63.px4

          Follow the instructions here (ModalAI Build) with the above .px4 file:

          https://docs.modalai.com/update-flight-core-firmware/#update-using-qgroundcontrol---modalai-build

          D 1 Reply Last reply 30 Jan 2024, 22:48 Reply Quote 0
          • D
            Darshit Desai @tom
            last edited by Darshit Desai 30 Jan 2024, 22:48 30 Jan 2024, 22:48

            @tom Yes but in the firmware page nothing shows up in QGC

            @tom said in m500 VOXL Flight sdk update to v1.1.x:

            https://docs.modalai.com/update-flight-core-firmware/#update-using-qgroundcontrol---modalai-build

            T 1 Reply Last reply 30 Jan 2024, 22:55 Reply Quote 0
            • T
              tom admin @Darshit Desai
              last edited by 30 Jan 2024, 22:55

              @Darshit-Desai Did you unplug power and re-connect power while keeping USB attached?

              D 1 Reply Last reply 30 Jan 2024, 23:30 Reply Quote 0
              • D
                Darshit Desai @tom
                last edited by Darshit Desai 31 Jan 2024, 00:00 30 Jan 2024, 23:30

                @tom I was able to finish the upgrade, but in QGC it shows something about actuators, when I open it opens the esc calibration related page, Do I need to calibrate esc again?

                7010e546-8d10-4fd0-ab00-f75e514611fc-image.png

                d038d013-92ff-4af5-b96e-6b71e8e685ad-image.png

                Edit: I found this page (https://docs.modalai.com/modal-esc-px4-user-guide/) on ESCs and added the parameters accordingly, the only ones I don't know are the min and max RPM, I am using the voxl 1 m500 with holybro 2216-920kv motors. Also I don't think the motors rotate when I try to using the sliders

                e4a13997-c405-42af-a8a5-4b56e84ccb89-image.png

                T 1 Reply Last reply 31 Jan 2024, 18:14 Reply Quote 0
                • T
                  tom admin @Darshit Desai
                  last edited by tom 31 Jan 2024, 18:26 31 Jan 2024, 18:14

                  @Darshit-Desai Can you try loading the FCv1 m500 params from here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/blob/master/params/v1.14/platforms/M500_FCV1.params

                  D 1 Reply Last reply 31 Jan 2024, 18:24 Reply Quote 0
                  • D
                    Darshit Desai @tom
                    last edited by 31 Jan 2024, 18:24

                    @tom V1 or V2? Because when I flash firmware it detects v2

                    6bee05a3-cd22-4d3d-b67e-858f5c631c3b-image.png

                    T 1 Reply Last reply 31 Jan 2024, 18:26 Reply Quote 0
                    • T
                      tom admin @Darshit Desai
                      last edited by 31 Jan 2024, 18:26

                      @Darshit-Desai Sorry yes v2 https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/blob/master/params/v1.14/platforms/M500_FCV2.params

                      T 1 Reply Last reply 31 Jan 2024, 18:30 Reply Quote 0
                      • T
                        tom admin @tom
                        last edited by 31 Jan 2024, 18:30

                        @tom It's hard for me to follow which hardware you have, so whichever one you have v1 or v2

                        D 1 Reply Last reply 31 Jan 2024, 18:33 Reply Quote 0
                        • D
                          Darshit Desai @tom
                          last edited by Darshit Desai 31 Jan 2024, 18:34 31 Jan 2024, 18:33

                          @tom Yes I am also not sure what came with m500 I recently bought because the earlier ones had v1

                          Edit: The motor issue was resolved with this and I can spin the motors, I will have a flight with the propellers and confirm it

                          D 1 Reply Last reply 31 Jan 2024, 18:41 Reply Quote 0
                          • D
                            Darshit Desai @Darshit Desai
                            last edited by Darshit Desai 31 Jan 2024, 18:56 31 Jan 2024, 18:41

                            @tom On the next reboot it's showing esc failure in the logs

                            [13:38:12.651] Info: Kill-switch engaged
                            [13:38:13.768] Info: Kill-switch disengaged
                            [13:39:33.963] Info: Armed by RC
                            [13:39:34.096] Info: logging: opening log file sess114/log100.ulg
                            [13:39:34.296] Critical: Failsafe activated, triggering disarm
                            ESC failure
                            [13:39:34.296] Info: Disarmed by failsafe
                            [13:39:36.780] Info: Armed by RC
                            [13:39:36.781] Info: logging: opening log file sess114/log101.ulg
                            [13:39:37.131] Critical: Failsafe activated, triggering disarm
                            [13:39:37.131] Info: Disarmed by failsafe
                            [13:39:39.424] Info: Armed by RC
                            [13:39:39.465] Info: logging: opening log file sess114/log102.ulg
                            [13:39:39.787] Critical: Failsafe activated, triggering disarm
                            [13:39:39.787] Info: Disarmed by failsafe

                            And the motors try to spin up for a few seconds when arming and then instantly stop

                            When I move this sliders now the motors rotate but when I try to arm the drone using RC it shows the ESC failure error

                            a646b685-77d0-4ba3-8d65-72af8e7870ae-image.png

                            T 1 Reply Last reply 31 Jan 2024, 21:20 Reply Quote 0
                            • D Darshit Desai referenced this topic on 31 Jan 2024, 21:16
                            • T
                              tom admin @Darshit Desai
                              last edited by 31 Jan 2024, 21:20

                              @Darshit-Desai If you upload the px4 log someone on our team can analyze it

                              D 1 Reply Last reply 31 Jan 2024, 21:31 Reply Quote 0
                              • D
                                Darshit Desai @tom
                                last edited by Darshit Desai 31 Jan 2024, 21:42 31 Jan 2024, 21:31

                                @tom By px4 log you mean the one mentioned in the post earlier, How can I access the log file which is mentioned here in the QGC log?

                                @Darshit-Desai said in m500 VOXL Flight sdk update to v1.1.x:

                                [13:38:12.651] Info: Kill-switch engaged
                                [13:38:13.768] Info: Kill-switch disengaged
                                [13:39:33.963] Info: Armed by RC
                                [13:39:34.096] Info: logging: opening log file sess114/log100.ulg
                                [13:39:34.296] Critical: Failsafe activated, triggering disarm
                                ESC failure
                                [13:39:34.296] Info: Disarmed by failsafe
                                [13:39:36.780] Info: Armed by RC
                                [13:39:36.781] Info: logging: opening log file sess114/log101.ulg
                                [13:39:37.131] Critical: Failsafe activated, triggering disarm
                                [13:39:37.131] Info: Disarmed by failsafe
                                [13:39:39.424] Info: Armed by RC
                                [13:39:39.465] Info: logging: opening log file sess114/log102.ulg
                                [13:39:39.787] Critical: Failsafe activated, triggering disarm
                                [13:39:39.787] Info: Disarmed by failsafe

                                T 1 Reply Last reply 31 Jan 2024, 22:02 Reply Quote 0
                                • T
                                  tom admin @Darshit Desai
                                  last edited by 31 Jan 2024, 22:02

                                  @Darshit-Desai The logs can be downloaded through QGroundControl: https://docs.px4.io/v1.11/en/getting_started/flight_reporting.html#downloading-logs-from-the-flight-controller

                                  D 1 Reply Last reply 31 Jan 2024, 23:40 Reply Quote 0
                                  • D
                                    Darshit Desai @tom
                                    last edited by 31 Jan 2024, 23:40

                                    @tom Here's the ulog file link,

                                    https://drive.google.com/file/d/1vuy_Ut0h_rEZDWseDgeywE093CISo9RB/view?usp=sharing

                                    C D 2 Replies Last reply 1 Feb 2024, 02:20 Reply Quote 0
                                    • C
                                      coreyazion @Darshit Desai
                                      last edited by 1 Feb 2024, 02:20

                                      @Darshit-Desai Our m500 also showed something needed to be done with the acutator after updgrade to 1.14. But after loading the parameters (assuming you are using fcv2) and then reboot and it is okay.

                                      p.s. I vaguely rember having to do "loading parameters and rebooting" twice to get everything done. But I'm not very sure about this just I have this impression.

                                      D 1 Reply Last reply 1 Feb 2024, 23:54 Reply Quote 0
                                      • D
                                        Darshit Desai @coreyazion
                                        last edited by 1 Feb 2024, 23:54

                                        @coreyazion @tom This didn't work for me, although the drone esc and the drone functionality overall does work on an older sdk and flight core params, so its the newer version that's causing bugs for me

                                        D 1 Reply Last reply 5 Feb 2024, 16:11 Reply Quote 0
                                        • D
                                          Darshit Desai @Darshit Desai
                                          last edited by 5 Feb 2024, 16:11

                                          @tom any updates on this?

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            Darshit Desai @Darshit Desai
                                            last edited by 7 Feb 2024, 01:23

                                            @tom any update on this?

                                            ModeratorM 1 Reply Last reply 7 Feb 2024, 03:08 Reply Quote 0
                                            6 out of 26
                                            • First post
                                              6/26
                                              Last post
                                            Powered by NodeBB | Contributors