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: How to add the MAX96712+MAX96705 camera

Part Number: TDA4VM

Hi Team,

The customer is trying to add a MAXIM camera and deserializer on TDA4VM and now has the following issues: 

1) SDK: 

ti-processor-sdk-linux-j7-evm-08_06_00_11

ti-processor-sdk-rtos-j721e-evm-08_06_00_12

2) Video link, EVK board from MAX96712 is connected to TDA4VM evaluation board via CSI interface:

AR0147+MAX96705+MAX96712-->CSI -->TDA4VM

3) The registers of the MAX96712 and MAX96705 can be read and written via IIC 

4) Referring to the document Adding new image sensor to PSDK RTOS chapter, try adding AR0147 camera and follow the process to compile and install successfully. When running vision_app_init.sh properly, is it a way to consider using run_app_single_cam.sh to verify that the camera is added correctly? 

A. If run_app_single_cam.sh is available, does the CSIRX section need to be changed?

B. TI's current sensor_drv is based on UB960 and UB970 deserializers to add cameras. Is there a MAXIM-based demo for reference?

C. If TI's sensor framework is not applicable, is it possible to use IIC directly to set up the deserializer and camera, then CSIRX to get the video? 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    A. If run_app_single_cam.sh is available, does the CSIRX section need to be changed?

    Did not get it. Single camera application internally uses CSIRX, so you need to make sure that the sensor driver is added properly, because application uses these parameters to configure CSIRX. 

    B. TI's current sensor_drv is based on UB960 and UB970 deserializers to add cameras. Is there a MAXIM-based demo for reference?

    No, Maxim SERDES is not supported in the released SDK.

    C. If TI's sensor framework is not applicable, is it possible to use IIC directly to set up the deserializer and camera, then CSIRX to get the video? 

    I would suggest following the developer node to add a new sensor in the sensor framework. 

    Regards,

    Brijesh

  • Hi Brijesh,

    Thank you for the support.

    The customer is trying to modify the camera drive and deserializer drive to run the single camera routine run_app_single_cam.sh following the vision apps user guide process. Compile and install the entire SDK into SD using the make SDK command within vision_apps. However, the I2C bus (I2C6--> 2060000.i2c) on which the CSI is located at runtime cannot be found. Their attempt to replace rootfs /boot/k 3-j721e-common-proc-board.DTS also has no effect. Then try the process of creating an SD boot card by following the vision apps user guide process, and when finished, replace the contents under the rootfs/boot folder under the boot folder with the default system content, but other errors were found. 

    Default system I2C bus state:

    ls /sys/bus/i2c/devices/* -lh
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/3-0020 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3/3-0020
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/3-0022 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3/3-0022
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/4-0020 -> ../../../devices/platform/bus@100000/2010000.i2c/i2c-4/4-0020
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0040 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0040
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0041 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0041
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0042 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0042
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0043 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0043
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0044 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0044
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0045 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0045
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0046 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0046
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0047 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0047
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0048 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0048
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-0049 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-0049
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004a -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004a
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004b -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004b
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004c -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004c
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004d -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004d
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004e -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004e
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/5-004f -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5/5-004f
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/6-0020 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-6/6-0020
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/6-0044 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-6/6-0044
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/9-0020 -> ../../../devices/platform/bus@100000/2060000.i2c/i2c-9/9-0020
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-0 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/40b00000.i2c/i2c-0
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-1 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/40b10000.i2c/i2c-1
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-2 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/42120000.i2c/i2c-2
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-3 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-4 -> ../../../devices/platform/bus@100000/2010000.i2c/i2c-4
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-5 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-5
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-6 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-6
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-7 -> ../../../devices/platform/bus@100000/2040000.i2c/i2c-7
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-8 -> ../../../devices/platform/bus@100000/2050000.i2c/i2c-8
    lrwxrwxrwx 1 root root 0 Dec 20 16:27 /sys/bus/i2c/devices/i2c-9 -> ../../../devices/platform/bus@100000/2060000.i2c/i2c-9

    Vision apps system bus status:

     ls /sys/bus/i2c/devices/* -lh
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/2-0048 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/42120000.i2c/i2c-2/2-0048
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/3-0020 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3/3-0020
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/3-0022 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3/3-0022
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0040 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0040
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0041 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0041
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0042 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0042
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0043 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0043
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0044 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0044
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0045 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0045
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0046 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0046
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0047 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0047
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0048 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0048
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-0049 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-0049
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004a -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004a
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004b -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004b
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004c -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004c
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004d -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004d
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004e -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004e
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/4-004f -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4/4-004f
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/5-0020 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-5/5-0020
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/5-0044 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-5/5-0044
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-0 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/40b00000.i2c/i2c-0
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-1 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/40b10000.i2c/i2c-1
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-2 -> ../../../devices/platform/bus@100000/bus@100000:bus@28380000/42120000.i2c/i2c-2
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-3 -> ../../../devices/platform/bus@100000/2000000.i2c/i2c-3
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-4 -> ../../../devices/platform/bus@100000/2020000.i2c/i2c-4
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-5 -> ../../../devices/platform/bus@100000/2030000.i2c/i2c-5
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-6 -> ../../../devices/platform/bus@100000/2040000.i2c/i2c-6
    lrwxrwxrwx 1 root root 0 Dec 18 07:56 /sys/bus/i2c/devices/i2c-7 -> ../../../devices/platform/bus@100000/2050000.i2c/i2c-7

    Thanks and regards,

    Cherry

  • Hi Cherry,

    If you are using vision apps dtb file, then i2c6 instance will not found, as it is used from R5F, so it will not be available on Linux.

    Regards,

    Brijesh

  • Hi Brijesh,

    Thanks and here're 3 questions may also need your help:

    1) Does demo of run_app_single_cam push to screen? Is additional configuration required? Is it the default push to DISPLAY0 (DP0)? 

    2) When selecting camera port ports, select camera port index 0-11 :  what interfaces do these ports correspond to? For example, in CSI0, the deserializer can be connected to four cameras, which port is the first camera? 

    Error : Failed to start sensor at channel Id 0

    Based on the above error, the camera fails to open. The YUV camera is powered on automatically, the PowerOn function is not empty. So does the error indicate that the camera failed to open or failed to get the video stream? 

    3) log information: get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/MAX96705_AR0147_UYVY/wdr 

    Depending on the camera manufacturer, changing the camera model does not require configuring the WDR parameters. Are these settings necessary? 

    root@j7-evm:/opt/vision_apps# ./run_app_single_cam.sh 
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       569.340451 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       569.346591 s:  VX_ZONE_INIT:Enabled
       569.346611 s:  VX_ZONE_ERROR:Enabled
       569.346617 s:  VX_ZONE_WARNING:Enabled
       569.347377 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
       569.347510 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0 
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1 
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2 
    IttCtrl_registerHandler: command iss_raw_save registered at location 3 
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4 
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5 
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6 
    IttCtrl_registerHandler: command dev_ctrl registered at location 7 
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8 
     NETWORK: Opened at IP Addr = 1.4.16.64, socket port=5000!!!
       569.360986 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]    569.361288 s: test-----IssSensor_DeserializerInit
    [MCU2_0]    569.361595 s: test-----ub960I2cInstId=6, ub960I2cAddr=75
    [MCU2_0]    569.361643 s: test-----setupI2CInst
    [MCU2_0]    569.361703 s: test----initFusion2_UB97x test
    [MCU2_0]    569.562155 s: test--writing to TCA6408 register 0x3 --status 0
    [MCU2_0]    569.761903 s: test----max96712_cfgScript 
    [MCU2_0]    569.761969 s: MAX96712 config start 
    [MCU2_0]    569.762039 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:0;
    [MCU2_0]    569.762960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:0;
    [MCU2_0]    569.763960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0010, regVal:11;
    [MCU2_0]    569.764950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0011, regVal:11;
    [MCU2_0]    569.765960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b06, regVal:ef;
    [MCU2_0]    569.766954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c06, regVal:ef;
    [MCU2_0]    569.767952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d06, regVal:ef;
    [MCU2_0]    569.768947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e06, regVal:ef;
    [MCU2_0]    569.769955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0d, regVal:81;
    [MCU2_0]    569.770948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0d, regVal:81;
    [MCU2_0]    569.771951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0d, regVal:81;
    [MCU2_0]    569.772952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0d, regVal:81;
    [MCU2_0]    569.773946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0018, regVal:f;
    [MCU2_0]    569.774949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0f, regVal:1;
    [MCU2_0]    569.775946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0f, regVal:1;
    [MCU2_0]    569.776951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0f, regVal:1;
    [MCU2_0]    569.777948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0f, regVal:1;
    [MCU2_0]    569.778951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:1;
    [MCU2_0]    569.779953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 00f4, regVal:f;
    [MCU2_0]    569.780952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:40;
    [MCU2_0]    569.781976 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040c, regVal:0;
    [MCU2_0]    569.782958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040d, regVal:0;
    [MCU2_0]    569.783951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040e, regVal:5e;
    [MCU2_0]    569.784951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040f, regVal:7e;
    [MCU2_0]    569.785948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0410, regVal:7a;
    [MCU2_0]    569.786949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0411, regVal:48;
    [MCU2_0]    569.787958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0412, regVal:20;
    [MCU2_0]    569.788955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 041a, regVal:f0;
    [MCU2_0]    569.789948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a0, regVal:4;
    [MCU2_0]    569.790950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a3, regVal:e4;
    [MCU2_0]    569.791946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a4, regVal:e4;
    [MCU2_0]    569.792952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090a, regVal:c0;
    [MCU2_0]    569.793953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0944, regVal:c0;
    [MCU2_0]    569.794956 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0984, regVal:c0;
    [MCU2_0]    569.795946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09c4, regVal:c0;
    [MCU2_0]    569.796948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a2, regVal:f0;
    [MCU2_0]    569.797952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0415, regVal:e6;
    [MCU2_0]    569.798957 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0418, regVal:e6;
    [MCU2_0]    569.799950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090b, regVal:7;
    [MCU2_0]    569.800947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 092d, regVal:15;
    [MCU2_0]    569.801953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090d, regVal:1e;
    [MCU2_0]    569.802951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090e, regVal:1e;
    [MCU2_0]    569.803947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090f, regVal:0;
    [MCU2_0]    569.804950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0910, regVal:0;
    [MCU2_0]    569.805945 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0911, regVal:1;
    [MCU2_0]    569.806946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0912, regVal:1;
    [MCU2_0]    569.807947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094b, regVal:7;
    [MCU2_0]    569.808950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 096d, regVal:15;
    [MCU2_0]    569.809951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094d, regVal:1e;
    [MCU2_0]    569.810949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094e, regVal:5e;
       569.987486 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
       570.147621 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
    [MCU2_0]    569.811946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094f, regVal:0;
       570.147629 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
       570.147636 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
       570.147641 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
    [MCU2_0]    569.812953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0950, regVal:40;
       570.147647 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
       570.147653 s: ISS: Enumerating sensors ... found 6 : MAX96705_AR0147_UYVY
    [MCU2_0]    569.813957 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0951, regVal:1;
    Select camera port index 0-11 : [MCU2_0]    569.814953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0952, regVal:41;
    [MCU2_0]    569.815961 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098b, regVal:7;
    [MCU2_0]    569.816960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ad, regVal:15;
    [MCU2_0]    569.817949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098d, regVal:1e;
    [MCU2_0]    569.818954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098e, regVal:9e;
    [MCU2_0]    569.819951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098f, regVal:0;
    [MCU2_0]    569.820952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0990, regVal:80;
    [MCU2_0]    569.821950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0991, regVal:1;
    [MCU2_0]    569.822945 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0992, regVal:81;
    [MCU2_0]    569.823955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cb, regVal:7;
    [MCU2_0]    569.824947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ed, regVal:15;
    [MCU2_0]    569.825948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cd, regVal:1e;
    [MCU2_0]    569.826947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ce, regVal:de;
    [MCU2_0]    569.827944 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cf, regVal:0;
    [MCU2_0]    569.828951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d0, regVal:c0;
    [MCU2_0]    569.829960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d1, regVal:1;
    [MCU2_0]    569.830953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d2, regVal:c1;
    [MCU2_0]    569.831984 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b07, regVal:84;
    [MCU2_0]    569.832958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c07, regVal:84;
    [MCU2_0]    569.833954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d07, regVal:84;
    [MCU2_0]    569.834949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e07, regVal:84;
    [MCU2_0]    569.835951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:42;
    [MCU2_0]    569.836948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: ffff, regVal:0;
    [MCU2_0]    569.837263 s: End of MAX96712 config 
    [MCU2_0]    569.837304 s: test----max96712_cfgScript 
    [MCU2_0]    569.837337 s: MAX96712 config start 
    [MCU2_0]    569.837398 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:0;
    [MCU2_0]    569.837951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:0;
    [MCU2_0]    569.838948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0010, regVal:11;
    [MCU2_0]    569.839957 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0011, regVal:11;
    [MCU2_0]    569.840969 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b06, regVal:ef;
    [MCU2_0]    569.841952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c06, regVal:ef;
    [MCU2_0]    569.842950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d06, regVal:ef;
    [MCU2_0]    569.843954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e06, regVal:ef;
    [MCU2_0]    569.844967 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0d, regVal:81;
    [MCU2_0]    569.845956 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0d, regVal:81;
    [MCU2_0]    569.846951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0d, regVal:81;
    [MCU2_0]    569.847952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0d, regVal:81;
    [MCU2_0]    569.848960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0018, regVal:f;
    [MCU2_0]    569.849958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0f, regVal:1;
    [MCU2_0]    569.850949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0f, regVal:1;
    [MCU2_0]    569.851952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0f, regVal:1;
    [MCU2_0]    569.852946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0f, regVal:1;
    [MCU2_0]    569.853950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:1;
    [MCU2_0]    569.854948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 00f4, regVal:f;
    [MCU2_0]    569.855952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:40;
    [MCU2_0]    569.856950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040c, regVal:0;
    [MCU2_0]    569.857951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040d, regVal:0;
    [MCU2_0]    569.858950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040e, regVal:5e;
    [MCU2_0]    569.859950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040f, regVal:7e;
    [MCU2_0]    569.860950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0410, regVal:7a;
    [MCU2_0]    569.861946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0411, regVal:48;
    [MCU2_0]    569.862946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0412, regVal:20;
    [MCU2_0]    569.863944 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 041a, regVal:f0;
    [MCU2_0]    569.864948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a0, regVal:4;
    [MCU2_0]    569.865959 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a3, regVal:e4;
    [MCU2_0]    569.866952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a4, regVal:e4;
    [MCU2_0]    569.867958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090a, regVal:c0;
    [MCU2_0]    569.868952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0944, regVal:c0;
    [MCU2_0]    569.869954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0984, regVal:c0;
    [MCU2_0]    569.870949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09c4, regVal:c0;
    [MCU2_0]    569.871949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a2, regVal:f0;
    [MCU2_0]    569.872953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0415, regVal:e6;
    [MCU2_0]    569.873953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0418, regVal:e6;
    [MCU2_0]    569.874947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090b, regVal:7;
    [MCU2_0]    569.875948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 092d, regVal:15;
    [MCU2_0]    569.876953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090d, regVal:1e;
    [MCU2_0]    569.877948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090e, regVal:1e;
    [MCU2_0]    569.878948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090f, regVal:0;
    [MCU2_0]    569.879946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0910, regVal:0;
    [MCU2_0]    569.880948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0911, regVal:1;
    [MCU2_0]    569.881982 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0912, regVal:1;
    [MCU2_0]    569.882960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094b, regVal:7;
    [MCU2_0]    569.883955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 096d, regVal:15;
    [MCU2_0]    569.884953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094d, regVal:1e;
    [MCU2_0]    569.885955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094e, regVal:5e;
    [MCU2_0]    569.886952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094f, regVal:0;
    [MCU2_0]    569.887949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0950, regVal:40;
    [MCU2_0]    569.888952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0951, regVal:1;
    [MCU2_0]    569.889943 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0952, regVal:41;
    [MCU2_0]    569.890948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098b, regVal:7;
    [MCU2_0]    569.891947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ad, regVal:15;
    [MCU2_0]    569.892943 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098d, regVal:1e;
    [MCU2_0]    569.893948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098e, regVal:9e;
    [MCU2_0]    569.894949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098f, regVal:0;
    [MCU2_0]    569.895948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0990, regVal:80;
    [MCU2_0]    569.896948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0991, regVal:1;
    [MCU2_0]    569.897946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0992, regVal:81;
    [MCU2_0]    569.898960 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cb, regVal:7;
    [MCU2_0]    569.899952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ed, regVal:15;
    [MCU2_0]    569.900951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cd, regVal:1e;
    [MCU2_0]    569.901951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ce, regVal:de;
    [MCU2_0]    569.902952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cf, regVal:0;
    [MCU2_0]    569.903948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d0, regVal:c0;
    [MCU2_0]    569.904952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d1, regVal:1;
    [MCU2_0]    569.905949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d2, regVal:c1;
    [MCU2_0]    569.906949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b07, regVal:84;
    [MCU2_0]    569.907951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c07, regVal:84;
    [MCU2_0]    569.908948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d07, regVal:84;
    [MCU2_0]    569.909947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e07, regVal:84;
    [MCU2_0]    569.910949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:42;
    [MCU2_0]    569.911950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: ffff, regVal:0;
    [MCU2_0]    569.912263 s: End of MAX96712 config 
    [MCU2_0]    569.912298 s: test----max96712_cfgScript 
    [MCU2_0]    569.912329 s: MAX96712 config start 
    [MCU2_0]    569.912389 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:0;
    [MCU2_0]    569.912953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:0;
    [MCU2_0]    569.913949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0010, regVal:11;
    [MCU2_0]    569.914954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0011, regVal:11;
    [MCU2_0]    569.915956 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b06, regVal:ef;
    [MCU2_0]    569.916954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c06, regVal:ef;
    [MCU2_0]    569.917953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d06, regVal:ef;
    [MCU2_0]    569.918951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e06, regVal:ef;
    [MCU2_0]    569.919951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0d, regVal:81;
    [MCU2_0]    569.920950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0d, regVal:81;
    [MCU2_0]    569.921950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0d, regVal:81;
    [MCU2_0]    569.922953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0d, regVal:81;
    [MCU2_0]    569.923952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0018, regVal:f;
    [MCU2_0]    569.924952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b0f, regVal:1;
    [MCU2_0]    569.925950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c0f, regVal:1;
    [MCU2_0]    569.926945 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d0f, regVal:1;
    [MCU2_0]    569.927946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e0f, regVal:1;
    [MCU2_0]    569.928949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0006, regVal:1;
    [MCU2_0]    569.929952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 00f4, regVal:f;
    [MCU2_0]    569.930951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:40;
    [MCU2_0]    569.931981 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040c, regVal:0;
    [MCU2_0]    569.932954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040d, regVal:0;
    [MCU2_0]    569.933950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040e, regVal:5e;
    [MCU2_0]    569.934953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040f, regVal:7e;
    [MCU2_0]    569.935950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0410, regVal:7a;
    [MCU2_0]    569.936955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0411, regVal:48;
    [MCU2_0]    569.937951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0412, regVal:20;
    [MCU2_0]    569.938952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 041a, regVal:f0;
    [MCU2_0]    569.939956 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a0, regVal:4;
    [MCU2_0]    569.940965 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a3, regVal:e4;
    [MCU2_0]    569.941949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a4, regVal:e4;
    [MCU2_0]    569.942951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090a, regVal:c0;
    [MCU2_0]    569.943953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0944, regVal:c0;
    [MCU2_0]    569.944961 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0984, regVal:c0;
    [MCU2_0]    569.945953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09c4, regVal:c0;
    [MCU2_0]    569.946950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 08a2, regVal:f0;
    [MCU2_0]    569.947953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0415, regVal:e6;
    [MCU2_0]    569.948962 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0418, regVal:e6;
    [MCU2_0]    569.949957 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090b, regVal:7;
    [MCU2_0]    569.950955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 092d, regVal:15;
    [MCU2_0]    569.951952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090d, regVal:1e;
    [MCU2_0]    569.952954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090e, regVal:1e;
    [MCU2_0]    569.953949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 090f, regVal:0;
    [MCU2_0]    569.954944 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0910, regVal:0;
    [MCU2_0]    569.955950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0911, regVal:1;
    [MCU2_0]    569.956950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0912, regVal:1;
    [MCU2_0]    569.957946 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094b, regVal:7;
    [MCU2_0]    569.958952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 096d, regVal:15;
    [MCU2_0]    569.959954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094d, regVal:1e;
    [MCU2_0]    569.960949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094e, regVal:5e;
    [MCU2_0]    569.961949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 094f, regVal:0;
    [MCU2_0]    569.962952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0950, regVal:40;
    [MCU2_0]    569.963947 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0951, regVal:1;
    [MCU2_0]    569.964953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0952, regVal:41;
    [MCU2_0]    569.965958 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098b, regVal:7;
    [MCU2_0]    569.966954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ad, regVal:15;
    [MCU2_0]    569.967955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098d, regVal:1e;
    [MCU2_0]    569.968954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098e, regVal:9e;
    [MCU2_0]    569.969955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 098f, regVal:0;
    [MCU2_0]    569.970942 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0990, regVal:80;
    [MCU2_0]    569.971951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0991, regVal:1;
    [MCU2_0]    569.972950 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0992, regVal:81;
    [MCU2_0]    569.973949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cb, regVal:7;
    [MCU2_0]    569.974952 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ed, regVal:15;
    [MCU2_0]    569.975943 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cd, regVal:1e;
    [MCU2_0]    569.976949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09ce, regVal:de;
    [MCU2_0]    569.977948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09cf, regVal:0;
    [MCU2_0]    569.978951 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d0, regVal:c0;
    [MCU2_0]    569.979948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d1, regVal:1;
    [MCU2_0]    569.980949 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 09d2, regVal:c1;
    [MCU2_0]    569.981975 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0b07, regVal:84;
    [MCU2_0]    569.982955 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0c07, regVal:84;
    [MCU2_0]    569.983953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0d07, regVal:84;
    [MCU2_0]    569.984954 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 0e07, regVal:84;
    [MCU2_0]    569.985953 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: 040b, regVal:42;
    [MCU2_0]    569.986948 s: test----MAX96712_WriteReg. I2cAddr: 4b, regAddr: ffff, regVal:0;
    [MCU2_0]    569.987262 s: End of MAX96712 config 
    
    Invalid entry 
    . Please choose between 0 and 11 
    Select camera port index 0-11 : 0
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection 
    . Try again 
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : g
    Sensor selected : MAX96705_AR0147_UYVY
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
    Querying MAX96705_AR0147_UYVY 
       616.003717 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... !!!
       616.004209 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... Done !!!
    YUV Input selected. VISS and AEWB nodes will be bypassed. 
       616.004227 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_PWRON ... !!!
       616.004692 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_CONFIG ... !!!
       616.005313 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY] ... Done !!!
    [MCU2_0]    616.003996 s: test-----IssSensor_GetSensorInfo.name--MAX96705_AR0147_UYVY
    [MCU2_0]    616.004417 s: test-----getSensorHandleFromName
    [MCU2_0]    616.004477 s: test----IssSensor_PowerOn 
    [MCU2_0]    616.004511 s: test----checkForHandle 
    [MCU2_0]    616.004540 s: test--gw_ar0147_PowerOn 
    [MCU2_0]    616.004922 s: test-----getSensorHandleFromName
    [MCU2_0]    616.005003 s: test--get handle returned for sensor MAX96705_AR0147_UYVY,sensorBroadcast=0
    [MCU2_0]    616.005055 s: test--set no broadcast mode, max96712 have no this mode
    [MCU2_0]    616.005105 s: test--IM_SENSOR_CMD_CONFIG channel_mask = 1
    [MCU2_0]    616.005152 s: test--IM_SENSOR_CMD_CONFIG returning status = 0
    Scaler is disabled
       616.021625 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    [MCU2_0]    616.021937 s: test-----getSensorHandleFromName
    [MCU2_0]    616.022045 s: test--ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON, sensor_name:MAX96705_AR0147_UYVY
    [MCU2_0]    616.022116 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
    [MCU2_0]    616.022156 s: test----IssSensor_Start 
    [MCU2_0]    616.022185 s: test----checkForHandle 
    [MCU2_0]    616.022216 s: test----getUB960InstIdFromChId 
    [MCU2_0]    616.022247 s: test--gw_ar0147_StreamOn 
    [MCU2_0]    616.022288 s: max96705 config start : slaveAddr = 0x40 
    [MCU2_0]    616.022324 s: test----max96705_WriteReg test
    [MCU2_0]    616.261904 s: test----max96705_WriteReg test
       616.359344 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: [MCU2_0]    616.357902 s: test----max96705_WriteReg test
    [MCU2_0]    616.358912 s: test----max96705_WriteReg test
    [MCU2_0]    616.359850 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:796]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/MAX96705_AR0147_UYVY/wdr 
    p
    
    
    Summary of CPU load,
    ====================
    
    CPU: mpu1_0: TOTAL LOAD =   0.29 % ( HWI =   0. 3 %, SWI =   0. 0 % )
    CPU: mcu2_0: TOTAL LOAD =   7. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU: mcu2_1: TOTAL LOAD =   2. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_2: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c7x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    
    
    HWA performance statistics,
    ===========================
    
    
    
    DDR performance statistics,
    ===========================
    
    DDR: READ  BW: AVG =    130 MB/s, PEAK =   1574 MB/s
    DDR: WRITE BW: AVG =     56 MB/s, PEAK =    259 MB/s
    DDR: TOTAL BW: AVG =    186 MB/s, PEAK =   1833 MB/s
    
    
    Detailed CPU performance/memory statistics,
    ===========================================
    
    DDR_SHARED_MEM: Alloc's: 6 alloc's of 7373060 bytes 
    DDR_SHARED_MEM: Free's : 0 free's  of 0 bytes 
    DDR_SHARED_MEM: Open's : 6 allocs  of 7373060 bytes 
    DDR_SHARED_MEM: Total size: 536870912 bytes 
    
    CPU: mcu2_0: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_0: TASK:       REMOTE_SRV:   0. 1 %
    CPU: mcu2_0: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CPU_0:   0. 0 %
    CPU: mcu2_0: TASK:        TIVX_V1NF:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1LDC1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_V1SC1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1MSC2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVXVVISS1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT2:   0. 2 %
    CPU: mcu2_0: TASK:       TIVX_DISP1:   0. 1 %
    CPU: mcu2_0: TASK:       TIVX_DISP2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CSITX:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT3:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT4:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT5:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT6:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT7:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT8:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M2:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M3:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M4:   0. 0 %
    
    CPU: mcu2_0: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16688896 B ( 99 % unused)
    CPU: mcu2_0: HEAP:           L3_MEM: size =     262144 B, free =     261888 B ( 99 % unused)
    
    CPU: mcu2_1: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU: mcu2_1: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_1: TASK:       TIVX_CPU_1:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_SDE:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_DOF:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU: mcu2_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU: mcu2_1: HEAP:           L3_MEM: size =     262144 B, free =     262144 B (100 % unused)
    
    CPU:  c6x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_1: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_1: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_1: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c6x_2: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_2: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_2: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_2: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_2: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_2: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_2: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c7x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c7x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c7x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P1:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P2:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P3:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P4:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P5:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P6:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P7:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P8:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c7x_1: HEAP:    DDR_LOCAL_MEM: size =  268435456 B, free =  268435200 B ( 99 % unused)
    CPU:  c7x_1: HEAP:           L3_MEM: size =    8159232 B, free =    8159232 B (100 % unused)
    CPU:  c7x_1: HEAP:           L2_MEM: size =     458752 B, free =     458752 B (100 % unused)
    CPU:  c7x_1: HEAP:           L1_MEM: size =      16384 B, free =      16384 B (100 % unused)
    CPU:  c7x_1: HEAP:  DDR_SCRATCH_MEM: size =  385875968 B, free =  385875968 B (100 % unused)
    
    
    GRAPH:         graph_85 (#nodes =   2, #executions =    299)
     NODE:       CAPTURE2:                  node_96: avg =  25144 usecs, min/max =  24282 / 121384 usecs, #executions =        299
     NODE:       DISPLAY1:                  node_97: avg =   8381 usecs, min/max =    134 /   8760 usecs, #executions =        299
    
     PERF:            TOTAL: avg =  33890 usecs, min/max =  33258 / 199725 usecs, #executions =        298
    
     PERF:            TOTAL:   29.50 FPS
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: s
    
    Test data path /opt/vision_apps/test_data does not exist. Defaulting to current folder 
    YUV file name .//cap_0000.yuv 
    imgaddr_width = 1280 
    imgaddr_height = 720 
    imgaddr_stride = 2560 
    width = 1280 
    height = 720 
    Written 1843200 bytes 
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: e
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: u
    
    get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/MAX96705_AR0147_UYVY/wdr 
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 

    Thanks and regards,

    Cherry

  • Hi Brijesh,

    Thank you for the support. This question is asked by me. Now we found new error in  run run_app_single_cam.sh

    VX_ZONE_WARNING:[tivxCaptureSetTimeout:796]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!

    Can you please help me resolving this error. we add some printf in log as follow, hope it doesn't affect you.

    ./run_app_single_cam.sh 
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       177.748989 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       177.749061 s:  VX_ZONE_INIT:Enabled
       177.749069 s:  VX_ZONE_ERROR:Enabled
       177.749075 s:  VX_ZONE_WARNING:Enabled
       177.749750 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
       177.750864 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0 
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1 
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2 
    IttCtrl_registerHandler: command iss_raw_save registered at location 3 
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4 
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5 
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6 
    IttCtrl_registerHandler: command dev_ctrl registered at location 7 
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8 
       177.752137 s: ISS: Enumerating sensors ... !!!
     NETWORK: Opened at IP Addr = 192.168.108.42, socket port=5000!!!
    [MCU2_0]    177.752490 s: test999----ImageSensor_RemoteServiceHandler.CMD=0
    [MCU2_0]    177.752617 s: test-----IssSensor_DeserializerInit
    [MCU2_0]    177.752714 s: test-----ub960I2cInstId=6, ub960I2cAddr=75
    [MCU2_0]    177.752756 s: test-----setupI2CInst
    [MCU2_0]    177.752786 s: test----initFusion2_UB97x test
    [MCU2_0]    177.952729 s: test--writing to TCA6408 register 0x3 --status 0
    [MCU2_0]    178.152478 s: test----max96712_cfgScript 
    [MCU2_0]    178.152544 s: MAX96712 config start 
    [MCU2_0]    178.227761 s: End of MAX96712 config 
    [MCU2_0]    178.227823 s: test----max96712_cfgScript 
    [MCU2_0]    178.227857 s: MAX96712 config start 
    [MCU2_0]    178.302734 s: End of MAX96712 config 
    [MCU2_0]    178.302800 s: test----max96712_cfgScript 
    [MCU2_0]    178.302834 s: MAX96712 config start 
       178.378015 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
       178.378058 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
       178.378064 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
       178.378069 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
       178.378075 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
       178.378080 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
       178.378085 s: ISS: Enumerating sensors ... found 6 : MAX96705_AR0147_UYVY
    Select camera port index 0-11 : [MCU2_0]    178.377763 s: End of MAX96712 config 
    0
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection 
    . Try again 
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : g
    Sensor selected : MAX96705_AR0147_UYVY
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
    Querying MAX96705_AR0147_UYVY 
       190.256074 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... !!!
       190.256669 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... Done !!!
    YUV Input selected. VISS and AEWB nodes will be bypassed. 
       190.256688 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_PWRON ... !!!
    [MCU2_0]    190.256340 s: test999----ImageSensor_RemoteServiceHandler.CMD=1
    [MCU2_0]    190.256420 s: test-----IssSensor_GetSensorInfo.name--MAX96705_AR0147_UYVY
       190.257203 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]    190.256903 s: test999----ImageSensor_RemoteServiceHandler.CMD=2
    [MCU2_0]    190.256954 s: test-----getSensorHandleFromName
    [MCU2_0]    190.256992 s: test----IssSensor_PowerOn 
    [MCU2_0]    190.257021 s: test----checkForHandle 
    [MCU2_0]    190.257049 s: test--gw_ar0147_PowerOn 
    [MCU2_0]    190.257404 s: test999----ImageSensor_RemoteServiceHandler.CMD=3
    [MCU2_0]    190.257513 s: test-----getSensorHandleFromName
    [MCU2_0]    190.257585 s: test--get handle returned for sensor MAX96705_AR0147_UYVY,sensorBroadcast=0
    [MCU2_0]    190.257634 s: test--set no broadcast mode, max96712 have no this mode
    [MCU2_0]    190.257684 s: test--IM_SENSOR_CMD_CONFIG channel_mask = 1
    [MCU2_0]    190.257719 s: test--gw_ar0147_Probe 
    [MCU2_0]    190.257755 s: test--probeStatus = 0
    [MCU2_0]    190.257790 s: Configuring camera # 0 
    [MCU2_0]    190.257819 s: test----IssSensor_Config test
    [MCU2_0]    190.257846 s: test----checkForHandle 
    [MCU2_0]    190.257875 s: test----getUB960InstIdFromChId 
    [MCU2_0]    190.257904 s: test--gw_ar0147_Config 
    [MCU2_0]    190.257945 s: max96705 config start : slaveAddr = 0x40 
    [MCU2_0]    190.257991 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]    190.258249 s:  test---max96705 Write regAddr 4
    [MCU2_0]    190.258316 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x47 
    [MCU2_0]    190.497518 s: test----max96705_WriteReg test, regAddr:7
    [MCU2_0]    190.497802 s:  test---max96705 Write regAddr 7
    [MCU2_0]    190.497869 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0007, regValue:0x84 
    [MCU2_0]    190.593514 s: test----max96705_WriteReg test, regAddr:15
    [MCU2_0]    190.593798 s:  test---max96705 Write regAddr 15
    [MCU2_0]    190.593867 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x000f, regValue:0xbf 
    [MCU2_0]    190.689513 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]    190.689798 s:  test---max96705 Write regAddr 4
    [MCU2_0]    190.689868 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x87 
       190.786119 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY] ... Done !!!
    [MCU2_0]    190.785514 s: test----max96705_WriteReg test, regAddr:65535
    [MCU2_0]    190.785793 s:  test---max96705 Write regAddr 65535
    [MCU2_0]    190.785860 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0xffff, regValue:0x00 
    [MCU2_0]    190.785918 s: test--IM_SENSOR_CMD_CONFIG returning status = 0
    Scaler is disabled
       190.803478 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:    190.806034 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    test----app_run_graph---appDccUpdatefromFS--not set----
    [MCU2_0]    190.803815 s: test999----ImageSensor_RemoteServiceHandler.CMD=4
    [MCU2_0]    190.803880 s: test-----getSensorHandleFromName
    [MCU2_0]    190.803945 s: test--ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON, sensor_name:MAX96705_AR0147_UYVY
    [MCU2_0]    190.804009 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
    [MCU2_0]    190.804046 s: test----IssSensor_Start 
    [MCU2_0]    190.804075 s: test----checkForHandle 
    [MCU2_0]    190.804105 s: test----getUB960InstIdFromChId 
    [MCU2_0]    190.804134 s: test--gw_ar0147_StreamOn 
    [MCU2_0]    190.804174 s: max96705 config start : slaveAddr = 0x40 
    [MCU2_0]    190.804219 s: test----max96705_WriteReg test, regAddr:15
    [MCU2_0]    190.804551 s:  test---max96705 Write regAddr 15
    [MCU2_0]    190.804622 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x000f, regValue:0xbf 
    [MCU2_0]    190.805518 s: test----max96705_WriteReg test, regAddr:65535
    [MCU2_0]    190.805792 s:  test---max96705 Write regAddr 65535
    [MCU2_0]    190.805857 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0xffff, regValue:0x00 
    [MCU2_0]    190.806529 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:796]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    
    
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: p
    
    
    Summary of CPU load,
    ====================
    
    CPU: mpu1_0: TOTAL LOAD =   0.38 % ( HWI =   0. 2 %, SWI =   0. 3 % )
    CPU: mcu2_0: TOTAL LOAD =   6. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU: mcu2_1: TOTAL LOAD =   2. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_1: TOTAL LOAD =   1. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_2: TOTAL LOAD =   1. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c7x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    
    
    HWA performance statistics,
    ===========================
    
    
    
    DDR performance statistics,
    ===========================
    
    DDR: READ  BW: AVG =     12 MB/s, PEAK =   3969 MB/s
    DDR: WRITE BW: AVG =      1 MB/s, PEAK =   1464 MB/s
    DDR: TOTAL BW: AVG =     13 MB/s, PEAK =   5433 MB/s
    
    
    Detailed CPU performance/memory statistics,
    ===========================================
    
    DDR_SHARED_MEM: Alloc's: 6 alloc's of 7373060 bytes 
    DDR_SHARED_MEM: Free's : 0 free's  of 0 bytes 
    DDR_SHARED_MEM: Open's : 6 allocs  of 7373060 bytes 
    DDR_SHARED_MEM: Total size: 536870912 bytes 
    
    CPU: mcu2_0: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_0: TASK:       REMOTE_SRV:   0. 0 %
    CPU: mcu2_0: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CPU_0:   0. 0 %
    CPU: mcu2_0: TASK:        TIVX_V1NF:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1LDC1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_V1SC1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1MSC2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVXVVISS1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_DISP1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_DISP2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CSITX:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT3:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT4:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT5:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT6:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT7:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT8:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M2:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M3:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M4:   0. 0 %
    
    CPU: mcu2_0: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16688896 B ( 99 % unused)
    CPU: mcu2_0: HEAP:           L3_MEM: size =     262144 B, free =     261888 B ( 99 % unused)
    
    CPU: mcu2_1: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU: mcu2_1: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_1: TASK:       TIVX_CPU_1:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_SDE:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_DOF:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU: mcu2_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU: mcu2_1: HEAP:           L3_MEM: size =     262144 B, free =     262144 B (100 % unused)
    
    CPU:  c6x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_1: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_1: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_1: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c6x_2: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_2: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_2: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_2: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_2: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_2: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_2: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c7x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c7x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c7x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P1:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P2:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P3:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P4:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P5:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P6:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P7:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P8:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c7x_1: HEAP:    DDR_LOCAL_MEM: size =  268435456 B, free =  268435200 B ( 99 % unused)
    CPU:  c7x_1: HEAP:           L3_MEM: size =    8159232 B, free =    8159232 B (100 % unused)
    CPU:  c7x_1: HEAP:           L2_MEM: size =     458752 B, free =     458752 B (100 % unused)
    CPU:  c7x_1: HEAP:           L1_MEM: size =      16384 B, free =      16384 B (100 % unused)
    CPU:  c7x_1: HEAP:  DDR_SCRATCH_MEM: size =  385875968 B, free =  385875968 B (100 % unused)
    
    
    GRAPH:         graph_85 (#nodes =   2, #executions =      0)
     NODE:       CAPTURE2:                  node_96: avg =      0 usecs, min/max = 18446744073709551 /      0 usecs, #executions =          0
     NODE:       DISPLAY1:                  node_97: avg =      0 usecs, min/max = 18446744073709551 /      0 usecs, #executions =          0
    
     PERF:            TOTAL: avg =      0 usecs, min/max = 4294967295 /      0 usecs, #executions =          0
    
     PERF:            TOTAL:    0. 0 FPS
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: s
    
    Test data path /opt/vision_apps/test_data does not exist. Defaulting to current folder 
    YUV file name .//cap_0000.yuv 
    imgaddr_width = 1280 
    imgaddr_height = 720 
    imgaddr_stride = 2560 
    width = 1280 
    height = 720 
    Written 1843200 bytes 
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 

    cap_000.yuv open by 7yuv in the mode yuv422

  • Hi zhang,

    Thank you for the support. This question is asked by me. Now we found new error in  run run_app_single_cam.sh

    This error just means that there is no error/fixed frame provided to the node. So, node will stop outputting frames in case sensor has stopped outputting frames. If you have provided this frame, node will output this frame, when sensor stops.

    This is ok. This will not cause any issue if the sensor is working fine and continuously outputting frames. 

    In your case, i see that the graph fps is 0, which means capture is not really running. It is not capturing any frames from the sensor. 

     PERF:            TOTAL:    0. 0 FPS

    Can you please make sure that capture parameters are configured correctly and are matching with the sensor and/or deserializer output configuration?

    Regards,

    Brijesh 

  • Hi Brijesh, Thanks for your support.

    we  readjusted sensor_frv, config  deserializer  in IssSensor_DeserializerInit(),   config  serializer  streamOn(). the log as fllows:

    ./run_app_single_cam.sh 
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      1398.126259 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      1398.132312 s:  VX_ZONE_INIT:Enabled
      1398.132333 s:  VX_ZONE_ERROR:Enabled
      1398.132338 s:  VX_ZONE_WARNING:Enabled
      1398.133123 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
      1398.135294 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0 
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1 
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2 
    IttCtrl_registerHandler: command iss_raw_save registered at location 3 
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4 
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5 
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6 
    IttCtrl_registerHandler: command dev_ctrl registered at location 7 
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8 
     NETWORK: Opened at IP Addr = 192.168.108.42, socket port=5000!!!
      1398.148271 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]   1398.148590 s: test999----ImageSensor_RemoteServiceHandler.CMD=0
    [MCU2_0]   1398.148705 s: test-----IssSensor_DeserializerInit
    [MCU2_0]   1398.148981 s: test-----ub960I2cInstId=6, ub960I2cAddr=75
    [MCU2_0]   1398.149028 s: test-----setupI2CInst
    [MCU2_0]   1398.149084 s: test----initFusion2_UB97x test
    [MCU2_0]   1398.348711 s: test--writing to TCA6408 register 0x3 --status 0
    [MCU2_0]   1398.548459 s: test----max96712_cfgScript 
    [MCU2_0]   1398.548527 s: MAX96712 config start 
    [MCU2_0]   1398.623715 s: End of MAX96712 config 
    [MCU2_0]   1398.623781 s: test----max96712_cfgScript 
    [MCU2_0]   1398.623818 s: MAX96712 config start 
    [MCU2_0]   1398.698720 s: End of MAX96712 config 
    [MCU2_0]   1398.698784 s: test----max96712_cfgScript 
    [MCU2_0]   1398.698817 s: MAX96712 config start 
      1398.773962 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
      1398.773980 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
      1398.774000 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
      1398.774005 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
      1398.774011 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
      1398.774016 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
      1398.774021 s: ISS: Enumerating sensors ... found 6 : MAX96705_AR0147_UYVY
    Select camera port index 0-11 : [MCU2_0]   1398.773719 s: End of MAX96712 config 
    0
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection 
    . Try again 
    7 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    g : MAX96705_AR0147_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : g
    Sensor selected : MAX96705_AR0147_UYVY
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
    Querying MAX96705_AR0147_UYVY 
      1403.441593 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... !!!
      1403.442123 s: ISS: Querying sensor [MAX96705_AR0147_UYVY] ... Done !!!
    YUV Input selected. VISS and AEWB nodes will be bypassed. 
      1403.442142 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_PWRON ... !!!
    [MCU2_0]   1403.441858 s: test999----ImageSensor_RemoteServiceHandler.CMD=1
    [MCU2_0]   1403.441934 s: test-----IssSensor_GetSensorInfo.name--MAX96705_AR0147_UYVY
      1403.442731 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]   1403.442346 s: test999----ImageSensor_RemoteServiceHandler.CMD=2
    [MCU2_0]   1403.442397 s: test-----getSensorHandleFromName
    [MCU2_0]   1403.442501 s: test----IssSensor_PowerOn 
    [MCU2_0]   1403.442545 s: test----checkForHandle 
    [MCU2_0]   1403.442574 s: test--gw_ar0147_PowerOn 
    [MCU2_0]   1403.442942 s: test999----ImageSensor_RemoteServiceHandler.CMD=3
    [MCU2_0]   1403.442991 s: test-----getSensorHandleFromName
    [MCU2_0]   1403.443053 s: test--get handle returned for sensor MAX96705_AR0147_UYVY,sensorBroadcast=0
    [MCU2_0]   1403.443101 s: test--set no broadcast mode, max96712 have no this mode
    [MCU2_0]   1403.443151 s: test--IM_SENSOR_CMD_CONFIG channel_mask = 1
    [MCU2_0]   1403.443184 s: test--gw_ar0147_Probe 
    [MCU2_0]   1403.443215 s: test--probeStatus = 0
    [MCU2_0]   1403.443247 s: Configuring camera # 0 
    [MCU2_0]   1403.443272 s: test----IssSensor_Config test
    [MCU2_0]   1403.443299 s: test----checkForHandle 
    [MCU2_0]   1403.443326 s: test----getUB960InstIdFromChId 
    [MCU2_0]   1403.443354 s: test--gw_ar0147_Config 
    [MCU2_0]   1403.443393 s: max96705 config start : slaveAddr = 0x40 
    [MCU2_0]   1403.443508 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]   1403.443773 s:  test---max96705 Write regAddr 4
    [MCU2_0]   1403.443838 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x47 
    [MCU2_0]   1403.683492 s: test----max96705_WriteReg test, regAddr:7
    [MCU2_0]   1403.683778 s:  test---max96705 Write regAddr 7
    [MCU2_0]   1403.683843 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0007, regValue:0x84 
    [MCU2_0]   1403.779497 s: test----max96705_WriteReg test, regAddr:15
    [MCU2_0]   1403.779782 s:  test---max96705 Write regAddr 15
    [MCU2_0]   1403.779851 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x000f, regValue:0xbf 
    [MCU2_0]   1403.875487 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]   1403.875776 s:  test---max96705 Write regAddr 4
    [MCU2_0]   1403.875841 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x87 
      1403.972093 s: ISS: Initializing sensor [MAX96705_AR0147_UYVY] ... Done !!!
    [MCU2_0]   1403.971499 s: test----max96705_WriteReg test, regAddr:65535
    [MCU2_0]   1403.971779 s:  test---max96705 Write regAddr 65535
    [MCU2_0]   1403.971845 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0xffff, regValue:0x00 
    [MCU2_0]   1403.971903 s: test--IM_SENSOR_CMD_CONFIG returning status = 0
    Scaler is disabled
      1403.988547 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: [MCU2_0]   1403.988882 s: test999----ImageSensor_RemoteServiceHandler.CMD=4
    [MCU2_0]   1403.988945 s: test-----getSensorHandleFromName
    [MCU2_0]   1403.989009 s: test--ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON, sensor_name:MAX96705_AR0147_UYVY
    [MCU2_0]   1403.989072 s: test--IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
    [MCU2_0]   1403.989109 s: test----IssSensor_Start 
    [MCU2_0]   1403.989137 s: test----checkForHandle 
    [MCU2_0]   1403.989165 s: test----getUB960InstIdFromChId 
    [MCU2_0]   1403.989195 s: test--gw_ar0147_StreamOn 
    [MCU2_0]   1403.989234 s: max96705 config start : slaveAddr = 0x40 
    [MCU2_0]   1403.989277 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]   1403.989547 s:  test---max96705 Write regAddr 4
    [MCU2_0]   1403.989619 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x47 
    [MCU2_0]   1404.229488 s: test----max96705_WriteReg test, regAddr:7
    [MCU2_0]   1404.229770 s:  test---max96705 Write regAddr 7
    [MCU2_0]   1404.229836 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0007, regValue:0x84 
    [MCU2_0]   1404.325493 s: test----max96705_WriteReg test, regAddr:15
    [MCU2_0]   1404.325776 s:  test---max96705 Write regAddr 15
    [MCU2_0]   1404.325840 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x000f, regValue:0xbf 
    [MCU2_0]   1404.421495 s: test----max96705_WriteReg test, regAddr:4
    [MCU2_0]   1404.421779 s:  test---max96705 Write regAddr 4
    [MCU2_0]   1404.421843 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0x0004, regValue:0x87 
      1404.518052 s: ISS: Starting sensor [MAX96705_AR0147_UYVY] ... !!!
    [MCU2_0]   1404.517488 s: test----max96705_WriteReg test, regAddr:65535
    [MCU2_0]   1404.517772 s:  test---max96705 Write regAddr 65535
    [MCU2_0]   1404.517836 s:  test--max96705 Reg Write slaveAddr:0x40, regAddr:0xffff, regValue:0x00 
    [MCU2_0]   1404.518630 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:796]  CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/MAX96705_AR0147_UYVY/wdr 
    
    
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: p
    
    
    Summary of CPU load,
    ====================
    
    CPU: mpu1_0: TOTAL LOAD =   0.41 % ( HWI =   0. 4 %, SWI =   0. 4 % )
    CPU: mcu2_0: TOTAL LOAD =   6. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU: mcu2_1: TOTAL LOAD =   1. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_1: TOTAL LOAD =   1. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c6x_2: TOTAL LOAD =   1. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    CPU:  c7x_1: TOTAL LOAD =   0. 0 % ( HWI =   0. 0 %, SWI =   0. 0 % )
    
    
    HWA performance statistics,
    ===========================
    
    
    
    DDR performance statistics,
    ===========================
    
    DDR: READ  BW: AVG =    119 MB/s, PEAK =   3909 MB/s
    DDR: WRITE BW: AVG =     52 MB/s, PEAK =    965 MB/s
    DDR: TOTAL BW: AVG =    171 MB/s, PEAK =   4874 MB/s
    
    
    Detailed CPU performance/memory statistics,
    ===========================================
    
    DDR_SHARED_MEM: Alloc's: 6 alloc's of 7373060 bytes 
    DDR_SHARED_MEM: Free's : 0 free's  of 0 bytes 
    DDR_SHARED_MEM: Open's : 6 allocs  of 7373060 bytes 
    DDR_SHARED_MEM: Total size: 536870912 bytes 
    
    CPU: mcu2_0: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_0: TASK:       REMOTE_SRV:   0. 0 %
    CPU: mcu2_0: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CPU_0:   0. 0 %
    CPU: mcu2_0: TASK:        TIVX_V1NF:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1LDC1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_V1SC1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_V1MSC2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVXVVISS1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_DISP1:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_DISP2:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CSITX:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT3:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT4:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT5:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT6:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT7:   0. 0 %
    CPU: mcu2_0: TASK:       TIVX_CAPT8:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M1:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M2:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M3:   0. 0 %
    CPU: mcu2_0: TASK:      TIVX_DPM2M4:   0. 0 %
    
    CPU: mcu2_0: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16688896 B ( 99 % unused)
    CPU: mcu2_0: HEAP:           L3_MEM: size =     262144 B, free =     261888 B ( 99 % unused)
    
    CPU: mcu2_1: TASK:           IPC_RX:   0. 0 %
    CPU: mcu2_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU: mcu2_1: TASK:        LOAD_TEST:   0. 0 %
    CPU: mcu2_1: TASK:       TIVX_CPU_1:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_SDE:   0. 0 %
    CPU: mcu2_1: TASK:         TIVX_DOF:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU: mcu2_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU: mcu2_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU: mcu2_1: HEAP:           L3_MEM: size =     262144 B, free =     262144 B (100 % unused)
    
    CPU:  c6x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_1: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_1: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_1: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_1: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c6x_2: TASK:           IPC_RX:   0. 0 %
    CPU:  c6x_2: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c6x_2: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c6x_2: TASK:         TIVX_CPU:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c6x_2: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c6x_2: HEAP:    DDR_LOCAL_MEM: size =   16777216 B, free =   16773376 B ( 99 % unused)
    CPU:  c6x_2: HEAP:           L2_MEM: size =     229376 B, free =     229376 B (100 % unused)
    CPU:  c6x_2: HEAP:  DDR_SCRATCH_MEM: size =   50331648 B, free =   50331648 B (100 % unused)
    
    CPU:  c7x_1: TASK:           IPC_RX:   0. 0 %
    CPU:  c7x_1: TASK:       REMOTE_SRV:   0. 0 %
    CPU:  c7x_1: TASK:        LOAD_TEST:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P1:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P2:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P3:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P4:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P5:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P6:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P7:   0. 0 %
    CPU:  c7x_1: TASK:      TIVX_C71_P8:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_RX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    CPU:  c7x_1: TASK:      IPC_TEST_TX:   0. 0 %
    
    CPU:  c7x_1: HEAP:    DDR_LOCAL_MEM: size =  268435456 B, free =  268435200 B ( 99 % unused)
    CPU:  c7x_1: HEAP:           L3_MEM: size =    8159232 B, free =    8159232 B (100 % unused)
    CPU:  c7x_1: HEAP:           L2_MEM: size =     458752 B, free =     458752 B (100 % unused)
    CPU:  c7x_1: HEAP:           L1_MEM: size =      16384 B, free =      16384 B (100 % unused)
    CPU:  c7x_1: HEAP:  DDR_SCRATCH_MEM: size =  385875968 B, free =  385875968 B (100 % unused)
    
    
    GRAPH:         graph_85 (#nodes =   2, #executions =    177)
     NODE:       CAPTURE2:                  node_96: avg =  23996 usecs, min/max =  23722 /  33264 usecs, #executions =        177
     NODE:       DISPLAY1:                  node_97: avg =   9059 usecs, min/max =     76 /   9302 usecs, #executions =        177
    
     PERF:            TOTAL: avg =  33504 usecs, min/max =  33270 /  63549 usecs, #executions =        176
    
     PERF:            TOTAL:   29.84 FPS
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: s
    
    YUV file name /opt/vision_apps/test_data/cap_0000.yuv 
    imgaddr_width = 1280 
    imgaddr_height = 720 
    imgaddr_stride = 2560 
    width = 1280 
    height = 720 
    Written 1843200 bytes 
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 

    PERF: TOTAL: avg = 33504 usecs, min/max = 33270 / 63549 usecs, #executions = 176

    PERF: TOTAL: 29.84 FPS

    the FPS is correct.

    cap_00.yuv open by 7yuv in mode of yuv422 UYUV, this is nothing.

    open in other mode as follows we can get something in picture, can you help us!

  • Hi,

    Is it possible to share this image? I think it is capturing image, but just probably order of YUV is incorrect. So if you try all 4 options for YUV422, i thinnk one of them should give you correct image. 

    Regards,

    Brijesh

  • hi,we have try all options for yuv422, it doesn't work. The iamge is follows.Thinks 

    cap_0007.rar

  • Hi,

    Are you sure this is YUV422 data? Because i dont see MSB byte set in the output. Also, second byte seems to be having very less value. Please find below snapshot of the data in hex viewer. This does not look like YUV422 data. 

    Regards,

    Brijesh

  • Since you are using SDK8.6, can you please check below link and apply the changes that i had suggested? There is a bug in SDK8.6, because of which YUV422 output isn't correct. This is going to be fixed in SDK9.0 release.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1216084/tda4vm-after-upgrading-to-sdk8-06-the-camera-images-are-all-green

    Regards,

    Brijesh

  • we modify CsirxDrv_getDMACfgParams API,  add code as follows:

    bj->chCfg->inCsiDataType == FVID2_CSI2_DF_YUV422_8B)
    
    {
    chObj->dmaCfgParams.dataSizeShift =
    (uint32_t)CSL_CSIRX_DMA_DATA_SIZE_SHIFT_8BITS;
    }

    this is ok!  Thinks 

  • Thanks, closing this ticket.