Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArduCAM Mini-5MP-Plus running on Raspberry Pi W2 produces zero length JPEG #554

Open
dhylands opened this issue May 16, 2022 · 1 comment

Comments

@dhylands
Copy link

I made the following changes in order to get the example to compile: #553

I run the following command:

$ ./ov5642_capture -c foo.jpg 320x240
OV5642 detected.
Changed resolution1 to 320x240
Start capture
CAM Capture Done
Reading FIFO and saving IMG
The length is 5000

However the length written to the foo.jpg file is always zero.

I added some prints and it never finds the 0xffd8 in the buffer.

When I modify the code to write all of the FIFO data and not filter anything, then I can see that there is 0xffd9 near the end, but no 0xffd8 at the beginning.

@dhylands
Copy link
Author

I was able to get this version: ArduCAM/RaspberryPi#75 to work on my Pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant