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.

sensor integration - DM365 -dvsdk

I have integrated a BAYER - 720P sensor to Dm365(dvsdk4).  Now I am using my custom app to capture some raw data from ccdc.

[wrote my application by refering tvp514x_ccdc_llopbac_mmap.c & mt9p031_ccdc_file.c or rather I would say this application is exactly same as mt9p031 capture application except resolution !!]

If run this application, it HANGS at "streaming started successfully" please refer below logs.

Capture Buffer 2 mapped at address 0x407a0000.
Q capture BUF 0---402b1000---1c2000
Q capture BUF 1---4052a000---1c2000
Q capture BUF 2---407a0000---1c2000
streaming started successfully

I have set  the data path/pads as below.
CAPTURE/SENSOR ---->CCDC--->VideoNODe[fileDump]. 
Checked(probed) the clock, data, I2C lines of sensor. everything looks proper.

What all the possible issues whcih I may have to look/debug further?

After debugging for awhile I found that, videobuf_waiton() function in /drivers//media/video/videobuf-core.c  return a error -EGAIN [-11].  What could be the possible issue? Where I am missing?

Thanks.



  • Entering my comments to close the thread. Issue has been resolved long ago.

    I was facing this issue due to wrong video source selection. Source was PAL but, I was trying to capture NTSC video.
    I changed to code to capture PAL video & problem resolved. :)