Greaterworks

  • Sep 18, 2024
  • Joined Sep 6, 2024
  • 0 best answers
  • Hello,

    I am using Raspberry pi 4 for a project with my oak-poe camera. I am connecting the camera to the computer via a network cable. When I run my script , I get this error. However when I connect it to my laptop (a linux OS), it works fine. Is it possible the issue is with my pi?

    • Hello @jakaskerl ,

      Thank you for your prompt response.

      Yes, the device_manager is also open at the same time.

      I tired creating a .dap file by following the script in the documentation bust it doesn't create. Could the issue be my code?

      (f, bl) = dai.DeviceBootloader.getFirstAvailableDevice()

      bootloader = dai.DeviceBootloader(bl)
      bootloader.saveDepthaiApplicationPackage(pipeline=pipeline, path="./dap_file/detection.dap")

      • Hi,

        My issue with is with trying to flash on to my OAK-FFC 4P PoE device so I could peform some detection in standalone form. I am using the .dap file approach. I tried following the script according to the documentation on creating a .dap file, but I run into these errors when I run the script:

        bootloader = dai.DeviceBootloader(bl)
        
                 ^^^^^^^^^^^^^^^^^^^^^^^^
        
        RuntimeError: Failed to connect to device, error message: X_LINK_DEVICE_NOT_FOUND

        I believe this error means my device cannot be found, however when I run device manager, I can locate the device and view it's status just fine.

        Thanks in advance for your help!