Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2
  4. MIPI Ports in Camera Group 1 Stopped working

MIPI Ports in Camera Group 1 Stopped working

Scheduled Pinned Locked Moved VOXL 2
6 Posts 2 Posters 1.0k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    swickliff
    Contributor
    wrote on last edited by
    #1

    We had a M0014 Tracking Camera and a M0107 Hires, configured correctly for camera group 1 on MIPI J7. We had done some test flights of this aircraft, Hires camera looked great, tracking camera was working perfect. The aircraft was not involved in any crashes.

    While performing a stationary range test, the cameras stopped working. Running voxl-inspect-cam -a results in this error:
    Screenshot from 2024-07-16 14-57-44.png
    Voxl-inspect-services show that the voxl-camera-server is enabled but not running. Trying to restart the camera-server does nothing.

    I tried all new cameras and cables, and it produced the same error.

    Is something corrupted in the camera driver? Would reflashing the SDK potentially solve it?

    Reconfiguring the cameras in group 2 shows the cameras working fine again. But as far as I know VIO tracking can only be set up in camera group 1. Is it possible to set up the VIO pipeline through a different camera group?

    Final note, we conformal coated the Voxl2 prior to flight testing, but the MIPI ports are free from conformal coating or any other visible damage.

    Alex KushleyevA 1 Reply Last reply
    1
    • S swickliff

      We had a M0014 Tracking Camera and a M0107 Hires, configured correctly for camera group 1 on MIPI J7. We had done some test flights of this aircraft, Hires camera looked great, tracking camera was working perfect. The aircraft was not involved in any crashes.

      While performing a stationary range test, the cameras stopped working. Running voxl-inspect-cam -a results in this error:
      Screenshot from 2024-07-16 14-57-44.png
      Voxl-inspect-services show that the voxl-camera-server is enabled but not running. Trying to restart the camera-server does nothing.

      I tried all new cameras and cables, and it produced the same error.

      Is something corrupted in the camera driver? Would reflashing the SDK potentially solve it?

      Reconfiguring the cameras in group 2 shows the cameras working fine again. But as far as I know VIO tracking can only be set up in camera group 1. Is it possible to set up the VIO pipeline through a different camera group?

      Final note, we conformal coated the Voxl2 prior to flight testing, but the MIPI ports are free from conformal coating or any other visible damage.

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by Alex Kushleyev
      #2

      @swickliff , as you already probably figured out, the OV7251 camera (M0014) can work in any hardware slot 0-5 and you can find the needed sensormodule drivers in /usr/share/modalai/chi-cdk/ov7251.

      If you move the cameras around on J6/7/8 connectors, their camera IDs (from voxl-camera-server point of view) may change, but as long as you adjust /etc/voxl-camera-server.conf with correct camera id, the rest of the processes will not know which camera connector, the images are actually coming from.

      You can check camera IDs vs slot ids using voxl-camera-server -l.

      Please let me know if you need any further clarification.

      Regarding what happened to the original connector, please run voxl-camera-server -l in foreground and see if the cameras are still detected and then just voxl-camera-server in foreground to see what the error is.

      Alex

      S 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @swickliff , as you already probably figured out, the OV7251 camera (M0014) can work in any hardware slot 0-5 and you can find the needed sensormodule drivers in /usr/share/modalai/chi-cdk/ov7251.

        If you move the cameras around on J6/7/8 connectors, their camera IDs (from voxl-camera-server point of view) may change, but as long as you adjust /etc/voxl-camera-server.conf with correct camera id, the rest of the processes will not know which camera connector, the images are actually coming from.

        You can check camera IDs vs slot ids using voxl-camera-server -l.

        Please let me know if you need any further clarification.

        Regarding what happened to the original connector, please run voxl-camera-server -l in foreground and see if the cameras are still detected and then just voxl-camera-server in foreground to see what the error is.

        Alex

        S Offline
        S Offline
        swickliff
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev

        voxl-camera-server -l detected both cameras

        voxl-camera-server threw a few warnings and Error: Received "Buffer" error from camera: tracking

        The whole read out is below:

        voxl-camera-server 1.png
        voxl-camera-server 2.png
        voxl-camera-server 3.png

        Alex KushleyevA 1 Reply Last reply
        0
        • S swickliff

          @Alex-Kushleyev

          voxl-camera-server -l detected both cameras

          voxl-camera-server threw a few warnings and Error: Received "Buffer" error from camera: tracking

          The whole read out is below:

          voxl-camera-server 1.png
          voxl-camera-server 2.png
          voxl-camera-server 3.png

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by Alex Kushleyev
          #4

          @swickliff , thanks for sharing the voxl-camera-server output. When the "Buffer" error happens, do you get any frames at (you could check using voxl-portal)?

          If you just enable the tracking camera (disable hires), does the same issue occur?

          One way to see if you are receiving frames into the ISP, is to enable a special debug mode and then monitor output of dmesg:

          #enable debug mode (the debug mode will reset after reboot)
          echo 0xf > /sys/kernel/debug/camera_ife/ife_csid_debug
          
          • open another terminal and run dmesg -w to monitor the kernel messages
          • then start voxl-camera-server in the first terminal (with just tracking camera enabled) and see if you start getting SOF and EOF debug messages in the dmesg terminal, you can try with a working configuration and non-working configuration. This should also print out any errors that the ISP produces.

          For each frame, there should be one SOF (start of frame) and one EOF (end of frame) message printed in the terminal. The timestamps of SOF should be 33ms apart for 30FPS and the EOF (for the tracking camera) will typically come about 9.5ms after SOF)

          Alex

          S 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @swickliff , thanks for sharing the voxl-camera-server output. When the "Buffer" error happens, do you get any frames at (you could check using voxl-portal)?

            If you just enable the tracking camera (disable hires), does the same issue occur?

            One way to see if you are receiving frames into the ISP, is to enable a special debug mode and then monitor output of dmesg:

            #enable debug mode (the debug mode will reset after reboot)
            echo 0xf > /sys/kernel/debug/camera_ife/ife_csid_debug
            
            • open another terminal and run dmesg -w to monitor the kernel messages
            • then start voxl-camera-server in the first terminal (with just tracking camera enabled) and see if you start getting SOF and EOF debug messages in the dmesg terminal, you can try with a working configuration and non-working configuration. This should also print out any errors that the ISP produces.

            For each frame, there should be one SOF (start of frame) and one EOF (end of frame) message printed in the terminal. The timestamps of SOF should be 33ms apart for 30FPS and the EOF (for the tracking camera) will typically come about 9.5ms after SOF)

            Alex

            S Offline
            S Offline
            swickliff
            Contributor
            wrote on last edited by
            #5

            @Alex-Kushleyev , I believe we are not receiving any frames.

            I disabled the hires and the same buffer error occurs.

            Here is the readout from the dmesg -w command when I run voxl-camera-server in another terminal. I don't see any SOF or EOF messages:

            dmesg -w readout 1.png

            dmesg -w readout 2.png

            Alex KushleyevA 1 Reply Last reply
            0
            • S swickliff

              @Alex-Kushleyev , I believe we are not receiving any frames.

              I disabled the hires and the same buffer error occurs.

              Here is the readout from the dmesg -w command when I run voxl-camera-server in another terminal. I don't see any SOF or EOF messages:

              dmesg -w readout 1.png

              dmesg -w readout 2.png

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #6

              @swickliff , I do see SOF received at t=203.337935 and t=203.371313, however there are errors reported right after. It looks like there is actually a issue in data transmission over the high-speed camera interface.

              Since the same camera unit appears to be working when plugged into a different camera port (per your report), it seems there is some damaged that occurred on the original camera connector or components around the connector. Please inspect the connector and surrounding components again.

              Alex

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups