Skip to content

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

Open
@dhylands

Description

@dhylands

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions