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

    PX4 Firmware flashing - Flight Core V2

    Flight Core v2
    3
    19
    845
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @Jetson Nano
      last edited by

      @Jetson-Nano Are you sure that it is showing up as /dev/ttyACM1? Make sure it's looking for the correct port. For example, on my machine I see it show up as /dev/ttyACM0 so I have to modify the command accordingly.

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @Eric Katzfey
        last edited by

        @Jetson-Nano @Eric-Katzfey To add on to what Eric is saying, it can be helpful to run sudo dmesg -wH in a different terminal to see what port the device is enumerating on when plugged in

        1 Reply Last reply Reply Quote 0
        • Jetson NanoJ
          Jetson Nano
          last edited by Jetson Nano

          Hey @tom @Eric-Katzfey

          Once the board is connected to a PC running Ubuntu 20, the device is not detected. The ports remain the same before and after connecting Flight core. The default port is also not detected (ie. /ttyACM0).

          Printed the sudo dmesg -wH in terminal and got the following output,

          d9613b0c-e362-4554-af8e-0658e00cb5eb-image.png

          And also is there any particular SD Card we should use or any SD Card from the PX4 website is fine?

          4f44585c-5664-499e-95d9-8c3c62e43152-image.png

          tomT 1 Reply Last reply Reply Quote 0
          • tomT
            tom admin @Jetson Nano
            last edited by

            @Jetson-Nano I would try a different port or cable.
            Those SD cards should be fine

            Jetson NanoJ 1 Reply Last reply Reply Quote 0
            • Jetson NanoJ
              Jetson Nano @tom
              last edited by Jetson Nano

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Jetson NanoJ
                Jetson Nano
                last edited by

                Hey @tom @Eric-Katzfey

                As depicted earlier, I have used a Class 4 - SD card(16 GB) for the FCv2. I have tried running the command, sudo dmesg -wH. I get the following error again, the device is not able to enumerate the fcv2.

                unnamed.png

                Also, the cable I used works with other industrial flight controllers. Checked with different ports and cables too. Is there force boot switch on fcv2 which is to be enabled?

                20240415_141752_HDR.jpg

                Above is the image of the flight core V2 after flashing of LED once powered or connected via USB UART. I'm using MCBL-00010 type connector as recommended.

                Is there a way to flash the fc_v2 via VOXL2. Connecting the fcv2 as external flight controller to VOXL2 as prescribed here ?

                Jetson NanoJ 1 Reply Last reply Reply Quote 0
                • Jetson NanoJ
                  Jetson Nano @Jetson Nano
                  last edited by

                  @tom @Eric-Katzfey anything that I can try out here to flash fc_v2?

                  tomT 1 Reply Last reply Reply Quote 0
                  • tomT
                    tom admin @Jetson Nano
                    last edited by

                    @Jetson-Nano Are you making sure to start the flash either via. qgc or the script, then plugging in USB?

                    Jetson NanoJ 1 Reply Last reply Reply Quote 0
                    • Jetson NanoJ
                      Jetson Nano @tom
                      last edited by

                      @tom yes, while using QGC, I connect and wait for sometime, but the firmware upload option doesn't appear. I try reconnecting but still the same.

                      Similarly while trying to use the python script, I start the flash sequence but since serial port allocation is'nt reflected the program throws runtime.

                      tomT 1 Reply Last reply Reply Quote 0
                      • tomT
                        tom admin @Jetson Nano
                        last edited by

                        @Jetson-Nano Just to confirm, in QGC you're getting to this page: 81b5572c-41ed-4386-822f-70f664afb32b-image.png

                        before plugging in USB correct?

                        Jetson NanoJ 1 Reply Last reply Reply Quote 0
                        • Jetson NanoJ
                          Jetson Nano @tom
                          last edited by

                          @tom yes, I get into this page and as mentioned earlier trying QGC build 4.3.

                          tomT 1 Reply Last reply Reply Quote 0
                          • tomT
                            tom admin @Jetson Nano
                            last edited by

                            @Jetson-Nano So when you get to that page the flight core needs to be completely disconnected from both power and USB.

                            Then you should plug in USB

                            Jetson NanoJ 1 Reply Last reply Reply Quote 0
                            • Jetson NanoJ
                              Jetson Nano @tom
                              last edited by

                              @tom tried out the same as you told, kept the fc_v2 connected to USB after opening firmware page section. Was observing the page section for couple of minutes, received no response. On checking the terminal using sudo dmesg -wH, the USB enumeration error(address not found) error same as earlier is thrown.

                              tomT Jetson NanoJ 2 Replies Last reply Reply Quote 0
                              • tomT
                                tom admin @Jetson Nano
                                last edited by

                                @Jetson-Nano Sounds like there's either a hardware issue with your PC or an issue with the board, I'd recommend submitting an RMA: https://www.modalai.com/pages/rma

                                1 Reply Last reply Reply Quote 0
                                • Jetson NanoJ
                                  Jetson Nano @Jetson Nano
                                  last edited by

                                  @Jetson-Nano any other method which could be tried out to flash the fc_v2?

                                  tomT 1 Reply Last reply Reply Quote 0
                                  • tomT
                                    tom admin @Jetson Nano
                                    last edited by

                                    @Jetson-Nano Unfortunately not given the state of the board

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB | Contributors