TDA4VL-Q1: get green output with new deserializer

Part Number: TDA4VL-Q1

Hi expert,

We tried use MAX96718 deserializer to output test pattern on RTOS 8.6.1.3. It is 1920x1080 RGB888 with PCLK: 75MHz and connected to CSI1. We create a new sensor with following parameters:

static IssSensor_CreateParams  testpatCreatePrms = {
    MAX96718_TESTPATTERN_RGB,     /*sensor name*/
    0x0,                             /*i2cInstId*/
    {0, 0, 0, 0, 0, 0, 0, 0},   /*i2cAddrSensor*/
    {0, 0, 0, 0, 0, 0, 0, 0},      /*i2cAddrSer*/
    /*IssSensor_Info*/
    {
        {
            TESTPAT_OUT_WIDTH,               /*width*/
            TESTPAT_OUT_HEIGHT,              /*height*/
            1,                              /*num_exposures*/
            vx_false_e,                     /*line_interleaved*/
            {
                {VX_DF_IMAGE_RGB, 7},    /*dataFormat and MSB [0]*/
            },
            0,                              /*meta_height_before*/
            0,                              /*meta_height_after*/
        },
        ISS_SENSOR_TESTPAT_FEATURES,     /*features*/
        ALGORITHMS_ISS_AEWB_MODE_NONE,  /*aewbMode*/
        30,                             /*fps*/
        4,                              /*numDataLanes*/
        {1, 2, 3, 4},                   /*dataLanesMap*/
        {0, 0, 0, 0},                   /*dataLanesPolarity*/
		//CSIRX_LANE_BAND_SPEED_400_TO_480_MBPS, /*csi_laneBandSpeed*/
		CSIRX_LANE_BAND_SPEED_560_TO_640_MBPS, /*csi_laneBandSpeed*/
    },
    1,                                  /*numChan*/
    960,                                /*dccId*/
};

Is it correct?

Then we modify app_single_cam to use CSI1, error frame...

local_capture_config.numInst = 1U;
local_capture_config.numCh = 1U;
local_capture_config.instId[0] = 1;
local_capture_config.instCfg[0].enableCsiv2p0Support = (uint32_t)vx_true_e;
local_capture_config.instCfg[0].numDataLanes = sensorParams.sensorInfo.numDataLanes;
local_capture_config.instCfg[0].laneBandSpeed = sensorParams.sensorInfo.csi_laneBandSpeed;
vx_uint8 id;
for (id = 0; id < local_capture_config.instCfg[0].numDataLanes; id++)
{
  local_capture_config.instCfg[0].dataLanesMap[id] = id + 1;
}
for (id = 0; id < 4; id++)
{
  local_capture_config.chVcNum[id]   = id;
  local_capture_config.chInstMap[id] = 1;
}

Finally we got green display from DP0 with log:

[MCU2_0]      3.796334 s: CIO: Init ... Done !!!
[MCU2_0]      3.796389 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0]      3.796420 s: CPU is running FreeRTOS
[MCU2_0]      3.796441 s: APP: Init ... !!!
[MCU2_0]      3.796460 s: SCICLIENT: Init ... !!!
[MCU2_0]      3.796598 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[MCU2_0]      3.796632 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_0]      3.796659 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_0]      3.796689 s: SCICLIENT: Init ... Done !!!
[MCU2_0]      3.796712 s: UDMA: Init ... !!!
[MCU2_0]      3.797620 s: UDMA: Init ... Done !!!
[MCU2_0]      3.797660 s: UDMA: Init ... !!!
[MCU2_0]      3.798157 s: UDMA: Init for CSITX/CSIRX ... Done !!!
[MCU2_0]      3.798209 s: MEM: Init ... !!!
[MCU2_0]      3.798244 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
[MCU2_0]      3.798302 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
[MCU2_0]      3.798353 s: MEM: Init ... Done !!!
[MCU2_0]      3.798374 s: IPC: Init ... !!!
[MCU2_0]      3.798424 s: IPC: 5 CPUs participating in IPC !!!
[MCU2_0]      3.798462 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_0]     11.863431 s: IPC: HLOS is ready !!!
[MCU2_0]     11.872947 s: IPC: Init ... Done !!!
[MCU2_0]     11.872992 s: APP: Syncing with 4 CPUs ... !!!
[MCU2_0]     12.472930 s: APP: Syncing with 4 CPUs ... Done !!!
[MCU2_0]     12.472964 s: REMOTE_SERVICE: Init ... !!!
[MCU2_0]     12.474333 s: REMOTE_SERVICE: Init ... Done !!!
[MCU2_0]     12.474370 s: FVID2: Init ... !!!
[MCU2_0]     12.474429 s: FVID2: Init ... Done !!!
[MCU2_0]     12.474453 s: SCICLIENT: Sciclient_pmSetModuleState module=214 state=2
[MCU2_0]     12.474612 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.477006 s: Set PMIC_B BUCK2 to 1.2V !!!
[MCU2_0]     12.517450 s: MaximInit Done !!!
[MCU2_0]     12.520979 s: DSS: Init ... !!!
[MCU2_0]     12.521005 s: DSS: Display type is eDP !!!
[MCU2_0]     12.521029 s: DSS: M2M Path is enabled !!!
[MCU2_0]     12.521052 s: DSS: SoC init ... !!!
[MCU2_0]     12.521073 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[MCU2_0]     12.521185 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521213 s: SCICLIENT: Sciclient_pmSetModuleState module=365 state=2
[MCU2_0]     12.521278 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521303 s: SCICLIENT: Sciclient_pmSetModuleState module=156 state=2
[MCU2_0]     12.521358 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521384 s: SCICLIENT: Sciclient_pmSetModuleState module=365 state=2
[MCU2_0]     12.521438 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521463 s: SCICLIENT: Sciclient_pmSetModuleState module=156 state=2
[MCU2_0]     12.521517 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521542 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[MCU2_0]     12.521597 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.521622 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=158 clk=3 freq=148500000
[MCU2_0]     12.522625 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
[MCU2_0]     12.522654 s: SCICLIENT: Sciclient_pmModuleClkRequest module=158 clk=3 state=2 flag=2
[MCU2_0]     12.522784 s: SCICLIENT: Sciclient_pmModuleClkRequest success
[MCU2_0]     12.522813 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=2
[MCU2_0]     12.522947 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.522973 s: DSS: SoC init ... Done !!!
[MCU2_0]     12.522995 s: DSS: Board init ... !!!
[MCU2_0]     12.523015 s: DSS: Board init ... Done !!!
[MCU2_0]     12.587367 s: DSS: Init ... Done !!!
[MCU2_0]     12.587424 s: VHWA: VPAC Init ... !!!
[MCU2_0]     12.587448 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
[MCU2_0]     12.587588 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.587618 s: VHWA: LDC Init ... !!!
[MCU2_0]     12.589734 s: VHWA: LDC Init ... Done !!!
[MCU2_0]     12.589774 s: VHWA: MSC Init ... !!!
[MCU2_0]     12.598309 s: VHWA: MSC Init ... Done !!!
[MCU2_0]     12.598347 s: VHWA: NF Init ... !!!
[MCU2_0]     12.599324 s: VHWA: NF Init ... Done !!!
[MCU2_0]     12.599361 s: VHWA: VISS Init ... !!!
[MCU2_0]     12.606531 s: VHWA: VISS Init ... Done !!!
[MCU2_0]     12.606576 s: VHWA: VPAC Init ... Done !!!
[MCU2_0]     12.606612 s:  VX_ZONE_INIT:Enabled
[MCU2_0]     12.606635 s:  VX_ZONE_ERROR:Enabled
[MCU2_0]     12.606657 s:  VX_ZONE_WARNING:Enabled
[MCU2_0]     12.607714 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0
[MCU2_0]     12.607907 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF
[MCU2_0]     12.608099 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1
[MCU2_0]     12.608284 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1
[MCU2_0]     12.608460 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2
[MCU2_0]     12.608702 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1
[MCU2_0]     12.608895 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1
[MCU2_0]     12.609096 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2
[MCU2_0]     12.609292 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1
[MCU2_0]     12.609482 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2
[MCU2_0]     12.609658 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX
[MCU2_0]     12.609856 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3
[MCU2_0]     12.610051 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4
[MCU2_0]     12.610253 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5
[MCU2_0]     12.610449 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6
[MCU2_0]     12.610636 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7
[MCU2_0]     12.610831 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8
[MCU2_0]     12.611024 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1
[MCU2_0]     12.611208 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2
[MCU2_0]     12.611382 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3
[MCU2_0]     12.611555 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4
[MCU2_0]     12.611746 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2
[MCU2_0]     12.611789 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[MCU2_0]     12.611818 s: APP: OpenVX Target kernel init ... !!!
[MCU2_0]     12.638622 s: APP: OpenVX Target kernel init ... Done !!!
[MCU2_0]     12.638660 s: CSI2RX: Init ... !!!
[MCU2_0]     12.638681 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
[MCU2_0]     12.638782 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.638812 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
[MCU2_0]     12.638883 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.638912 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
[MCU2_0]     12.638983 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639010 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
[MCU2_0]     12.639068 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639094 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
[MCU2_0]     12.639150 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639325 s: CSI2RX: Init ... Done !!!
[MCU2_0]     12.639352 s: CSI2TX: Init ... !!!
[MCU2_0]     12.639374 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
[MCU2_0]     12.639435 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639461 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
[MCU2_0]     12.639519 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639545 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
[MCU2_0]     12.639600 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639625 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
[MCU2_0]     12.639682 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     12.639746 s: CSI2TX: Init ... Done !!!
[MCU2_0]     12.639772 s: ISS: Init ... !!!
[MCU2_0]     12.639797 s: Found sensor MAX96718_RGB_TESTPATTERN at location 0
[MCU2_0]     12.639831 s: Found sensor ISX031-MAX96718 at location 1
[MCU2_0]     12.639862 s: Found sensor MAX96722_RGB_TESTPATTERN at location 2
[MCU2_0]     12.639894 s: IssSensor_Init ... Done !!!
[MCU2_0]     12.639958 s: IttRemoteServer_Init ... Done !!!
[MCU2_0]     12.639986 s: VISS REMOTE SERVICE: Init ... !!!
[MCU2_0]     12.640040 s: VISS REMOTE SERVICE: Init ... Done !!!
[MCU2_0]     12.640068 s: UDMA Copy: Init ... !!!
[MCU2_0]     12.641077 s: UDMA Copy: Init ... Done !!!
[MCU2_0]     12.641141 s: APP: Init ... Done !!!
[MCU2_0]     12.641165 s: APP: Run ... !!!
[MCU2_0]     12.641184 s: IPC: Starting echo test ...
[MCU2_0]     12.643258 s: APP: Run ... Done !!!
[MCU2_0]     12.644048 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[.] C7X_2[.]
[MCU2_0]     12.644119 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[.]
[MCU2_0]     12.644181 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[P]
[MCU2_1]      3.792980 s: CIO: Init ... Done !!!
[MCU2_1]      3.793033 s: ### CPU Frequency = 1000000000 Hz
[MCU2_1]      3.793067 s: CPU is running FreeRTOS
[MCU2_1]      3.793087 s: APP: Init ... !!!
[MCU2_1]      3.793106 s: SCICLIENT: Init ... !!!
[MCU2_1]      3.793238 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[MCU2_1]      3.793272 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_1]      3.793298 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_1]      3.793328 s: SCICLIENT: Init ... Done !!!
[MCU2_1]      3.793352 s: UDMA: Init ... !!!
[MCU2_1]      3.794444 s: UDMA: Init ... Done !!!
[MCU2_1]      3.794494 s: MEM: Init ... !!!
[MCU2_1]      3.794528 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
[MCU2_1]      3.794593 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60080000 of size 524288 bytes !!!
[MCU2_1]      3.794644 s: MEM: Init ... Done !!!
[MCU2_1]      3.794665 s: IPC: Init ... !!!
[MCU2_1]      3.794714 s: IPC: 5 CPUs participating in IPC !!!
[MCU2_1]      3.794750 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_1]     12.463441 s: IPC: HLOS is ready !!!
[MCU2_1]     12.472853 s: IPC: Init ... Done !!!
[MCU2_1]     12.472893 s: APP: Syncing with 4 CPUs ... !!!
[MCU2_1]     12.472931 s: APP: Syncing with 4 CPUs ... Done !!!
[MCU2_1]     12.472961 s: REMOTE_SERVICE: Init ... !!!
[MCU2_1]     12.474368 s: REMOTE_SERVICE: Init ... Done !!!
[MCU2_1]     12.474406 s: FVID2: Init ... !!!
[MCU2_1]     12.474464 s: FVID2: Init ... Done !!!
[MCU2_1]     12.474488 s: VHWA: DMPAC: Init ... !!!
[MCU2_1]     12.474511 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2
[MCU2_1]     12.474772 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_1]     12.474802 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2
[MCU2_1]     12.474885 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_1]     12.474911 s: VHWA: DOF Init ... !!!
[MCU2_1]     12.478706 s: VHWA: DOF Init ... Done !!!
[MCU2_1]     12.478742 s: VHWA: SDE Init ... !!!
[MCU2_1]     12.480284 s: VHWA: SDE Init ... Done !!!
[MCU2_1]     12.480315 s: VHWA: DMPAC: Init ... Done !!!
[MCU2_1]     12.480352 s:  VX_ZONE_INIT:Enabled
[MCU2_1]     12.480375 s:  VX_ZONE_ERROR:Enabled
[MCU2_1]     12.480398 s:  VX_ZONE_WARNING:Enabled
[MCU2_1]     12.481494 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-1
[MCU2_1]     12.481696 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE
[MCU2_1]     12.481879 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF
[MCU2_1]     12.481924 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[MCU2_1]     12.481953 s: APP: OpenVX Target kernel init ... !!!
[MCU2_1]     12.482200 s: APP: OpenVX Target kernel init ... Done !!!
[MCU2_1]     12.482230 s: UDMA Copy: Init ... !!!
[MCU2_1]     12.483408 s: UDMA Copy: Init ... Done !!!
[MCU2_1]     12.483450 s: APP: Init ... Done !!!
[MCU2_1]     12.483475 s: APP: Run ... !!!
[MCU2_1]     12.483496 s: IPC: Starting echo test ...
[MCU2_1]     12.485585 s: APP: Run ... Done !!!
[MCU2_1]     12.486168 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[.]
[MCU2_1]     12.486240 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[P]
[MCU2_1]     12.643981 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] C7X_1[P] C7X_2[P]
[C7x_1 ]      4.087943 s: CIO: Init ... Done !!!
[C7x_1 ]      4.087960 s: ### CPU Frequency = 1000000000 Hz
[C7x_1 ]      4.087973 s: CPU is running FreeRTOS
[C7x_1 ]      4.087983 s: APP: Init ... !!!
[C7x_1 ]      4.087992 s: SCICLIENT: Init ... !!!
[C7x_1 ]      4.088104 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[C7x_1 ]      4.088119 s: SCICLIENT: DMSC FW revision 0x8
[C7x_1 ]      4.088130 s: SCICLIENT: DMSC FW ABI revision 3.1
[C7x_1 ]      4.088141 s: SCICLIENT: Init ... Done !!!
[C7x_1 ]      4.088151 s: UDMA: Init ... !!!
[C7x_1 ]      4.089023 s: UDMA: Init ... Done !!!
[C7x_1 ]      4.089038 s: MEM: Init ... !!!
[C7x_1 ]      4.089050 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
[C7x_1 ]      4.089072 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 3964928 bytes !!!
[C7x_1 ]      4.089091 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!
[C7x_1 ]      4.089110 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
[C7x_1 ]      4.089127 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 100000000 of size 385875968 bytes !!!
[C7x_1 ]      4.089146 s: MEM: Init ... Done !!!
[C7x_1 ]      4.089155 s: IPC: Init ... !!!
[C7x_1 ]      4.089170 s: IPC: 5 CPUs participating in IPC !!!
[C7x_1 ]      4.089185 s: IPC: Waiting for HLOS to be ready ... !!!
[C7x_1 ]     11.102069 s: IPC: HLOS is ready !!!
[C7x_1 ]     11.103946 s: IPC: Init ... Done !!!
[C7x_1 ]     11.103963 s: APP: Syncing with 4 CPUs ... !!!
[C7x_1 ]     12.472932 s: APP: Syncing with 4 CPUs ... Done !!!
[C7x_1 ]     12.472954 s: REMOTE_SERVICE: Init ... !!!
[C7x_1 ]     12.473159 s: REMOTE_SERVICE: Init ... Done !!!
[C7x_1 ]     12.473217 s:  VX_ZONE_INIT:Enabled
[C7x_1 ]     12.473232 s:  VX_ZONE_ERROR:Enabled
[C7x_1 ]     12.473243 s:  VX_ZONE_WARNING:Enabled
[C7x_1 ]     12.473574 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1
[C7x_1 ]     12.473659 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2
[C7x_1 ]     12.473736 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3
[C7x_1 ]     12.473827 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4
[C7x_1 ]     12.473925 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5
[C7x_1 ]     12.474009 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6
[C7x_1 ]     12.474086 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7
[C7x_1 ]     12.474169 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8
[C7x_1 ]     12.474194 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[C7x_1 ]     12.474208 s: APP: OpenVX Target kernel init ... !!!
[C7x_1 ]     12.474341 s: APP: OpenVX Target kernel init ... Done !!!
[C7x_1 ]     12.474357 s: APP: Init ... Done !!!
[C7x_1 ]     12.474368 s: APP: Run ... !!!
[C7x_1 ]     12.474378 s: IPC: Starting echo test ...
[C7x_1 ]     12.474545 s: APP: Run ... Done !!!
[C7x_1 ]     12.475639 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[s] C7X_2[P]
[C7x_1 ]     12.486142 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[s] C7X_2[P]
[C7x_1 ]     12.643923 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[s] C7X_2[P]
[C7x_2 ]      4.182022 s: CIO: Init ... Done !!!
[C7x_2 ]      4.182040 s: ### CPU Frequency = 1000000000 Hz
[C7x_2 ]      4.182052 s: CPU is running FreeRTOS
[C7x_2 ]      4.182062 s: APP: Init ... !!!
[C7x_2 ]      4.182072 s: SCICLIENT: Init ... !!!
[C7x_2 ]      4.182188 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[C7x_2 ]      4.182204 s: SCICLIENT: DMSC FW revision 0x8
[C7x_2 ]      4.182215 s: SCICLIENT: DMSC FW ABI revision 3.1
[C7x_2 ]      4.182227 s: SCICLIENT: Init ... Done !!!
[C7x_2 ]      4.182236 s: UDMA: Init ... !!!
[C7x_2 ]      4.183116 s: UDMA: Init ... Done !!!
[C7x_2 ]      4.183132 s: MEM: Init ... !!!
[C7x_2 ]      4.183145 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 127000000 of size 16777216 bytes !!!
[C7x_2 ]      4.183168 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!!
[C7x_2 ]      4.183187 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!!
[C7x_2 ]      4.183206 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 128000000 of size 67108864 bytes !!!
[C7x_2 ]      4.183225 s: MEM: Init ... Done !!!
[C7x_2 ]      4.183235 s: IPC: Init ... !!!
[C7x_2 ]      4.183251 s: IPC: 5 CPUs participating in IPC !!!
[C7x_2 ]      4.183267 s: IPC: Waiting for HLOS to be ready ... !!!
[C7x_2 ]     11.656575 s: IPC: HLOS is ready !!!
[C7x_2 ]     11.658486 s: IPC: Init ... Done !!!
[C7x_2 ]     11.658503 s: APP: Syncing with 4 CPUs ... !!!
[C7x_2 ]     12.472933 s: APP: Syncing with 4 CPUs ... Done !!!
[C7x_2 ]     12.472955 s: REMOTE_SERVICE: Init ... !!!
[C7x_2 ]     12.473179 s: REMOTE_SERVICE: Init ... Done !!!
[C7x_2 ]     12.473245 s:  VX_ZONE_INIT:Enabled
[C7x_2 ]     12.473290 s:  VX_ZONE_ERROR:Enabled
[C7x_2 ]     12.473312 s:  VX_ZONE_WARNING:Enabled
[C7x_2 ]     12.473917 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP-1
[C7x_2 ]     12.473941 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[C7x_2 ]     12.473954 s: APP: OpenVX Target kernel init ... !!!
[C7x_2 ]     12.474242 s: APP: OpenVX Target kernel init ... Done !!!
[C7x_2 ]     12.474259 s: UDMA Copy: Init ... !!!
[C7x_2 ]     12.475114 s: UDMA Copy: Init ... Done !!!
[C7x_2 ]     12.475133 s: APP: Init ... Done !!!
[C7x_2 ]     12.475144 s: APP: Run ... !!!
[C7x_2 ]     12.475152 s: IPC: Starting echo test ...
[C7x_2 ]     12.475328 s: APP: Run ... Done !!!
[C7x_2 ]     12.475649 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[P] C7X_2[s]
[C7x_2 ]     12.486161 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[P] C7X_2[s]
[C7x_2 ]     12.643953 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[P] C7X_2[s]
root@j721s2-evm:~# 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 !!!
    39.082947 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    39.092769 s:  VX_ZONE_INIT:Enabled
    39.092824 s:  VX_ZONE_ERROR:Enabled
    39.092831 s:  VX_ZONE_WARNING:Enabled
    39.094061 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    39.097096 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
sensor_selection = [0]
ldc_enable = [0]
num_frames_to_run = [2000]
is_interactive = [0]
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!!!
tivxImagingLoadKernels done
    39.140271 s: ISS: Enumerating sensors ... !!!
    39.140842 s: ISS: Enumerating sensors ... found 0 : MAX96718_RGB_TESTPATTERN
    39.140853 s: ISS: Enumerating sensors ... found 1 : ISX031-MAX96718
    39.140859 s: ISS: Enumerating sensors ... found 2 : MAX96722_RGB_TESTPATTERN
Sensor selected : MAX96718_RGB_TESTPATTERN
app_init done
Querying MAX96718_RGB_TESTPATTERN
    39.140886 s: ISS: Querying sensor [MAX96718_RGB_TESTPATTERN] ... !!!
    39.141190 s: ISS: Querying sensor [MAX96718_RGB_TESTPATTERN] ... Done !!!
RGB Input selected. VISS and AEWB nodes will be bypassed.
Sensor DCC is NOT enabled
Sensor width = 1920
Sensor height = 1080
Sensor DCC ID = 960
Sensor Supported Features = 0x0
Sensor Enabled Features = 0x0
    39.141223 s: ISS: Initializing sensor [MAX96718_RGB_TESTPATTERN], doing IM_SENSOR_CMD_PWRON ... !!!
    39.141514 s: ISS: Initializing sensor [MAX96718_RGB_TESTPATTERN], doing IM_SENSOR_CMD_CONFIG ... !!!
    39.141905 s: ISS: Initializing sensor [MAX96718_RGB_TESTPATTERN] ... Done !!!
Creating graph
Initializing params for capture node
Creating image for capture
capture_config = 0x0xffff813d3158
Creating capture node
obj->capture_node = 0x0xffff81344ed8
[MCU2_0]     39.140467 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE
[MCU2_0]     39.140521 s: Fusion1 Board configuration
[MCU2_0]     39.140545 s: call Board_GMSLMAX96718GetI2CAddr()
[MCU2_0]     39.140568 s: call setupI2CInst(0)
[MCU2_0]     39.140592 s: call I2C_Params_init()
[MCU2_0]     39.140614 s: call I2C_open()
[MCU2_0]     39.140648 s: setupI2CInst() return 0
[MCU2_0]     39.140675 s: call setupI2CInst(0) done
[MCU2_0]     39.140701 s: call initFusion2_MAX96718()
[MCU2_0]     39.141033 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY
[MCU2_0]     39.141065 s: Received Query for MAX96718_RGB_TESTPATTERN
[MCU2_0]     39.141360 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON
[MCU2_0]     39.141390 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x1
[MCU2_0]     39.141650 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG
[MCU2_0]     39.141680 s: Application requested features = 0x0
[MCU2_0]
[MCU2_0]     39.141709 s: Disabling broadcast mode
[MCU2_0]     39.141731 s: IM_SENSOR_CMD_CONFIG channel_mask = 1
[MCU2_0]     39.141760 s: Configuring camera # 0
[MCU2_0]     39.141786 s: IM_SENSOR_CMD_CONFIG returning status = 0
Display Set Target done
vxSetGraphScheduleConfig done
Scaler is disabled
app_create_graph exiting
app_create_graph done
    39.442430 s: ISS: Starting sensor [MAX96718_RGB_TESTPATTERN] ... !!!
[MCU2_0]     39.442599 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON
[MCU2_0]     39.442661 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
[MCU2_0]     39.442708 s: call MAX96718_cfgScriptExt(max96718DesCfg_testpat)
[MCU2_0]     39.442740 s: MAX96718 config start
    39.688096 s: ISS: Starting sensor [MAX96718_RGB_TESTPATTERN] ... !!!
[MCU2_0]     39.687923 s: End of MAX96718 config
[MCU2_0]     39.687965 s: status = 0
 i 0...
 i 100...
 i 200...
//CSIRX_LANE_BAND_SPEED_400_TO_480_MBPS, /*csi_laneBandSpeed*/
-sh: //CSIRX_LANE_BAND_SPEED_400_TO_480_MBPS,: No such file or directory
root@j721s2-evm:~#  i 300...
 i 400...
 i 500...
devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffbbaf3000.
Read at address  0x04514048 (0xffffbbaf3048): 0x00222206
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffff83618000.
Read at address  0x04514048 (0xffff83618048): 0x00333306
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffb3f6f000.
Read at address  0x04514048 (0xffffb3f6f048): 0x00333306
root@j721s2-evm:~#
root@j721s2-evm:~#  i 600...
devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffb6a61000.
Read at address  0x04514048 (0xffffb6a61048): 0x00222206
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffff8535b000.
Read at address  0x04514048 (0xffff8535b048): 0x00333306
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffff9a175000.
Read at address  0x04514048 (0xffff9a175048): 0x00333306
root@j721s2-evm:~#  i 700...
 i 800...
 i 900...
 i 1000...
devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffa692f000.
Read at address  0x04514048 (0xffffa692f048): 0x00333306
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffa85bb000.
Read at address  0x04514048 (0xffffa85bb048): 0x00333306
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffffb8b77000.
Read at address  0x04514048 (0xffffb8b77048): 0x00333306
root@j721s2-evm:~#  i 1100...
devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffff8cbb4000.
Read at address  0x04514048 (0xffff8cbb4048): 0x00222206
root@j721s2-evm:~# devmem2 0x4514048 w
/dev/mem opened.
Memory mapped at address 0xffff814d2000.
Read at address  0x04514048 (0xffff814d2048): 0x00222206
root@j721s2-evm:~#  i 1200...
 i 1300...
 i 1400...
 i 1500...
 i 1600...
 i 1700...
 i 1800...
 i 1900...
 i 2000...
   107.231675 s: ISS: Stopping sensor [MAX96718_RGB_TESTPATTERN] ... !!!
   107.232150 s: ISS: Stopping sensor [MAX96718_RGB_TESTPATTERN] ... Done !!!
app_run_graph done
releasing capture node
releasing displayNode
   107.232181 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
releasing raw image done
releasing cap_frame # 0
releasing cap_frame # 1
releasing cap_frame # 2
releasing cap_frame # 3
releasing capt_yuv_image
releasing Display Param Data Object
releasing test yuv image buffer # 0
releasing graph
[MCU2_0]    107.231844 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_OFF
[MCU2_0]    107.231902 s: IM_SENSOR_CMD_STREAM_OFF:  channel_mask = 0x1
[MCU2_0]    107.231953 s: call MAX96718_cfgScript(max96718testpatDesCSI2Disable)
[MCU2_0]    107.231984 s: MAX96718 config start
[MCU2_0]    107.232006 s: Warning!!  None script file update !!
[MCU2_0]    107.232030 s: End of MAX96718 config
[MCU2_0]    107.235193 s: ==========================================================
[MCU2_0]    107.235249 s:  Capture Status: Instance|1
[MCU2_0]    107.235274 s: ==========================================================
[MCU2_0]    107.235311 s:  overflowCount: 0
[MCU2_0]    107.235340 s:  spuriousUdmaIntrCount: 0
[MCU2_0]    107.235370 s:  frontFIFOOvflCount: 0
[MCU2_0]    107.235397 s:  crcCount: 0
[MCU2_0]    107.235422 s:  eccCount: 0
[MCU2_0]    107.235449 s:  correctedEccCount: 0
[MCU2_0]    107.235477 s:  dataIdErrorCount: 0
[MCU2_0]    107.235506 s:  invalidAccessCount: 0
[MCU2_0]    107.235535 s:  invalidSpCount: 0
[MCU2_0]    107.235567 s:  strmFIFOOvflCount[0]: 0
[MCU2_0]    107.235600 s:  strmFIFOOvflCount[1]: 0
[MCU2_0]    107.235626 s:  Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
[MCU2_0]    107.235690 s:            0 |                 4 |                    4 |                0 |                 0 |
releasing graph done
Error : app_delete_graph returned 0xfffffff4
tivxHwaUnLoadKernels done
tivxImagingUnLoadKernels done
vxReleaseContext done
app_deinit done
   107.249369 s: ISS: De-initializing sensor [MAX96718_RGB_TESTPATTERN] ... !!!
   107.249632 s: ISS: De-initializing sensor [MAX96718_RGB_TESTPATTERN] ... Done !!!
   107.249649 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
   107.254064 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 8 alloc's of 26957060 bytes
DDR_SHARED_MEM: Free's : 8 free's  of 26957060 bytes
DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
DDR_SHARED_MEM: Total size: 536870912 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!

And we got value: 0x00222206 or 0x0033306 in different time from the DPHY_STATUS (0x04514048) . It means TDA4 got lane signal?

We measure the signal from MAX96718 pins by an oscilloscope. The Data pins did output something, but CKBP & CKBN (connect to CSI1_RXCLKP & CSI1_RXCLKN) are always low.

Any suggestion? Thanks.

BR,

Jeff

  • Hi Jeff,

    Why are you using output image format as RGB?, i really doubt this is supported in the single camera application.  Single camera application supports two output formats, RAW or YUV. 

    {VX_DF_IMAGE_RGB, 7},    /*dataFormat and MSB [0]*/

    Regards,

    Brijesh

  • Hi Brijesh,

    It is because MAX96718 only support RGB 888 test pattern.

    BR,

    Jeff

  • Hi Jeff,

    ok, please make the changes in the single camera application to support RGB input. I dont think it is supported in the application currently. 

    Regards,

    Brijesh

  • Hi Brijesh,

    From log, you can see I already disabled AEWB, VISS... those function used for RAW image. Is there anything else I missed? 

    BR,

    Jeff

  • Hi Jeff,

    Not only just AEWB, VISS, can you please make sure to create output images of type RGB and then pass correct CSI2 image type for RGB and so on. These changes are required for RGB output. 

    Regards,

    Brijesh

  • Hi Brijesh,

    We got some real sensors, and added code to use them. But it had same situation: (1)DP0 show green screen, (2)serializer did send something from data pins, and (3)signal from clk pins of serializer is always low. Here are the log:

    /opt/vision_apps/vision_apps_init.sh
    root@j721s2-evm:~# [MCU2_0]      3.790386 s: CIO: Init ... Done !!!
    [MCU2_0]      3.790441 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_0]      3.790473 s: CPU is running FreeRTOS
    [MCU2_0]      3.790495 s: APP: Init ... !!!
    [MCU2_0]      3.790515 s: SCICLIENT: Init ... !!!
    [MCU2_0]      3.790655 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
    [MCU2_0]      3.790688 s: SCICLIENT: DMSC FW revision 0x8
    [MCU2_0]      3.790716 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      3.790746 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      3.790769 s: UDMA: Init ... !!!
    [MCU2_0]      3.791657 s: UDMA: Init ... Done !!!
    [MCU2_0]      3.791695 s: UDMA: Init ... !!!
    [MCU2_0]      3.792200 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]      3.792255 s: MEM: Init ... !!!
    [MCU2_0]      3.792291 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
    [MCU2_0]      3.792350 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
    [MCU2_0]      3.792400 s: MEM: Init ... Done !!!
    [MCU2_0]      3.792422 s: IPC: Init ... !!!
    [MCU2_0]      3.792470 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_0]      3.792508 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     12.177209 s: IPC: HLOS is ready !!!
    [MCU2_0]     12.186851 s: IPC: Init ... Done !!!
    [MCU2_0]     12.186896 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_0]     12.609992 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_0]     12.610029 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     12.611408 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     12.611449 s: FVID2: Init ... !!!
    [MCU2_0]     12.611505 s: FVID2: Init ... Done !!!
    [MCU2_0]     12.611531 s: SCICLIENT: Sciclient_pmSetModuleState module=214 state=2
    [MCU2_0]     12.611698 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     12.622764 s: Enable DP power
    [MCU2_0]     13.124275 s: Set PMIC_B BUCK2 to 1.2V !!!
    [MCU2_0]     13.159556 s: MaximInit Done !!!
    [MCU2_0]     13.166576 s: DSS: Init ... !!!
    [MCU2_0]     13.166599 s: DSS: Display type is eDP !!!
    [MCU2_0]     13.166622 s: DSS: M2M Path is enabled !!!
    [MCU2_0]     13.166646 s: DSS: SoC init ... !!!
    [MCU2_0]     13.166667 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
    [MCU2_0]     13.166790 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.166816 s: SCICLIENT: Sciclient_pmSetModuleState module=365 state=2
    [MCU2_0]     13.166889 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.166915 s: SCICLIENT: Sciclient_pmSetModuleState module=156 state=2
    [MCU2_0]     13.166984 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.167010 s: SCICLIENT: Sciclient_pmSetModuleState module=365 state=2
    [MCU2_0]     13.167067 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.167093 s: SCICLIENT: Sciclient_pmSetModuleState module=156 state=2
    [MCU2_0]     13.167147 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.167173 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
    [MCU2_0]     13.167227 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.167254 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=158 clk=3 freq=148500000
    [MCU2_0]     13.168326 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]     13.168355 s: SCICLIENT: Sciclient_pmModuleClkRequest module=158 clk=3 state=2 flag=2
    [MCU2_0]     13.168501 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]     13.168528 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=2
    [MCU2_0]     13.168666 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.168692 s: DSS: SoC init ... Done !!!
    [MCU2_0]     13.168715 s: DSS: Board init ... !!!
    [MCU2_0]     13.168736 s: DSS: Board init ... Done !!!
    [MCU2_0]     13.210779 s: DSS: appRemoteServiceRun() returns 0; isDpConnected = 1
    [MCU2_0]     13.233421 s: DSS: Init ... Done !!!
    [MCU2_0]     13.233471 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     13.233495 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
    [MCU2_0]     13.233642 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.233672 s: VHWA: LDC Init ... !!!
    [MCU2_0]     13.235766 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     13.235808 s: VHWA: MSC Init ... !!!
    [MCU2_0]     13.244227 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     13.244297 s: VHWA: NF Init ... !!!
    [MCU2_0]     13.245309 s: VHWA: NF Init ... Done !!!
    [MCU2_0]     13.245346 s: VHWA: VISS Init ... !!!
    [MCU2_0]     13.252526 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     13.252575 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     13.252612 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     13.252637 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     13.252660 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     13.253744 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-0
    [MCU2_0]     13.253940 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_NF
    [MCU2_0]     13.254137 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_LDC1
    [MCU2_0]     13.254313 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC1
    [MCU2_0]     13.254503 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_MSC2
    [MCU2_0]     13.254750 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target VPAC_VISS1
    [MCU2_0]     13.254947 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE1
    [MCU2_0]     13.255143 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE2
    [MCU2_0]     13.255339 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY1
    [MCU2_0]     13.255519 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DISPLAY2
    [MCU2_0]     13.255694 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX
    [MCU2_0]     13.255909 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE3
    [MCU2_0]     13.256126 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE4
    [MCU2_0]     13.256319 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE5
    [MCU2_0]     13.256509 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE6
    [MCU2_0]     13.256710 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE7
    [MCU2_0]     13.256913 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CAPTURE8
    [MCU2_0]     13.257104 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M1
    [MCU2_0]     13.257303 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M2
    [MCU2_0]     13.257499 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M3
    [MCU2_0]     13.257683 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DSS_M2M4
    [MCU2_0]     13.257853 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target CSITX2
    [MCU2_0]     13.257897 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_0]     13.257927 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     13.284714 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     13.284754 s: CSI2RX: Init ... !!!
    [MCU2_0]     13.284776 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     13.284879 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.284909 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2
    [MCU2_0]     13.284978 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285013 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2
    [MCU2_0]     13.285072 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285097 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]     13.285154 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285180 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2
    [MCU2_0]     13.285234 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285414 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     13.285441 s: CSI2TX: Init ... !!!
    [MCU2_0]     13.285462 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2
    [MCU2_0]     13.285524 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285550 s: SCICLIENT: Sciclient_pmSetModuleState module=40 state=2
    [MCU2_0]     13.285609 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285634 s: SCICLIENT: Sciclient_pmSetModuleState module=41 state=2
    [MCU2_0]     13.285689 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285715 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2
    [MCU2_0]     13.285771 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     13.285836 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     13.285861 s: ISS: Init ... !!!
    [MCU2_0]     13.285887 s: Found sensor MAX96718_RGB_TESTPATTERN at location 0
    [MCU2_0]     13.285922 s: Found sensor ISX031-MAX96718 at location 1
    [MCU2_0]     13.285954 s: Found sensor MAX96722_RGB_TESTPATTERN at location 2
    [MCU2_0]     13.285995 s: IssSensor_Init ... Done !!!
    [MCU2_0]     13.286058 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     13.286085 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     13.286140 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     13.286166 s: UDMA Copy: Init ... !!!
    [MCU2_0]     13.287204 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]     13.287278 s: APP: Init ... Done !!!
    [MCU2_0]     13.287308 s: APP: Run ... !!!
    [MCU2_0]     13.287331 s: IPC: Starting echo test ...
    [MCU2_0]     13.289409 s: APP: Run ... Done !!!
    [MCU2_0]     13.290183 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C7X_1[P] C7X_2[.]
    [MCU2_0]     13.290257 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C7X_1[P] C7X_2[P]
    [MCU2_0]     13.290320 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[P]
    [MCU2_1]      3.787525 s: CIO: Init ... Done !!!
    [MCU2_1]      3.787580 s: ### CPU Frequency = 1000000000 Hz
    [MCU2_1]      3.787614 s: CPU is running FreeRTOS
    [MCU2_1]      3.787635 s: APP: Init ... !!!
    [MCU2_1]      3.787655 s: SCICLIENT: Init ... !!!
    [MCU2_1]      3.787794 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
    [MCU2_1]      3.787829 s: SCICLIENT: DMSC FW revision 0x8
    [MCU2_1]      3.787855 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      3.787886 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      3.787910 s: UDMA: Init ... !!!
    [MCU2_1]      3.789014 s: UDMA: Init ... Done !!!
    [MCU2_1]      3.789064 s: MEM: Init ... !!!
    [MCU2_1]      3.789100 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
    [MCU2_1]      3.789166 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 60080000 of size 524288 bytes !!!
    [MCU2_1]      3.789218 s: MEM: Init ... Done !!!
    [MCU2_1]      3.789239 s: IPC: Init ... !!!
    [MCU2_1]      3.789288 s: IPC: 5 CPUs participating in IPC !!!
    [MCU2_1]      3.789323 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_1]     12.600444 s: IPC: HLOS is ready !!!
    [MCU2_1]     12.609914 s: IPC: Init ... Done !!!
    [MCU2_1]     12.609955 s: APP: Syncing with 4 CPUs ... !!!
    [MCU2_1]     12.609992 s: APP: Syncing with 4 CPUs ... Done !!!
    [MCU2_1]     12.610021 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]     12.611445 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]     12.611486 s: FVID2: Init ... !!!
    [MCU2_1]     12.611546 s: FVID2: Init ... Done !!!
    [MCU2_1]     12.611571 s: VHWA: DMPAC: Init ... !!!
    [MCU2_1]     12.611595 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2
    [MCU2_1]     12.611874 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     12.611905 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2
    [MCU2_1]     12.612056 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]     12.612082 s: VHWA: DOF Init ... !!!
    [MCU2_1]     12.615967 s: VHWA: DOF Init ... Done !!!
    [MCU2_1]     12.616003 s: VHWA: SDE Init ... !!!
    [MCU2_1]     12.617735 s: VHWA: SDE Init ... Done !!!
    [MCU2_1]     12.617769 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_1]     12.617807 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]     12.617832 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]     12.617854 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]     12.618952 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target MCU2-1
    [MCU2_1]     12.619144 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_SDE
    [MCU2_1]     12.619321 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:66] Added target DMPAC_DOF
    [MCU2_1]     12.619364 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [MCU2_1]     12.619393 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]     12.619629 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]     12.619658 s: UDMA Copy: Init ... !!!
    [MCU2_1]     12.620835 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]     12.620878 s: APP: Init ... Done !!!
    [MCU2_1]     12.620906 s: APP: Run ... !!!
    [MCU2_1]     12.620927 s: IPC: Starting echo test ...
    [MCU2_1]     12.623010 s: APP: Run ... Done !!!
    [MCU2_1]     12.623628 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[.]
    [MCU2_1]     12.623703 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[P]
    [MCU2_1]     13.290099 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] C7X_1[P] C7X_2[P]
    [C7x_1 ]      4.083565 s: CIO: Init ... Done !!!
    [C7x_1 ]      4.083583 s: ### CPU Frequency = 1000000000 Hz
    [C7x_1 ]      4.083595 s: CPU is running FreeRTOS
    [C7x_1 ]      4.083604 s: APP: Init ... !!!
    [C7x_1 ]      4.083612 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      4.083721 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
    [C7x_1 ]      4.083737 s: SCICLIENT: DMSC FW revision 0x8
    [C7x_1 ]      4.083748 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      4.083760 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      4.083770 s: UDMA: Init ... !!!
    [C7x_1 ]      4.084632 s: UDMA: Init ... Done !!!
    [C7x_1 ]      4.084648 s: MEM: Init ... !!!
    [C7x_1 ]      4.084661 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
    [C7x_1 ]      4.084684 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 3964928 bytes !!!
    [C7x_1 ]      4.084703 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!
    [C7x_1 ]      4.084721 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
    [C7x_1 ]      4.084738 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 100000000 of size 385875968 bytes !!!
    [C7x_1 ]      4.084757 s: MEM: Init ... Done !!!
    [C7x_1 ]      4.084766 s: IPC: Init ... !!!
    [C7x_1 ]      4.084781 s: IPC: 5 CPUs participating in IPC !!!
    [C7x_1 ]      4.084797 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     11.171145 s: IPC: HLOS is ready !!!
    [C7x_1 ]     11.172986 s: IPC: Init ... Done !!!
    [C7x_1 ]     11.173003 s: APP: Syncing with 4 CPUs ... !!!
    [C7x_1 ]     12.609993 s: APP: Syncing with 4 CPUs ... Done !!!
    [C7x_1 ]     12.610016 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]     12.610230 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]     12.610259 s:  VX_ZONE_INIT:Enabled
    [C7x_1 ]     12.610272 s:  VX_ZONE_ERROR:Enabled
    [C7x_1 ]     12.610282 s:  VX_ZONE_WARNING:Enabled
    [C7x_1 ]     12.610647 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1
    [C7x_1 ]     12.610728 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2
    [C7x_1 ]     12.610804 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3
    [C7x_1 ]     12.610884 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4
    [C7x_1 ]     12.610974 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5
    [C7x_1 ]     12.611059 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6
    [C7x_1 ]     12.611135 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7
    [C7x_1 ]     12.611218 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8
    [C7x_1 ]     12.611242 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C7x_1 ]     12.611256 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]     12.611398 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]     12.611413 s: APP: Init ... Done !!!
    [C7x_1 ]     12.611425 s: APP: Run ... !!!
    [C7x_1 ]     12.611447 s: IPC: Starting echo test ...
    [C7x_1 ]     12.611621 s: APP: Run ... Done !!!
    [C7x_1 ]     12.612817 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[s] C7X_2[P]
    [C7x_1 ]     12.623527 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[s] C7X_2[P]
    [C7x_1 ]     13.290041 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[s] C7X_2[P]
    [C7x_2 ]      4.178325 s: CIO: Init ... Done !!!
    [C7x_2 ]      4.178342 s: ### CPU Frequency = 1000000000 Hz
    [C7x_2 ]      4.178357 s: CPU is running FreeRTOS
    [C7x_2 ]      4.178366 s: APP: Init ... !!!
    [C7x_2 ]      4.178376 s: SCICLIENT: Init ... !!!
    [C7x_2 ]      4.178495 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
    [C7x_2 ]      4.178512 s: SCICLIENT: DMSC FW revision 0x8
    [C7x_2 ]      4.178523 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_2 ]      4.178535 s: SCICLIENT: Init ... Done !!!
    [C7x_2 ]      4.178544 s: UDMA: Init ... !!!
    [C7x_2 ]      4.179399 s: UDMA: Init ... Done !!!
    [C7x_2 ]      4.179414 s: MEM: Init ... !!!
    [C7x_2 ]      4.179427 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 127000000 of size 16777216 bytes !!!
    [C7x_2 ]      4.179450 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!!
    [C7x_2 ]      4.179469 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!!
    [C7x_2 ]      4.179487 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 128000000 of size 67108864 bytes !!!
    [C7x_2 ]      4.179508 s: MEM: Init ... Done !!!
    [C7x_2 ]      4.179516 s: IPC: Init ... !!!
    [C7x_2 ]      4.179532 s: IPC: 5 CPUs participating in IPC !!!
    [C7x_2 ]      4.179548 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_2 ]     11.556788 s: IPC: HLOS is ready !!!
    [C7x_2 ]     11.558707 s: IPC: Init ... Done !!!
    [C7x_2 ]     11.558726 s: APP: Syncing with 4 CPUs ... !!!
    [C7x_2 ]     12.609994 s: APP: Syncing with 4 CPUs ... Done !!!
    [C7x_2 ]     12.610016 s: REMOTE_SERVICE: Init ... !!!
    [C7x_2 ]     12.610251 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_2 ]     12.610280 s:  VX_ZONE_INIT:Enabled
    [C7x_2 ]     12.610294 s:  VX_ZONE_ERROR:Enabled
    [C7x_2 ]     12.610306 s:  VX_ZONE_WARNING:Enabled
    [C7x_2 ]     12.610957 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP-1
    [C7x_2 ]     12.610983 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C7x_2 ]     12.610998 s: APP: OpenVX Target kernel init ... !!!
    [C7x_2 ]     12.611306 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_2 ]     12.611326 s: UDMA Copy: Init ... !!!
    [C7x_2 ]     12.612293 s: UDMA Copy: Init ... Done !!!
    [C7x_2 ]     12.612313 s: APP: Init ... Done !!!
    [C7x_2 ]     12.612325 s: APP: Run ... !!!
    [C7x_2 ]     12.612334 s: IPC: Starting echo test ...
    [C7x_2 ]     12.612509 s: APP: Run ... Done !!!
    [C7x_2 ]     12.612827 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[P] C7X_2[s]
    [C7x_2 ]     12.623540 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[P] C7X_2[s]
    [C7x_2 ]     13.290067 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[P] C7X_2[s]
    /opt/vision_apps/tte.sh
    is running
    root@j721s2-evm:~# 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 !!!
        44.201243 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        44.211076 s:  VX_ZONE_INIT:Enabled
        44.211113 s:  VX_ZONE_ERROR:Enabled
        44.211120 s:  VX_ZONE_WARNING:Enabled
        44.212415 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
        44.213847 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    sensor_selection = [1]
    ldc_enable = [0]
    num_frames_to_run = [1200]
    is_interactive = [0]
    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!!!
    tivxImagingLoadKernels done
        44.258449 s: ISS: Enumerating sensors ... !!!
        44.259025 s: ISS: Enumerating sensors ... found 0 : MAX96718_RGB_TESTPATTERN
        44.259036 s: ISS: Enumerating sensors ... found 1 : ISX031-MAX96718
        44.259042 s: ISS: Enumerating sensors ... found 2 : MAX96722_RGB_TESTPATTERN
    Sensor selected : ISX031-MAX96718
    app_init done
    Querying ISX031-MAX96718
        44.259067 s: ISS: Querying sensor [ISX031-MAX96718] ... !!!
        44.259363 s: ISS: Querying sensor [ISX031-MAX96718] ... Done !!!
    YUV Input selected. VISS and AEWB nodes will be bypassed.
    Sensor DCC is NOT enabled
    Sensor width = 1920
    Sensor height = 1536
    Sensor DCC ID = 390
    Sensor Supported Features = 0x0
    Sensor Enabled Features = 0x0
        44.259393 s: ISS: Initializing sensor [ISX031-MAX96718], doing IM_SENSOR_CMD_PWRON ... !!!
        44.259732 s: ISS: Initializing sensor [ISX031-MAX96718], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]     44.258639 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE
    [MCU2_0]     44.258695 s: Fusion1 Board configuration
    [MCU2_0]     44.258721 s: call Board_GMSLMAX96718GetI2CAddr()
    [MCU2_0]     44.258745 s: call setupI2CInst(0)
    [MCU2_0]     44.258769 s: call I2C_Params_init()
    [MCU2_0]     44.258790 s: call I2C_open()
    [MCU2_0]     44.258826 s: setupI2CInst() return 0
    [MCU2_0]     44.258853 s: call setupI2CInst(0) done
    [MCU2_0]     44.258879 s: call initFusion2_MAX96718()
    [MCU2_0]     44.259206 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY
    [MCU2_0]     44.259236 s: Received Query for ISX031-MAX96718
    [MCU2_0]     44.259529 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON
    [MCU2_0]     44.259559 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x10
    [MCU2_0]     44.259613 s: ISX031_PowerOn : chId = 0x4
    [MCU2_0]     44.259867 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG
    [MCU2_0]     44.259897 s: Application requested features = 0x0
    [MCU2_0]
    [MCU2_0]     44.259926 s: Disabling broadcast mode
    [MCU2_0]     44.259948 s: IM_SENSOR_CMD_CONFIG channel_mask = 0x10
    [MCU2_0]     44.259978 s: casper --------- ISX031_Probe, 213
    [MCU2_0]     44.260012 s: casper --------- ISX031_ReadReg, 662
    [MCU2_0]     44.260240 s: casper --------- ISX031_ReadReg, 662
    [MCU2_0]     44.260461 s: ISX031_Probe SUCCESS : Read expected value 0x31 at chip ID register 0x7e8a
    [MCU2_0]     44.260506 s: Configuring camera # 4
    [MCU2_0]     44.260535 s: MAXSerDesc config start : slaveAddr = 0x28
    [MCU2_0]     44.411981 s:  End of MAXSerDesc config
    [MCU2_0]     44.412008 s: MAXSerDesc config start : slaveAddr = 0x42
    [MCU2_0]     44.427982 s:  End of MAXSerDesc config
    [MCU2_0]     44.428006 s: MAXSerDesc config start : slaveAddr = 0x28
        44.684160 s: ISS: Initializing sensor [ISX031-MAX96718] ... Done !!!
    Creating graph
    Initializing params for capture node
    Creating image for capture
    capture_config = 0x0xffff93512158
    Creating capture node
    obj->capture_node = 0x0xffff93483ed8
    [MCU2_0]     44.683981 s:  End of MAXSerDesc config
    [MCU2_0]     44.684005 s: IM_SENSOR_CMD_CONFIG returning status = 0
    Error in file size != width*height, force to use it
    Display Set Target done
    vxSetGraphScheduleConfig done
    Scaler is disabled
    app_create_graph exiting
    app_create_graph done
        44.991526 s: ISS: Starting sensor [ISX031-MAX96718] ... !!!
    [MCU2_0]     44.991696 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON
    [MCU2_0]     44.991762 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x10
    [MCU2_0]     44.991803 s: casper --------- ISX031_StreamOn, 357
    [MCU2_0]     44.991835 s: MAXSerDesc config start : slaveAddr = 0x40
    [MCU2_0]     45.007985 s:  End of MAXSerDesc config
    [MCU2_0]     45.008014 s: MAXSerDesc config start : slaveAddr = 0x42
    [MCU2_0]     45.023981 s:  End of MAXSerDesc config
    [MCU2_0]     45.024006 s: MAXSerDesc config start : slaveAddr = 0x40
    [MCU2_0]     45.059981 s:  End of MAXSerDesc config
    [MCU2_0]     45.060005 s: MAXSerDesc config start : slaveAddr = 0x42
    [MCU2_0]     45.095981 s:  End of MAXSerDesc config
    [MCU2_0]     45.096006 s: MAXSerDesc config start : slaveAddr = 0x40
    [MCU2_0]     45.111981 s:  End of MAXSerDesc config
    [MCU2_0]     45.112004 s: MAXSerDesc config start : slaveAddr = 0x42
    [MCU2_0]     45.127982 s:  End of MAXSerDesc config
    [MCU2_0]     45.128005 s: MAXSerDesc config start : slaveAddr = 0x28
    [MCU2_0]     45.283981 s:  End of MAXSerDesc config
    [MCU2_0]     45.284005 s: MAXSerDesc config start : slaveAddr = 0x40
    [MCU2_0]     45.299982 s:  End of MAXSerDesc config
    [MCU2_0]     45.300006 s: MAXSerDesc config start : slaveAddr = 0x42
        45.316119 s: ISS: Starting sensor [ISX031-MAX96718] ... !!!
    [MCU2_0]     45.315981 s:  End of MAXSerDesc config
     i 0...
     i 100...
     i 200...
     i 300...
     i 400...
     i 500...
     i 600...
     i 700...
     i 800...
     i 900...
     i 1000...
     i 1100...
     i 1200...
        87.844510 s: ISS: Stopping sensor [ISX031-MAX96718] ... !!!
        87.845029 s: ISS: Stopping sensor [ISX031-MAX96718] ... Done !!!
    app_run_graph done
    releasing capture node
    releasing displayNode
        87.845061 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:294] Invalid reference
    releasing raw image done
    releasing cap_frame # 0
    releasing cap_frame # 1
    releasing cap_frame # 2
    releasing cap_frame # 3
    releasing capt_yuv_image
    releasing Display Param Data Object
    releasing test yuv image buffer # 0
    releasing graph
    [MCU2_0]     87.844696 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_OFF
    [MCU2_0]     87.844759 s: IM_SENSOR_CMD_STREAM_OFF:  channel_mask = 0x10
    [MCU2_0]     87.844797 s: casper --------- ISX031_StreamOff, 465
    [MCU2_0]     87.844831 s: call MAX96718_cfgScript(MAX96718DesCSI2Disable)
    [MCU2_0]     87.844859 s: MAX96718 config start
    [MCU2_0]     87.844880 s: Warning!!  None script file update !!
    [MCU2_0]     87.844905 s: End of MAX96718 config
    [MCU2_0]     87.848863 s: ==========================================================
    [MCU2_0]     87.848912 s:  Capture Status: Instance|0
    [MCU2_0]     87.848938 s: ==========================================================
    [MCU2_0]     87.848975 s:  overflowCount: 0
    [MCU2_0]     87.849009 s:  spuriousUdmaIntrCount: 0
    [MCU2_0]     87.849040 s:  frontFIFOOvflCount: 0
    [MCU2_0]     87.849067 s:  crcCount: 0
    [MCU2_0]     87.849093 s:  eccCount: 0
    [MCU2_0]     87.849120 s:  correctedEccCount: 0
    [MCU2_0]     87.849149 s:  dataIdErrorCount: 0
    [MCU2_0]     87.849178 s:  invalidAccessCount: 0
    [MCU2_0]     87.849207 s:  invalidSpCount: 0
    [MCU2_0]     87.849241 s:  strmFIFOOvflCount[0]: 0
    [MCU2_0]     87.849275 s:  strmFIFOOvflCount[1]: 0
    [MCU2_0]     87.849320 s:  Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0]     87.849721 s: ==========================================================
    [MCU2_0]     87.849780 s:  Capture Status: Instance|1
    [MCU2_0]     87.849807 s: ==========================================================
    [MCU2_0]     87.849845 s:  overflowCount: 0
    [MCU2_0]     87.849873 s:  spuriousUdmaIntrCount: 0
    [MCU2_0]     87.849904 s:  frontFIFOOvflCount: 0
    [MCU2_0]     87.849932 s:  crcCount: 62751
    [MCU2_0]     87.849959 s:  eccCount: 177022
    [MCU2_0]     87.849995 s:  correctedEccCount: 119209
    [MCU2_0]     87.850027 s:  dataIdErrorCount: 64084
    [MCU2_0]     87.850058 s:  invalidAccessCount: 0
    [MCU2_0]     87.850086 s:  invalidSpCount: 9079
    [MCU2_0]     87.850120 s:  strmFIFOOvflCount[0]: 227
    [MCU2_0]     87.850154 s:  strmFIFOOvflCount[1]: 274
    [MCU2_0]     87.850180 s:  Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0]     87.850244 s:            0 |                 4 |                    4 |                0 |                 0 |
    releasing graph done
    Error : app_delete_graph returned 0xfffffff4
    tivxHwaUnLoadKernels done
    tivxImagingUnLoadKernels done
    vxReleaseContext done
    app_deinit done
        87.862425 s: ISS: De-initializing sensor [ISX031-MAX96718] ... !!!
        87.862694 s: ISS: De-initializing sensor [ISX031-MAX96718] ... Done !!!
        87.862711 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
        87.867165 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
    APP: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... !!!
    REMOTE_SERVICE: Deinit ... Done !!!
    IPC: Deinit ... !!!
    IPC: DeInit ... Done !!!
    MEM: Deinit ... !!!
    DDR_SHARED_MEM: Alloc's: 8 alloc's of 38338820 bytes
    DDR_SHARED_MEM: Free's : 8 free's  of 38338820 bytes
    DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
    DDR_SHARED_MEM: Total size: 536870912 bytes
    MEM: Deinit ... Done !!!
    APP: Deinit ... Done !!!
    
    

    Here are the debug register value:

    Read at address  0x02A31000 (0xffff9e3ff000): 0x66A02A01
    Read at address  0x02A31008 (0xffff92ad3008): 0x00000000
    Read at address  0x02A3100C (0xffff9454900c): 0x00000008
    Read at address  0x02A31010 (0xffff8017f010): 0x00000000
    Read at address  0x02A3103C (0xffffa459803c): 0x00000000
    Read at address  0x02A31040 (0xffff97dee040): 0x00000000
    Read at address  0x02A31080 (0xffffb5aca080): 0x00000000
    Read at address  0x02A3113C (0xffff9ab2813c): 0x00000000
    Read at address  0x02A31140 (0xffff95379140): 0x00000000
    Read at address  0x02A31180 (0xffff9d28d180): 0x00000000
    Read at address  0x02A311C0 (0xffffa163b1c0): 0x00000000
    Read at address  0x02A31200 (0xffffb3faa200): 0x00000000
    Read at address  0x02A31204 (0xffffbb778204): 0x00000000
    Read at address  0x02A31208 (0xffffa0732208): 0x00000000
    Read at address  0x02A3120C (0xffffbd53020c): 0x00000000
    Read at address  0x04514024 (0xffff83f34024): 0x00000000
    Read at address  0x04514028 (0xffffa751d028): 0x00001C00
    
    Read at address  0x04514048 (0xffffb7e82048): 0x00222206
    Read at address  0x04514048 (0xffffa321f048): 0x00333306
    Read at address  0x04514048 (0xffffb7962048): 0x00333306
    Read at address  0x04514048 (0xffffaa42f048): 0x00333306
    Read at address  0x04514048 (0xffffbbc47048): 0x00333306
    Read at address  0x04514048 (0xffff83b8d048): 0x00333306
    Read at address  0x04514048 (0xffff8e64c048): 0x00333306
    Read at address  0x04514048 (0xffffadf55048): 0x00222206
    Read at address  0x04514048 (0xffff80366048): 0x00333306
    

    Any suggestion? Thanks.

    BR,

    Jeff

  • Hi Jeff,

    Again, single camera application is not validated for RGB input data type, and it might require changes to enable this dataformat. Have you done these changes? If yes, then can you share the changes? 

    Regards,

    Brijesh

  • Hi Brijesh,

    Sorry, the output of the serializer + real camera is YUV422 8bits. Not RGB anymore.

    BR,

    Jeff

  • Hi,

    Then have you changed below link in the sensor configuration? 

    {VX_DF_IMAGE_RGB, 7},    /*dataFormat and MSB [0]*/

    Is the lane speed that you are trying to use "CSIRX_LANE_BAND_SPEED_560_TO_640_MBPS"   is correct as per the sensor/deserializer output?

    Regards,

    Brijesh

  • Hi

    I checked again. lane speed isn't correct. Now the configuration is:

    static IssSensor_CreateParams  ISX031CreatePrms = {
        SENSOR_SONY_ISX031_MAX96718,     /*sensor name*/
        0x0,                             /*i2cInstId*/
        {
            0x1A, 0x1A, 0x0, 0x0,
            0x0, 0x0, 0, 0,
            0, 0, 0, 0
        },/*i2cAddrSensor*/
        {
            0x28, 0x28, 0x0, 0x0,
            0x0, 0x0, 0, 0,
            0, 0, 0, 0
        },/*i2cAddrSer*/
        /*IssSensor_Info*/
        {
            {
                ISX031_OUT_WIDTH,               /*width*/
                ISX031_OUT_HEIGHT,            /*height*/
                1,                              /*num_exposures*/
                vx_false_e,                     /*line_interleaved*/
                {
                    {VX_DF_IMAGE_UYVY, 7},    /*dataFormat and MSB [0]*/
                },
                0,                              /*meta_height_before*/
                0, //ISX031_META_HEIGHT_AFTER,      /*meta_height_after*/
            },
            0,     /*features*/
            ALGORITHMS_ISS_AEWB_MODE_NONE,  /*aewbMode*/
            30,                             /*fps*/
            4,                              /*numDataLanes*/
            {1, 2, 3, 4},                   /*dataLanesMap*/
            {0, 0, 0, 0},                   /*dataLanesPolarity*/
    		CSIRX_LANE_BAND_SPEED_800_TO_880_MBPS, /*csi_laneBandSpeed*/
        },
        2,                                  /*numChan*/
        0,                                /*dccId*/
    };

    lane speed = 1920 x 1536 x 16bpp x 30Hz x 2cameras x 1.2 / 4lanes = 849M ?

    captured image is here:

    0435.cap_0000.zip

    If I move camera, the image will change slightly. But most of the points are green, and the CLK signals are still always low. Any suggestion? Thanks.

    BR,

    Jeff

  • Hi Jeff,

    Are you sure that this is YUV422 image? Because most of 32bit container contain MSB byte as 0. it seems valid value is available only in lower 20bits, the upper 12bit are completely 0. Are you sure this is valid image? Can you please check your sensor and see what it outputs? 

    Regards,

    Brijesh

  • Hi Brijesh,

    The output of sensor is YCbCr (8-bit multiplex), says: Cb0,Y0,Cr0,Y1,... in document. And we set YUV422_8bit for input & output for serdes. When we move the camera, we can see something moving in display image, so it should be some kind output of the camera. Is our setting correct?

    BR,

    Jeff

  • Hi Jeff,

    This means capture is working, but not sure if the image format is correct. As i mentioned above, every byte should have valid value in YUYV format, which is not the case in the shared buffer. Can you please check your output format from deserializer/sensor and correct it? 

    Can you also let me know what settings you are using in CSIRX? 

    Regards,

    Brijesh

  • Hi Brijesh,

    I confirm the format setting is correct.

    Where are the settings about the CSIRX? Do you mean this?

        local_capture_config.numInst  = 1U; /* only set CSI1 */
        local_capture_config.numCh = 1U;/* Single cam. Only 1 channel enabled */
        local_capture_config.instId[0]                       = 1; //use CSI1
        local_capture_config.instCfg[0].enableCsiv2p0Support = (uint32_t)vx_true_e;
        local_capture_config.instCfg[0].numDataLanes         = sensorParams.sensorInfo.numDataLanes;
        local_capture_config.instCfg[0].laneBandSpeed        = sensorParams.sensorInfo.csi_laneBandSpeed;
        vx_uint8 id;
        for (id = 0; id < local_capture_config.instCfg[0].numDataLanes; id++)
        {
            local_capture_config.instCfg[0].dataLanesMap[id] = id + 1;
        }
        for (id = 0; id < 4; id++)
        {
            local_capture_config.chVcNum[id]   = id;
            local_capture_config.chInstMap[id] = 1;
        }

    BR,

    Jeff

  • Hi Jeff,

    I meant to say numPixels variable in the CSIRX instance configuration. Can you please check if this is not set to 1? 

    Apart from this, i dont see any issue. Can you please check in what format/bitdepth sensor/deserializer is outputting? 

    Regards,

    Brijesh

  • Hi Brijesh,

    We don't set value to local_capture_config.numPixels, so it use the default value:0.

    And, how do we check format/bitdepth from sensor/deserializer?

    BR,

    Jeff

  • Hi Jeff,

    Not sure, can you please check with your vendor or sensor module owner?

    Regards,

    Brijesh 

  • Hi Brijesh,

    This is our first version of custom board. Is it possible that the problem is with the hardware? If it is possible, where might the problem occur?

    BR,

    Jeff

  • Hi Jeff,

    not sure, but from the CSIRX perspective, it is capturing some data, but not sure what's the data. Typically if it is HW issue, there will not be any data, there could be data with lot of errors.

    I would suggest contacting sensor and/or deserializer vendor confirming configuration and output data format.

    Regards,

    Brijesh

  • Hi Brijesh,

    One more question. How to set the lane speed? In vendor default configuration for deserializer, it is 1.5K Mbps for each lane. But if I set CSIRX_LANE_BAND_SPEED_1500_TO_1750_MBPS or larger in TDA4, CaptureNode will get all zero value frame from camera. It I set this value CSIRX_LANE_BAND_SPEED_800_TO_880_MBPS, CaptureNode will get incorrect image with wrong format from camera. It I modify the lane speed of deserializer to 849 Mbps (1920 x 1536 x 16bpp x 30Hz x 2cameras x 1.2 / 4lanes = 849M), The situation remains unchanged.

    I reference the all sensor configuration in sensor_drv/src/, they all use "CSIRX_LANE_BAND_SPEED_1350_TO_1500_MBPS" no matter how much actual data is output. I am confused. So how do I set the correct lane speed for TDA4? Is CSIRX_LANE_BAND_SPEED_800_TO_880_MBPS correct for me?

    BR,

    Jeff

  • Hi Jeff,

    Almost all supported sensors in the SDK uses UB960, which is configured to output at 1.5Gbps lane speed, which is why all sensors are using 1.35 to 1.5Gbps lane speed. 

    Since you are able to capture data, it is not related to lane speed and you are not even seeing any errors like ECC/CRC, so incorrect data is not related to lane speed. 

    Can you please check and confirm that the dataformat is correct in the output of deserialzier/sensor? 

    Are you using numPixel variable in the CSIRX? 

    Regards,

    Brijesh

  • Hi  Brijesh,

    Can you please check and confirm that the dataformat is correct in the output of deserialzier/sensor? 

    Yes. I am sure they are correct.

    Are you using numPixel variable in the CSIRX? 

    No. We don't use this var. It keeps the default value: 0.

    BR,

    Jeff

  • Hi Jeff,

    But then according to the image that you shared earlier, it does not look like YUV422 buffer, because the MSB byte is 0 for all pixels. 

    Regards,

    Brijesh

  • Hi Brijesh,

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

    After applying the patch, we can see the image now. But it still got some problems as attached file: the bottom region is moved to top, and the bottom region is replaced with unknown image. Please help us solve it. Thanks.

    8863.cap_0000.zip

    BR,

    Jeff

  • Hi Jeff,

    oh sorry, thanks for reminding, yes, there was an issue in SDK8.6 release for YUV422 capture.

    Are you sure that the size configured in CSIRX is matching with the output imager? This issue typically comes due to size mismatch.

    Regards,

    Brijesh

  • Hi Brijesh, 

    I solved the problem. It is because we made two camera send out image data at the same time with using single cam app. The output is ok now after we make only one camera send image out.

    Thanks.

    BR,

    Jeff 

  • Thanks Jeff, closing this ticket.