ArduCam 108MP camera Goes into infinite Data_len_error

I have been using the Arducam 108MP camera with the Python SDK, but I am experiencing an issue where the camera goes into an infinite Data_len_error after opening and closing it a few times . Has anyone else experienced this issue and found a solution?

Steps to reproduce:

Connect the Arducam 108MP camera to the linux desktop or other compatible device.
Install the Python SDK and run a sample script to capture an image.
Open and close the camera a few times.
The camera will eventually throw a Data_len_error and become unresponsive.

Expected behavior:

The camera should be able to open and close multiple times without encountering any errors.

Actual behavior:

The camera goes into an infinite Data_len_error after a few opening and closing cycles (most commonly after when the process gets interrupted and camera is not closed properly).
It should be working fine because before opening the camera we are making sure it was closed properly before it is opened again.

System information:

Arducam 108MP camera

Python 3.9

Steps taken to resolve the issue:

Unplug and replug the USB3 cable in the desktop

This method to solve this problem is not the best and ideal way to do it.

Any suggestions or insights would be greatly appreciated. Thank you in advance!

1 Like