ArduCam SDK problem for OV9281 in Raspberry Pi Zero W

1.Which seller did you purchase the product(s) from?
http://vctec.co.kr/
2.The Model number of the product(s) you have purchased?
B0224
3.Which Platform are you using the product(s) on?
Raspberry Pi Zero W
4.Which instruction are you following?
https://www.arducam.com/docs/cameras-for-raspberry-pi/migrated/ov9281-1mp-global-shutter-raspberrypi-camera/
5.Has your product ever worked properly?
Working fine except for ArduCam SDK
6.What problems are you experiencing?
 

Hello,

I am already followed your instruction, and using yavta, can see streaming from /dev/video0.

However, your example of SDK is hanging at the line of “arducam_set_mode(…)”.

Here are infos about my system.

uname -a

Linux raspberry pi 5.10.10+ #1397 Mon Jan 25 18:35:09 GMT 2021 arm6l GNU/Linux.

My guess is that ov9281 HW, settup, and streaming from /dev/video0 is OK,

but only thing of trouble is your SDK with hanging during set the mode of ov9281.

Thank you.

Hoyoung Lee.
7.What attempts at troubleshooting have you already made?

8.How would you like us to help you?
Yes

arducam_set_mode seems to be incompatible with the kernel driver, from the link you posted, I assume you are using that one. Try to remove the dtoverlay=ov9281 entry and use the userspace driver which is sadly being closed source: https://github.com/ArduCAM/MIPI_Camera/tree/master/RPI

https://www.arducam.com/docs/cameras-for-raspberry-pi/mipi-camera-modules/camera-userland-driver-sdk-and-examples/