ArduCAM / ArduCAM_USB_Camera_Shield

This is the repository for ArduCAM USB Camera Shield
126 stars 69 forks source link

USB_CAMERA_DATA_LEN_ERROR with RPi USB2.0_UC-391_Rev.D and MT9J001 #157

Open Garet-Jax opened 3 years ago

Garet-Jax commented 3 years ago

Hi. I am using a Raspberry PI 3B with a USB2.0_UC-391_Rev.D and an ArduCam MT9J001. I am able to get the Streaming App working under python 2 and python 3 with Config file 'MT9J001_MONO_8b_3664x2748_4fps.cfg' . In both cases, the app works for a short while and then starts throwing USB_CAMERA_DATA_LEN_ERRORs.

If I stop the App and restart it, then it works for a short while and then starts throwing USB_CAMERA_DATA_LEN_ERRORs again. I can restart as often as I want and it always works for a short while and will then start throwing errors. From what I am reading, it seems like the error is indicating that I am filling up a USB buffer. What I haven't found is how to use the camera in streaming mode without causing the issue and/or how to fix it once it has occurred.

Thoughts?

TIA