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.

Needs help with LI-3M01 camera under DM6446 EVM DVSDK 2.00!!!

Other Parts Discussed in Thread: TIGER

Hello everybody.

Does anybody work with LI-3M01 under DM6446 EVM DVSDK 2.00 ?

Leopard Img. examples are working fine under DVSDK 1.30, but they do not work under DVSDK 2.00 (it writes: DoPreview: Cannot convert)

Does anybody was faced with such problem?

Please help...

  • Roman,

    One option can be to ask Leopard if they have a roadmap to upgrade their examples to DVSDK 2.0.  Unfortunately, they are an independant 3rd party so it is up to them to decide if they want to support DVSDK 2.0 or not.

    There are a few users using leopard boards in this community so maybe someone has already been thru this and can offer some advice as well.

     

  • Hello, Juan.

    I communicate with Leopard support. I hope they will help me with that trouble.

    I am asking here hopping that somebody already solve this problem, will wait.

    Thank you.

  • I have been patched kernel with four patches according to LI-3M01 User Guide, recompiled kernel and examples. Under DVSDK 1.30 everything is working fine, I am receiving good frames (attached file 'tiger.bmp'). Under DVSDK 2.00 examples don't work, the output is:


    root@10.1.170.40:/# ./prev_720p_example
    initializing capture device

    Open Done

    QUERYCAP Done
    setting data format
    SetDataFormat:setting std to 20

    S_STD Done

    vpfe vpfe.1:
     Validation pass
    GetSTD Done WITH std = 20
    SetDataFormat:requesting width:1290 height:728

    Calling configCCDCraw()

    configCCDCraw Done
    initializing capture buffers

    REQBUF Done

    QUERYBUF Done

    QUERYBUF Done

    QUERYBUF Done
    initialize Previewerinitializing display device
    InitDisplayDevice:Setting output screen info,width:720 height:480
    ptrFbbuf[0] :40efd000 ptrFbbuf[1] :40fa5c00
    starting streaming
    Queing buffer:0

    Q_BUF Done
    Queing buffer:1

    Q_BUF Done
    Queing buffer:2

    Q_BUF Done

    STREAMON Done
    D - inc digital gain, d - dec digital gain
    A - inc analog gain, a - dec analog gain
    G - inc green_gain, g - dec green
    R - inc red_gain, r - dec red
    B - inc blue_gain, b - dec blue
    Set gain to D=688 A=36 G=84 R=84 B=84
                 press 'q' to quit
    DoPreview: Cannot convert

    root@10.1.170.40:/#

    System log is:

    vpfe vpfe.1:
    Validation pass
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>
    <vpbe_encoder_getmode>
    <vpbe_encoder_getmode/>

    But, if Capture device is initializated without O_NONBLOCK flag then camera starts work and I recieve frames. But frames are bad (attached file 'tiger.bmp'). Frames have wrong colors. I suppose that previewer initializated wrong although examples are original.

    So, I can't start properly LI-3M01 examples under DVSDK 2.00. Did anybody do this?

    Thank you.