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.

TDA4VM: TDA4VM: How do I keep multi-cam graph running when I unplug the camera for one channels and reboot system?

Part Number: TDA4VM

Hi TI expert:

We use SDK 0703, QNX.

We can keep multi-cam graph running when I unplug the camera for one channel, and channel  can capture error frame which is registerd by tivxCaptureRegisterErrorFrame.

I have refer to the follow e2e:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1010032/tda4vm-does-the-error-frame-need-to-be-a-raw-frame/3733303?tisearch=e2e-sitesearch&keymatch=tivxCaptureRegisterErrorFrame#3733303

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1136265/tda4vm-how-do-i-keep-graph-running-when-i-unplug-the-camera-for-one-or-more-channels/4216672?tisearch=e2e-sitesearch&keymatch=tivxCaptureRegisterErrorFrame#4216672

However, when I unplug the camera and then reboot the system, and then start the multi-cam demo, all channels are abnormal, and all channel capture error frame  which is registerd by tivxCaptureRegisterErrorFrame.

More detailed information is as follows:

in function tivxCaptureIsAllChFrameAvailable, all channels are timeout and not receive.

  • I think this is normal, maybe there were some camera init checking for locks on all of cameras under your request from high level app(for example 4 or 6...)

    also, i think the very first camera0 is critical and if you like to investigate further, you can unplug the camera other than camera 0. 

  • High level app does not check for locks on all of cameras, and I unlpug camera 3 other than camera 0.

    I think the problem is tiovx config or other settings, could you please give me some other ideas?

  • Hi Zhao,

    I checked the same on the latest SDK and i was not able to reproduce this.

    I removed 1 out of 4 camera during streaming and the error frame started to stream of that camera.
    Keep the camera disconnected and Power OFF and ON the EVM.

    After running the application with specifying number of cameras as "4", I'm getting stream from 3 camera and error frame from the removed camera.

    May I know if you are doing the same?
    How are you doing reboot? Is it power OFF & ON of the board?

    Are you seeing this issue on the EVM?

    Regards,
    Nikhil