This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OV5640

I am able to get the Ducati to communicate with the OV5640 on custom hardware but Android has yet to recognize the camera.

Right now I am investigating the binary DCC files related to the OV5640 but am having difficulty parsing the binary data. I see the process and parse files in framework/msp_dcc_server/src but no way to build or use them

Thanks

0576.AUG2.txt

0827.AUG2trace.txt

Below are the log info

 

logcat

E/CameraHal(  104): (40108488)   hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXCameraAdapter.cpp:3824 switchToState - Timeout triggered while switching to state 0x2

E/CameraHal(  104): (40108488)   hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXCameraAdapter.cpp:3901 fetchCapabilitiesForSensor - Failed to switch to Idle state, error: -110

E/CameraHal(  104): num_cameras = 0

 

Ducati trace

[      1.837] [ERR=43] src/new_sensor_MSP.c:[537]:Sen Read ID: 22080, expected ID:22080

[      1.837]

[      1.837] [ERR=44] OV5640/src/OV5640.c:[537]:!!! Sensor active!

[      1.973] [ERR=45] OV5640/src/OV5640.c:[733]:Set Sensor configuration:SEN_MODE_PREVIEW

[      1.983] [ERR=46] src/msp_camera_api.c:[1445]:COLOR Pattern: 8

[      1.983]

[      1.983] [ERR=47] src/new_csi_MSP.c:[450]:Default complex IO configuration for CSI:0

[      1.983] [ERR=48] src/csi2rx_api.c:[502]:number = 0, imagebuf = @b49000a0

[      1.983] [ERR=49] src/msp_camera_api.c:[1468]:video start Sensor - w:1280 h:960!!!

[      1.984] [ERR=50] src/new_csi_MSP.c:[450]:Default complex IO configuration for CSI:0

[      1.984] [ERR=51] src/csi2rx_api.c:[502]:number = 1, imagebuf = @b5c38ea0

[      1.984] [ERR=52] OV5640/src/OV5640.c:[996]:

[      1.984] !!! Startting preview!

[      1.984]

[      1.986] [ERR=53] src/msp_video.c:[1286]:video start ISP - w:1280 h:960!!!

[      5.841] [ERR=54] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      6.341] [ERR=55] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      6.841] [ERR=56] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      7.341] [ERR=57] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      7.841] [ERR=58] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      8.341] [ERR=59] omx_base_comp/src/omx_base_internal.c:[1615]:Event retrieve timed out on BUF_FREE_EVENT within function:_OMX_BASE_HandleFailEvent

[      8.341] [ERR=60] omx_base_comp/src/omx_base_process.c:[434]:Failed check: OMX_ErrorNone == eError

[      8.341] [ERR=61] omx_base_comp/src/omx_base_process.c:[434]:Returning error: eError