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: The AWB initial value is abnormal

Part Number: TDA4VM

Hi TI Experts,

We have an AWB initial value exception problem,which is based on  TI SDK 7.03 and DCC tool v2.5. Our image sensor is OX03C10.

After the AVM is enabled, the screen turns purple and recovers after a period of time. The fault video and log are as follows.. It is found through the log that the initial values of Rgain and Bgain in AWB are very large. In addition, after replacing the Vehicle Domain Controller, there is no purple problem again. Is this an individual hardware issue?

AWB_log.zip

Please help us to sovle these cases
Best Regards

  • In addition, after replacing the Vehicle Domain Controller, there is no purple problem again

    What is a "Vehicle Domain Controller"?

  • Vehicle Domain Controller is the main control board that integrates the TDA4VM system-on-chip (SOC).

  • I cannot tell why domain controller makes a difference.

    You may check if there is anything wrong in AWB initialization.
    Theoretically, AWB initializes itself completely, but something may go wrong with the domain controller.

  • Hi 

    Where is the AWB initialization part? I am in the SDK of RTOS. Currently, I can trace the AWB data to be transmitted through the network client, but when it was transmitted, it was already an abnormal value. I could not find the location of this client.

    In addition, is there any relevant introduction document?

  • Where is the AWB initialization part?

    AWB initializes itself when "TI_AWB_init(...)" is called in "vx_aewb_target.c".
    There should be no problem in the initialization as AWB works well in general and there is no such known issues in AWB.

    Not sure what is broken with your previous controller.
    As AWB is wrong only at the beginning and can recover soon, it is a reasonable guess that AWB starts with some wrong state.

  • We trace the "tivxAewbProcess" function in the file kernels\arm\vx_aewb_target.c,  and view the associated log print.

    We found that the parameters of the first frame were normally set to the initial value, and after the initial value of the first frame was passed into "Ti_AWB_do", an abnormal value was obtained, which led to the data of the second frame being affected by the first frame, and finally led to the problem of purple screen.

    "TI_AWB_do" this function is not open source.

  • Can you reproduce this with your first frame H3A input and AWB calibration in S/W?

    If you share both of those, I can check what goes wrong in AWB.

  • This is ”kernels\arm\vx_aewb_target.c“, a part of the function that adds log.

    What location do you mean to load the first frame H3A input?

    static vx_status VX_CALLBACK tivxAewbProcess(
        tivx_target_kernel_instance kernel,
        tivx_obj_desc_t *obj_desc[],
        uint16_t num_params,
        void *priv_arg)
    {
        vx_status status = VX_SUCCESS;
        tivx_obj_desc_user_data_object_t *configuration_desc;
        tivx_obj_desc_distribution_t *histogram_desc;
        tivx_obj_desc_user_data_object_t *h3a_aew_af_desc;
        tivx_obj_desc_user_data_object_t *ae_awb_result_desc;
        tivxAEWBParams *nodePrms = NULL;
    
        vx_bool test_mode = vx_false_e;
        tivx_h3a_data_t *pHh3aData;
        uint32_t viss_channel_id = 0;
    
        uint32_t node_param_size;
        uint8_t skipAWB = 0;
        uint8_t skipAE = 0;
    
        uint8_t rIndex = 0xFF;
        uint8_t grIndex = 0xFF;
        uint8_t gbIndex = 0xFF;
        uint8_t bIndex = 0xFF;
    
        static uint8_t power_on_time = 0;
    
        if (1 != g_stream_on_flag)
        {
            printf("close aewb\n");
            return VX_FAILURE;
        }
    
        status = tivxGetTargetKernelInstanceContext(kernel, (void **)&nodePrms, &node_param_size);
    
        if (NULL == nodePrms->p_awb_params)
        {
            VX_PRINT(VX_ZONE_ERROR, "tivxAewbProcess : Failed to get kernel instance \n");
            status = VX_FAILURE;
        }
    
        if (VX_SUCCESS == status)
        {
            if ((num_params != TIVX_KERNEL_AEWB_MAX_PARAMS) || (NULL == obj_desc[TIVX_KERNEL_AEWB_CONFIGURATION_IDX]) || (NULL == obj_desc[TIVX_KERNEL_AEWB_H3A_AEW_AF_IDX]) || (NULL == obj_desc[TIVX_KERNEL_AEWB_AE_AWB_RESULT_IDX]))
            {
                status = VX_FAILURE;
                VX_PRINT(VX_ZONE_ERROR, "tivxAewbProcess : Incorrect params : num_params =%d\n", num_params);
            }
        }
    
        if (VX_SUCCESS == status)
        {
            configuration_desc = (tivx_obj_desc_user_data_object_t *)obj_desc[TIVX_KERNEL_AEWB_CONFIGURATION_IDX];
            histogram_desc = (tivx_obj_desc_distribution_t *)obj_desc[TIVX_KERNEL_AEWB_HISTOGRAM_IDX];
            h3a_aew_af_desc = (tivx_obj_desc_user_data_object_t *)obj_desc[TIVX_KERNEL_AEWB_H3A_AEW_AF_IDX];
            ae_awb_result_desc = (tivx_obj_desc_user_data_object_t *)obj_desc[TIVX_KERNEL_AEWB_AE_AWB_RESULT_IDX];
    
            /*
               In RAW frame inject mode, VISS node indicates that H3A data is invalid.
               In this scenario, image sensor is not connected. Therefore no physical
               communication should be attempted with the image sensor
            */
            if (tivxFlagIsBitSet(obj_desc[TIVX_KERNEL_AEWB_H3A_AEW_AF_IDX]->flags, TIVX_REF_FLAG_IS_INVALID) != 0U)
            {
                VX_PRINT(VX_ZONE_INFO, "tivxAewbProcess : H3A output maybe invalid.\n");
                // test_mode = vx_true_e; // modify by kankan
            }
    
            {
                void *configuration_target_ptr;
                void *histogram_target_ptr;
                tivx_h3a_data_t *h3a_aew_af_target_ptr;
                tivx_ae_awb_params_t *ae_awb_result_prev_target_ptr;
                tivx_ae_awb_params_t *ae_awb_result_target_ptr;
                tivx_aewb_config_t *aewb_config;
    
                configuration_target_ptr = tivxMemShared2TargetPtr(&configuration_desc->mem_ptr);
                tivxMemBufferMap(configuration_target_ptr, configuration_desc->mem_size, VX_MEMORY_TYPE_HOST, VX_READ_ONLY);
    
                aewb_config = (tivx_aewb_config_t *)configuration_target_ptr;
                ae_awb_result_prev_target_ptr = &(nodePrms->ae_awb_result_prev); // data from here
    
                rIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->red_index;
                grIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->green1_index;
                gbIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->green2_index;
                bIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->blue_index;
    
                tivxMutexLock(itt_aewb_lock[aewb_config->channel_id]);
                nodePrms->p_awb_params->mode = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.awbMode;
                nodePrms->p_ae_params->mode = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.aeMode;
    
                if (vx_true_e == test_mode)
                {
                    nodePrms->p_ae_params->mode = ALGORITHMS_ISS_AE_DISABLED;
                    nodePrms->sensor_pre_wb_gain = 0;
                }
    
                if ((-1 == nodePrms->sensor_pre_wb_gain) && (ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode))
                {
                    IssAwbDynamicParams awb_dynPrms;
                    status = getWbPrgFromSensor(aewb_config->channel_id, &awb_dynPrms);
                    nodePrms->sensor_pre_wb_gain = 0;
    
                    if (0 == status)
                    {
                        nodePrms->sensor_pre_wb_gain = awb_dynPrms.sensor_pre_gain;
                    }
                }
    
                ae_awb_result_target_ptr = tivxMemShared2TargetPtr(&ae_awb_result_desc->mem_ptr);
                tivxMemBufferMap(ae_awb_result_target_ptr, ae_awb_result_desc->mem_size, VX_MEMORY_TYPE_HOST, VX_WRITE_ONLY);
    
                if (ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode)
                {
                    PRINTB("[ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] \n \
    nodePrms->frame_count = [0x%04x] \n \
    aewb_config->channel_id = [0x%04x] \n \
    ae_awb_result_prev_target_ptr->wb_gains[0] = [0x%04x] \n \
    ae_awb_result_prev_target_ptr->wb_gains[1] = [0x%04x] \n \
    ae_awb_result_prev_target_ptr->wb_gains[2] = [0x%04x] \n \
    ae_awb_result_prev_target_ptr->wb_gains[3] = [0x%04x] \n \
    ae_awb_result_prev_target_ptr->color_temperature = [0x%04x] \n \
    ",
                           nodePrms->frame_count, aewb_config->channel_id, ae_awb_result_prev_target_ptr->wb_gains[0], ae_awb_result_prev_target_ptr->wb_gains[1], ae_awb_result_prev_target_ptr->wb_gains[2], ae_awb_result_prev_target_ptr->wb_gains[3], ae_awb_result_prev_target_ptr->color_temperature);
                    if (aewb_config->channel_id == 1)
                    {
                        _count = nodePrms->frame_count;
                    }
                    if (0 != ((nodePrms->frame_count + aewb_config->channel_id) % (aewb_config->awb_num_skip_frames + 1)))
                    {
                        if (0xf != first_power_on_sensor_init())
                        {
                            if (power_on_time == 5)
                            {
                                skipAWB = 1;
                                ae_awb_result_target_ptr->awb_valid = 0;
    
                                ae_awb_result_target_ptr->wb_gains[0] = ae_awb_result_prev_target_ptr->wb_gains[0];
                                ae_awb_result_target_ptr->wb_gains[1] = ae_awb_result_prev_target_ptr->wb_gains[1];
                                ae_awb_result_target_ptr->wb_gains[2] = ae_awb_result_prev_target_ptr->wb_gains[2];
                                ae_awb_result_target_ptr->wb_gains[3] = ae_awb_result_prev_target_ptr->wb_gains[3];
                                ae_awb_result_target_ptr->wb_offsets[0] = ae_awb_result_prev_target_ptr->wb_offsets[0];
                                ae_awb_result_target_ptr->wb_offsets[1] = ae_awb_result_prev_target_ptr->wb_offsets[1];
                                ae_awb_result_target_ptr->wb_offsets[2] = ae_awb_result_prev_target_ptr->wb_offsets[2];
                                ae_awb_result_target_ptr->wb_offsets[3] = ae_awb_result_prev_target_ptr->wb_offsets[3];
                                ae_awb_result_target_ptr->color_temperature = ae_awb_result_prev_target_ptr->color_temperature;
                            }
    
                            if (5 != power_on_time)
                                power_on_time++;
                        }
                        else
                        {
                            skipAWB = 1;
                            ae_awb_result_target_ptr->awb_valid = 0;
    
                            ae_awb_result_target_ptr->wb_gains[0] = ae_awb_result_prev_target_ptr->wb_gains[0];
                            ae_awb_result_target_ptr->wb_gains[1] = ae_awb_result_prev_target_ptr->wb_gains[1];
                            ae_awb_result_target_ptr->wb_gains[2] = ae_awb_result_prev_target_ptr->wb_gains[2];
                            ae_awb_result_target_ptr->wb_gains[3] = ae_awb_result_prev_target_ptr->wb_gains[3];
                            ae_awb_result_target_ptr->wb_offsets[0] = ae_awb_result_prev_target_ptr->wb_offsets[0];
                            ae_awb_result_target_ptr->wb_offsets[1] = ae_awb_result_prev_target_ptr->wb_offsets[1];
                            ae_awb_result_target_ptr->wb_offsets[2] = ae_awb_result_prev_target_ptr->wb_offsets[2];
                            ae_awb_result_target_ptr->wb_offsets[3] = ae_awb_result_prev_target_ptr->wb_offsets[3];
    
                            ae_awb_result_target_ptr->color_temperature = ae_awb_result_prev_target_ptr->color_temperature;
                        }
                    }
                }
                else if (ALGORITHMS_ISS_AWB_MANUAL == nodePrms->p_awb_params->mode)
                {
    
                    ae_awb_result_target_ptr->wb_gains[rIndex] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain;
                    ae_awb_result_target_ptr->wb_gains[grIndex] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain;
                    ae_awb_result_target_ptr->wb_gains[gbIndex] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain;
                    ae_awb_result_target_ptr->wb_gains[bIndex] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain;
                    ae_awb_result_target_ptr->color_temperature = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp;
                    ae_awb_result_target_ptr->awb_valid = 1;
                }
    
                if (ALGORITHMS_ISS_AE_AUTO == nodePrms->p_ae_params->mode)
                {
                    // if(0 != ((nodePrms->frame_count + aewb_config->channel_id) % (aewb_config->ae_num_skip_frames+1)))
                    if (!(
                            ((nodePrms->frame_count + aewb_config->channel_id) % (aewb_config->ae_num_skip_frames + 1) == 0) ||
                            (nodePrms->frame_count % 3 == 0 && aewb_config->channel_id == 1)))
                    {
    
                        if (0xf != first_power_on_sensor_init())
                        {
                            if (power_on_time == 5)
                            {
                                skipAE = 1;
                                ae_awb_result_target_ptr->ae_valid = 0;
                                ae_awb_result_target_ptr->analog_gain = ae_awb_result_prev_target_ptr->analog_gain;
                                ae_awb_result_target_ptr->digital_gain = ae_awb_result_prev_target_ptr->digital_gain;
                                ae_awb_result_target_ptr->exposure_time = ae_awb_result_prev_target_ptr->exposure_time;
                                ae_awb_result_target_ptr->ae_converged = ae_awb_result_prev_target_ptr->ae_converged;
                            }
                        }
                        else
                        {
                            skipAE = 1;
                            ae_awb_result_target_ptr->ae_valid = 0;
                            ae_awb_result_target_ptr->analog_gain = ae_awb_result_prev_target_ptr->analog_gain;
                            ae_awb_result_target_ptr->digital_gain = ae_awb_result_prev_target_ptr->digital_gain;
                            ae_awb_result_target_ptr->exposure_time = ae_awb_result_prev_target_ptr->exposure_time;
                            ae_awb_result_target_ptr->ae_converged = ae_awb_result_prev_target_ptr->ae_converged;
                        }
                    }
                }
                else if (ALGORITHMS_ISS_AE_MANUAL == nodePrms->p_ae_params->mode)
                {
                    int max_n = nodePrms->p_ae_params->exposure_program.num_ranges - 1;
                    int32_t max_analog_gain = nodePrms->p_ae_params->exposure_program.analog_gain_range[max_n].max;
                    int32_t min_analog_gain = nodePrms->p_ae_params->exposure_program.analog_gain_range[0].min;
                    int32_t max_exp_time = nodePrms->p_ae_params->exposure_program.exposure_time_range[max_n].max;
                    int32_t min_exp_time = nodePrms->p_ae_params->exposure_program.exposure_time_range[0].min;
                    int32_t max_digital_gain = nodePrms->p_ae_params->exposure_program.digital_gain_range[max_n].max;
                    int32_t min_digital_gain = nodePrms->p_ae_params->exposure_program.digital_gain_range[0].min;
    
                    if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain > max_analog_gain)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain = max_analog_gain;
                    }
                    else if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain < min_analog_gain)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain = min_analog_gain;
                    }
    
                    if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime > max_exp_time)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime = max_exp_time;
                    }
                    else if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime < min_exp_time)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime = min_exp_time;
                    }
    
                    if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain > max_digital_gain)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain = max_digital_gain;
                    }
                    else if (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain < min_digital_gain)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain = min_digital_gain;
                    }
                    ae_awb_result_target_ptr->analog_gain = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain;
                    ae_awb_result_target_ptr->exposure_time = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime;
                    ae_awb_result_target_ptr->digital_gain = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain;
                }
    
                nodePrms->frame_count++;
                if ((1 == skipAE) && (1 == skipAWB))
                {
                    /*AE and AWB are both skipped. No need for H3A parsing or any other processing */
                    tivxMemBufferUnmap(ae_awb_result_target_ptr,
                                       ae_awb_result_desc->mem_size,
                                       VX_MEMORY_TYPE_HOST,
                                       VX_WRITE_ONLY);
    
                    tivxMutexUnlock(itt_aewb_lock[aewb_config->channel_id]);
    
                    VX_PRINT(VX_ZONE_INFO, "AE and AWB are skipped. tivxAewbProcess returning SUCCESS\n");
                    return VX_SUCCESS;
                }
    
                if (histogram_desc != NULL)
                {
                    histogram_target_ptr = tivxMemShared2TargetPtr(&histogram_desc->mem_ptr);
                    tivxMemBufferMap(histogram_target_ptr,
                                     histogram_desc->mem_size,
                                     VX_MEMORY_TYPE_HOST,
                                     VX_READ_ONLY);
                }
    
                /* kernel processing function start */
                if (h3a_aew_af_desc != NULL)
                {
                    h3a_aew_af_target_ptr = tivxMemShared2TargetPtr(&h3a_aew_af_desc->mem_ptr);
                    tivxMemBufferMap(h3a_aew_af_target_ptr,
                                     h3a_aew_af_desc->mem_size,
                                     VX_MEMORY_TYPE_HOST,
                                     VX_READ_ONLY);
    
                    pHh3aData = (tivx_h3a_data_t *)h3a_aew_af_target_ptr;
                    viss_channel_id = pHh3aData->channel_id;
    
                    if (NULL == nodePrms->awb_h3a_res)
                    {
                        VX_PRINT(VX_ZONE_ERROR, "tivxAewbProcess: Failed to allocate memory for awb_h3a_res\n");
                        tivxMutexUnlock(itt_aewb_lock[aewb_config->channel_id]);
                        return VX_ERROR_NO_MEMORY;
                    }
    
                    /*
                    H3A config should be read from DCC
                    Header sent by VISS node is read but AWB params are overwritten by DCC values
                    */
                    uint8_t *h3a_buf = NULL;
                    if (NULL == nodePrms->dcc_output_params)
                    {
                        h3a_buf = decode_h3a_header((uint8_t *)h3a_aew_af_target_ptr->data,
                                                    &nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_x,
                                                    &nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_y,
                                                    &nodePrms->p_awb_params->ti_awb_data_in.frame_data.pix_in_pax);
                    }
                    else 
                    {
                        h3a_buf = decode_h3a_header_dcc((uint8_t *)h3a_aew_af_target_ptr->data,
                                                        &nodePrms->dcc_output_params->ipipeH3A_AEWBCfg,
                                                        &nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_x,
                                                        &nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_y,
                                                        &nodePrms->p_awb_params->ti_awb_data_in.frame_data.pix_in_pax);
                    }
    
                    AWB_TI_parse_H3a_buf(h3a_buf,
                                         nodePrms->p_awb_params,
                                         nodePrms->awb_h3a_res,
                                         nodePrms->p_h3a_merge);
    
                    ae_awb_result_target_ptr->h3a_source_data = 0;
    
                    if (1 == skipAE)
                    {
                        ae_awb_result_target_ptr->ae_valid = 0;
                    }
                    else
                    {
                        if (ALGORITHMS_ISS_AE_AUTO == nodePrms->p_ae_params->mode)
                        {
                            if (0 == nodePrms->p_ae_params->exposure_program.num_ranges)
                            {
                                /*AE Exposure program not initialized. get it from sensor driver and re-initialize AE*/
                                IssAeDynamicParams ae_dynPrms;
                                tiae_exp_prog_t ae_exp_prg;
    
                                status = getExpPrgFromSensor(aewb_config->channel_id, &ae_dynPrms);
    
                                if (0 != status)
                                {
                                    map_sensor_ae_dynparams(&ae_dynPrms, &ae_exp_prg);
                                    TI_AE_init(nodePrms->p_ae_params, &ae_exp_prg);
                                }
                                else
                                {
                                    ae_awb_result_target_ptr->ae_valid = 0;
                                    nodePrms->p_ae_params->exposure_program.num_ranges = 0;
    
                                    tivxMutexUnlock(itt_aewb_lock[aewb_config->channel_id]);
    
                                    return VX_SUCCESS;
                                }
                            }
    
                            status = AE_TI_process(nodePrms->awb_h3a_res,
                                                   nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_x,
                                                   nodePrms->p_awb_params->ti_awb_data_in.frame_data.h3a_data_y,
                                                   nodePrms->p_ae_params,
                                                   ae_awb_result_prev_target_ptr,
                                                   ae_awb_result_target_ptr,
                                                   aewb_config->channel_id);
    
                            if (VX_SUCCESS != status)
                            {
                                VX_PRINT(VX_ZONE_ERROR, "AE_TI_process returned error 0x%x \n", status);
                                ae_awb_result_target_ptr->ae_valid = 0;
                            }
                        }
    
                        if (ALGORITHMS_ISS_AE_DISABLED != nodePrms->p_ae_params->mode)
                        {
                            IssSensor_ExposureParams aePrms;
                            if (1 == ae_awb_result_target_ptr->ae_valid)
                            {
                                aePrms.chId = 0;
                                aePrms.analogGain[ISS_SENSOR_EXPOSURE_LONG] = ae_awb_result_target_ptr->analog_gain;
                                aePrms.analogGain[ISS_SENSOR_EXPOSURE_SHORT] = ae_awb_result_target_ptr->analog_gain;
                                aePrms.analogGain[ISS_SENSOR_EXPOSURE_VSHORT] = ae_awb_result_target_ptr->analog_gain;
                                aePrms.exposureTime[ISS_SENSOR_EXPOSURE_LONG] = ae_awb_result_target_ptr->exposure_time;
                                aePrms.exposureTime[ISS_SENSOR_EXPOSURE_SHORT] = ae_awb_result_target_ptr->exposure_time;
                                aePrms.exposureTime[ISS_SENSOR_EXPOSURE_VSHORT] = ae_awb_result_target_ptr->exposure_time;
    
                                aePrms.digitalGain[ISS_SENSOR_EXPOSURE_LONG] = ae_awb_result_target_ptr->digital_gain;
                                aePrms.digitalGain[ISS_SENSOR_EXPOSURE_SHORT] = ae_awb_result_target_ptr->digital_gain;
                                aePrms.digitalGain[ISS_SENSOR_EXPOSURE_VSHORT] = ae_awb_result_target_ptr->digital_gain;
    
                                /*KANKAN*/
                                aePrms.Currenty = ae_awb_result_target_ptr->currentY;
                                aePrms.expRatio = 1U; /*Do not care*/
                                status = sendExpGainToSensor(aewb_config, &aePrms);
    
                                if (0 != status)
                                {
                                    VX_PRINT(VX_ZONE_ERROR, "Failed to send AE results to image sensor \n");
                                }
                            }
                        }
                    }
    
                    if (1 == skipAWB)
                    {
                        ae_awb_result_target_ptr->awb_valid = 0;
                    }
                    else
                    {
                        if (ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode)
                        {
                            uint8_t rIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->red_index;
                            uint8_t grIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->green1_index;
                            uint8_t gbIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->green2_index;
                            uint8_t bIndex = (uint8_t)nodePrms->p_awb_params->sen_awb_calc_data->blue_index;
    
                            uint32_t AWB_Status = 0;
                            IssSensor_AWB_Satus Apply_AWBStatus;
                            AWB_Status = getWbstausPrgFromSensor(aewb_config->channel_id, &Apply_AWBStatus);
                            if (AWB_Status == 0)
                            {
                                // if(Apply_AWBStatus.Apply_AWB_Sensor_Gain == 0xffff ||
                                //    Apply_AWBStatus.AWB_Prev_Rgain == 0xffff ||
                                //    Apply_AWBStatus.AWB_Prev_Bgain == 0xffff )
                                // {
                                //     ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x0400;
                                //     ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200;
                                //     ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x0400;
                                // }
                                // else
                                // {
                                ae_awb_result_prev_target_ptr->wb_gains[rIndex] = Apply_AWBStatus.AWB_Prev_Rgain;
                                ae_awb_result_prev_target_ptr->wb_gains[grIndex] = ae_awb_result_prev_target_ptr->wb_gains[gbIndex] = 0x200;
                                ae_awb_result_prev_target_ptr->wb_gains[bIndex] = Apply_AWBStatus.AWB_Prev_Bgain;
                                // }
                                // VX_PRINT(VX_ZONE_ERROR, "KANAKN rGain_prev=0x%x bGain_prev =0x%x\n", Apply_AWBStatus.AWB_Prev_Rgain, Apply_AWBStatus.AWB_Prev_Bgain);
                                PRINTB("[ AWB_Status == 0] \n \
    ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x%04x \n \
    ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x%04x \n \
    ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x%04x \n \
    ",
                                       ae_awb_result_prev_target_ptr->wb_gains[rIndex], ae_awb_result_prev_target_ptr->wb_gains[grIndex], ae_awb_result_prev_target_ptr->wb_gains[bIndex]);
                            }
    
                            PRINTB("[before AWB_TI_process] \n \
    aewb_config->channel_id = [%d] \n \
    nodePrms->p_awb_params->stab_init_cnt = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_R = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_G = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_B = 0x%04x \n \
    ",
                                   aewb_config->channel_id, nodePrms->p_awb_params->stab_init_cnt, nodePrms->p_awb_params->stab_gain_R, nodePrms->p_awb_params->stab_gain_G, nodePrms->p_awb_params->stab_gain_B);
    
                            nodePrms->sensor_pre_wb_gain = 1;
                            status = AWB_TI_process(nodePrms->p_h3a_merge,
    
                                                    nodePrms->p_awb_params,
    
                                                    ae_awb_result_prev_target_ptr,
                                                    ae_awb_result_target_ptr,
    
                                                    aewb_config->channel_id,
    
                                                    nodePrms->awb_scratch_memory,
                                                    nodePrms->sensor_pre_wb_gain);
    
                            PRINTB("[after AWB_TI_process] \n \
    aewb_config->channel_id = [%d] \n \
    nodePrms->p_awb_params->stab_init_cnt = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_R = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_G = 0x%04x \n \
    nodePrms->p_awb_params->stab_gain_B = 0x%04x \n \
    ",
                                   aewb_config->channel_id, nodePrms->p_awb_params->stab_init_cnt, nodePrms->p_awb_params->stab_gain_R, nodePrms->p_awb_params->stab_gain_G, nodePrms->p_awb_params->stab_gain_B);
    
                            if (VX_SUCCESS != status)
                            {
                                VX_PRINT(VX_ZONE_ERROR, "AWB_TI_process returned error 0x%x \n", status);
                                ae_awb_result_target_ptr->awb_valid = 0;
                            }
    
                            if (NULL != nodePrms->dcc_output_params)
                            {
                                if ((100 == nodePrms->dcc_output_params->awbCalbData.apply_rgb_adjust) && (0 == nodePrms->sensor_pre_wb_gain))
                                {
                                    double power = nodePrms->dcc_output_params->awbCalbData.R_adjust / 100.0;
                                    double g0 = ae_awb_result_target_ptr->wb_gains[0];
                                    double g1 = ae_awb_result_target_ptr->wb_gains[1];
                                    double g2 = ae_awb_result_target_ptr->wb_gains[2];
                                    double g3 = ae_awb_result_target_ptr->wb_gains[3];
    
                                    ae_awb_result_target_ptr->wb_gains[0] = pow(g0 / 512.0, power) * 512 + 0.5;
                                    ae_awb_result_target_ptr->wb_gains[1] = pow(g1 / 512.0, power) * 512 + 0.5;
                                    ae_awb_result_target_ptr->wb_gains[2] = pow(g2 / 512.0, power) * 512 + 0.5;
                                    ae_awb_result_target_ptr->wb_gains[3] = pow(g3 / 512.0, power) * 512 + 0.5;
                                }
                            }
    
                            VX_PRINT(VX_ZONE_INFO, "AWB Gain = (%d, %d, %d, %d) \n",
                                     ae_awb_result_target_ptr->wb_gains[0],
                                     ae_awb_result_target_ptr->wb_gains[1],
                                     ae_awb_result_target_ptr->wb_gains[2],
                                     ae_awb_result_target_ptr->wb_gains[3]);
                        }
                    }
    
                    tivxMemBufferUnmap(h3a_aew_af_target_ptr, h3a_aew_af_desc->mem_size, VX_MEMORY_TYPE_HOST, VX_READ_ONLY);
                }
    
                /* kernel processing function complete */
    
                tivxMemBufferUnmap(configuration_target_ptr, configuration_desc->mem_size, VX_MEMORY_TYPE_HOST, VX_READ_ONLY);
    
                if (histogram_desc != NULL)
                {
                    tivxMemBufferUnmap(histogram_target_ptr, histogram_desc->mem_size, VX_MEMORY_TYPE_HOST, VX_READ_ONLY);
                }
    
                if (1 == ae_awb_result_target_ptr->ae_valid)
                {
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.digitalGain = ae_awb_result_target_ptr->digital_gain;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain = ae_awb_result_target_ptr->analog_gain;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime = ae_awb_result_target_ptr->exposure_time;
                }
    
                if (1 == ae_awb_result_target_ptr->awb_valid)
                {
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain = ae_awb_result_target_ptr->wb_gains[rIndex];
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain = (ae_awb_result_target_ptr->wb_gains[grIndex] + ae_awb_result_target_ptr->wb_gains[gbIndex]) / 2;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain = ae_awb_result_target_ptr->wb_gains[bIndex];
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp = ae_awb_result_target_ptr->color_temperature;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.awb_valid = ae_awb_result_target_ptr->awb_valid;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.awb_converged = ae_awb_result_target_ptr->awb_converged;
                }
    
                int max_n = nodePrms->p_ae_params->exposure_program.num_ranges - 1;
                int32_t max_exp_time = nodePrms->p_ae_params->exposure_program.exposure_time_range[max_n].max;
    
                if ((aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.expTime >= max_exp_time) &&
                    (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.analogGain >= 256) &&
                    (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp <= 3300))
                {
    #ifdef LOW_CT
                    int16_t Count = 0;
                    Count = 12 - (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp - 2300) / 100;
                    if (Count >= 12)
                        Count = 12;
                    if (Count >= 12)
                    {
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain = Scene[Count].RG;
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain = 0x200;
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain = Scene[Count].BG;
                    }
                    else
                    {
                        float Step_R = 0.0;
                        float Step_B = 0.0;
                        float CT_Diff = 0.0;
                        Step_R = ((float)Scene[Count].RG - (float)Scene[Count - 1].RG) / 10;
                        Step_B = ((float)Scene[Count - 1].BG - (float)Scene[Count].BG) / 10;
                        CT_Diff = (float)((Scene[Count].CT - aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp) / 10);
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain = Scene[Count].RG - (uint32_t)(Step_R * CT_Diff);
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain = 0x200;
                        aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain = Scene[Count].BG + (uint32_t)(Step_B * CT_Diff);
                        ;
                    }
    #else
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain * 100 / 100;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain = 0x200;
                    aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain * 100 / 100;
    #endif
                }
    
                tivxMutexUnlock(itt_aewb_lock[aewb_config->channel_id]);
    
                nodePrms->sensor_pre_wb_gain = 1;
                if (1 == nodePrms->sensor_pre_wb_gain)
                {
                    IssSensor_WhiteBalanceParams awbPrms;
                    static uint8_t first_send_gain = 1;
                    uint8_t first_send_channel_id;
                    awbPrms.chId = aewb_config->channel_id;
    
                    awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain;
                    awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain;
                    awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain;
                    awbPrms.colorTemp[ISS_SENSOR_EXPOSURE_LONG] = aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.colorTemp;
    
                    if (first_send_gain)
                    {
                        _check_first_send_gain = 6;
                        if (_check_first_send_gain == 6)
                        {
                            _check_first_send_gain = 7;
                        }
    
                        first_send_gain = 0;
                        awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x39e;
                        awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x200;
                        awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x3a0;
    
                        for (first_send_channel_id = 0; first_send_channel_id < 4; first_send_channel_id++)
                        {
                            aewb_config->channel_id = first_send_channel_id;
                            status = sendWbGainToSensor(aewb_config, &awbPrms);
                        }
    
                        aewb_config->channel_id = awbPrms.chId;
                        PRINTB("[first_send_gain] \
    awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    ",
                               awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG]);
                    }
                    else if ((aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.rGain == 0) ||
                             (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.gGain == 0) ||
                             (aewbCtrlPrms[aewb_config->channel_id].aewb2APrms.bGain == 0))
                    {
                        awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x39e;
                        awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x200;
                        awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x3a0;
                        status = sendWbGainToSensor(aewb_config, &awbPrms);
                        PRINTB("[first_send_gain] [else if] \
    awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    ",
                               awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG]);
                    }
                    else
                    {
                        status = sendWbGainToSensor(aewb_config, &awbPrms);
                        PRINTB("[first_send_gain] [else] \
    awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    ",
                               awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG], awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG]);
                    }
    
                    if (0 != status)
                    {
                        VX_PRINT(VX_ZONE_ERROR, "Failed to send AWB results to image sensor \n");
                    }
    
                    memcpy(ae_awb_result_prev_target_ptr, ae_awb_result_target_ptr, sizeof(tivx_ae_awb_params_t));
                    ae_awb_result_target_ptr->wb_gains[0] = 512;
                    ae_awb_result_target_ptr->wb_gains[1] = 512;
                    ae_awb_result_target_ptr->wb_gains[2] = 512;
                    ae_awb_result_target_ptr->wb_gains[3] = 512;
                }
    
                status = sendAewbToViss(viss_channel_id, ae_awb_result_target_ptr);
                if (0 != status)
                {
                    VX_PRINT(VX_ZONE_ERROR, "Failed to send AWB results to VISS node \n");
                }
    
                if (0 == nodePrms->sensor_pre_wb_gain)
                {
                    memcpy(ae_awb_result_prev_target_ptr, ae_awb_result_target_ptr, sizeof(tivx_ae_awb_params_t));
                }
    
                tivxMemBufferUnmap(ae_awb_result_target_ptr,
                                   ae_awb_result_desc->mem_size, VX_MEMORY_TYPE_HOST,
                                   VX_WRITE_ONLY);
            }
    
            VX_PRINT(VX_ZONE_INFO, "tivxAewbProcess returning %d\n", status);
        }
        else
        {
            VX_PRINT(VX_ZONE_ERROR, "tivxAewbProcess returning %d\n", status);
        }
    
        PRINTB(" _check_first_send_gain = [%d]", _check_first_send_gain);
    
        PRINTB(" \
    ==========================================================================================\
    ==========================================================================================\
    ==========================================================================================\
    ");
    
        return status;
    }
    
    
    static vx_status AWB_TI_process(h3a_aewb_paxel_data_t *awb_h3a_res,
                                    awbprm_t *p_awb_params,
                                    tivx_ae_awb_params_t *aewb_prev,
                                    tivx_ae_awb_params_t *aewb_result,
                                    uint8_t channel_id,
                                    uint8_t *scratch_mem,
                                    uint8_t sensor_pre_gain)
    {
        p_awb_params->ti_awb_data_in.frame_data.h3a_res = awb_h3a_res;
        p_awb_params->AWB_ScratchMemory = scratch_mem;
        p_awb_params->ti_awb_data_in.is_face.faces = NULL; // Not supported
        vx_status status = VX_FAILURE;
    
        uint8_t rIndex = (uint8_t)p_awb_params->sen_awb_calc_data->red_index;
        uint8_t grIndex = (uint8_t)p_awb_params->sen_awb_calc_data->green1_index;
        uint8_t gbIndex = (uint8_t)p_awb_params->sen_awb_calc_data->green2_index;
        uint8_t bIndex = (uint8_t)p_awb_params->sen_awb_calc_data->blue_index;
    
        if (1 == sensor_pre_gain)
        {
            uint16_t paxelIndex = 0;
            h3a_aewb_paxel_data_t *h3a_paxel_data;
            awb_frame_data_t *pFrame_data = &(p_awb_params->ti_awb_data_in.frame_data);
    
            int n_pax = pFrame_data->h3a_data_x * pFrame_data->h3a_data_y;
            uint32_t rGain_prev, bGain_prev, gGain_prev;
    
            rGain_prev = aewb_prev->wb_gains[rIndex];
            gGain_prev = (aewb_prev->wb_gains[grIndex] + aewb_prev->wb_gains[gbIndex]) / 2;
            bGain_prev = aewb_prev->wb_gains[bIndex];
    
            if ((rGain_prev == 0) || (gGain_prev == 0) || (bGain_prev == 0))
            {
                rGain_prev = 512;
                gGain_prev = 512;
                bGain_prev = 512;
            }
    
            rGain_prev = ((1 << 19) + (rGain_prev >> 1)) / rGain_prev;
            gGain_prev = ((1 << 19) + (gGain_prev >> 1)) / gGain_prev;
            bGain_prev = ((1 << 19) + (bGain_prev >> 1)) / bGain_prev;
    
            for (paxelIndex = 0; paxelIndex < n_pax; paxelIndex++)
            {
                h3a_paxel_data = &pFrame_data->h3a_res[paxelIndex];
                h3a_paxel_data->red = clipu16(((uint32_t)h3a_paxel_data->red * rGain_prev + 64) >> 6);
                h3a_paxel_data->green = clipu16(((uint32_t)h3a_paxel_data->green * gGain_prev + 64) >> 6);
                h3a_paxel_data->blue = clipu16(((uint32_t)h3a_paxel_data->blue * bGain_prev + 64) >> 6);
            }
        }
    
    static uint32_t  _ti_count = 1;
    
    static uint32_t 
    in_stab_init_cnt_1 = 0, in_stab_gain_R_1 = 0, in_stab_gain_G_1 = 0, in_stab_gain_B_1 = 0, in_stab_color_temp_1 = 0, 
    in_stab_init_cnt_2 = 0, in_stab_gain_R_2 = 0, in_stab_gain_G_2 = 0, in_stab_gain_B_2 = 0, in_stab_color_temp_2 = 0,
    in_stab_init_cnt_3 = 0, in_stab_gain_R_3 = 0, in_stab_gain_G_3 = 0, in_stab_gain_B_3 = 0, in_stab_color_temp_3 = 0,
    in_stab_init_cnt_4 = 0, in_stab_gain_R_4 = 0, in_stab_gain_G_4 = 0, in_stab_gain_B_4 = 0, in_stab_color_temp_4 = 0,
    in_stab_init_cnt_5 = 0, in_stab_gain_R_5 = 0, in_stab_gain_G_5 = 0, in_stab_gain_B_5 = 0, in_stab_color_temp_5 = 0,
    in_stab_init_cnt_6 = 0, in_stab_gain_R_6 = 0, in_stab_gain_G_6 = 0, in_stab_gain_B_6 = 0, in_stab_color_temp_6 = 0;
    
    if(channel_id == 1)
    {
    if( _ti_count == 1)
    {
    in_stab_init_cnt_1 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_1 = p_awb_params->stab_gain_R;
    in_stab_gain_G_1 = p_awb_params->stab_gain_G;
    in_stab_gain_B_1 = p_awb_params->stab_gain_B;
    in_stab_color_temp_1 = p_awb_params->stab_color_temp;
    }
    
    if( _ti_count == 2)
    {
    in_stab_init_cnt_2 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_2 = p_awb_params->stab_gain_R;
    in_stab_gain_G_2 = p_awb_params->stab_gain_G;
    in_stab_gain_B_2 = p_awb_params->stab_gain_B;
    in_stab_color_temp_2 = p_awb_params->stab_color_temp;
    }
    
    if( _ti_count == 3)
    {
    in_stab_init_cnt_3 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_3 = p_awb_params->stab_gain_R;
    in_stab_gain_G_3 = p_awb_params->stab_gain_G;
    in_stab_gain_B_3 = p_awb_params->stab_gain_B;
    in_stab_color_temp_3 = p_awb_params->stab_color_temp;
    }
    
    
    if( _ti_count == 4)
    {
    in_stab_init_cnt_4 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_4 = p_awb_params->stab_gain_R;
    in_stab_gain_G_4 = p_awb_params->stab_gain_G;
    in_stab_gain_B_4 = p_awb_params->stab_gain_B;
    in_stab_color_temp_4 = p_awb_params->stab_color_temp;
    }
    
    if( _ti_count == 5)
    {
    in_stab_init_cnt_5 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_5 = p_awb_params->stab_gain_R;
    in_stab_gain_G_5 = p_awb_params->stab_gain_G;
    in_stab_gain_B_5 = p_awb_params->stab_gain_B;
    in_stab_color_temp_5 = p_awb_params->stab_color_temp;
    }
    
    if( _ti_count == 6)
    {
    in_stab_init_cnt_6 = p_awb_params->stab_init_cnt;
    in_stab_gain_R_6 = p_awb_params->stab_gain_R;
    in_stab_gain_G_6 = p_awb_params->stab_gain_G;
    in_stab_gain_B_6 = p_awb_params->stab_gain_B;
    in_stab_color_temp_6 = p_awb_params->stab_color_temp;
    }
    }
    
    
    printf(" [before TI_AWB_do] \n \
     _ti_count = [%d] \n \
    in_stab_init_cnt_1 = [0x%04x] \n in_stab_gain_R_1 = [0x%04x] \n in_stab_gain_G_1 = [0x%04x] \n in_stab_gain_B_1 = [0x%04x] \n in_stab_color_temp_1 = [0x%04x] \n \
    in_stab_init_cnt_2 = [0x%04x] \n in_stab_gain_R_2 = [0x%04x] \n in_stab_gain_G_2 = [0x%04x] \n in_stab_gain_B_2 = [0x%04x] \n in_stab_color_temp_2 = [0x%04x] \n \
    in_stab_init_cnt_3 = [0x%04x] \n in_stab_gain_R_3 = [0x%04x] \n in_stab_gain_G_3 = [0x%04x] \n in_stab_gain_B_3 = [0x%04x] \n in_stab_color_temp_3 = [0x%04x] \n \
    in_stab_init_cnt_4 = [0x%04x] \n in_stab_gain_R_4 = [0x%04x] \n in_stab_gain_G_4 = [0x%04x] \n in_stab_gain_B_4 = [0x%04x] \n in_stab_color_temp_4 = [0x%04x] \n \
    in_stab_init_cnt_5 = [0x%04x] \n in_stab_gain_R_5 = [0x%04x] \n in_stab_gain_G_5 = [0x%04x] \n in_stab_gain_B_5 = [0x%04x] \n in_stab_color_temp_5 = [0x%04x] \n \
    in_stab_init_cnt_6 = [0x%04x] \n in_stab_gain_R_6 = [0x%04x] \n in_stab_gain_G_6 = [0x%04x] \n in_stab_gain_B_6 = [0x%04x] \n in_stab_color_temp_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , in_stab_init_cnt_1 , in_stab_gain_R_1 , in_stab_gain_G_1 , in_stab_gain_B_1 , in_stab_color_temp_1 \
    , in_stab_init_cnt_2 , in_stab_gain_R_2 , in_stab_gain_G_2 , in_stab_gain_B_2 , in_stab_color_temp_2 \
    , in_stab_init_cnt_3 , in_stab_gain_R_3 , in_stab_gain_G_3 , in_stab_gain_B_3 , in_stab_color_temp_3 \
    , in_stab_init_cnt_4 , in_stab_gain_R_4 , in_stab_gain_G_4 , in_stab_gain_B_4 , in_stab_color_temp_4 \
    , in_stab_init_cnt_5 , in_stab_gain_R_5 , in_stab_gain_G_5 , in_stab_gain_B_5 , in_stab_color_temp_5 \
    , in_stab_init_cnt_6 , in_stab_gain_R_6 , in_stab_gain_G_6 , in_stab_gain_B_6 , in_stab_color_temp_6 );
    
    
    static uint32_t 
    out_stab_init_cnt_1 = 0, out_stab_gain_R_1 = 0, out_stab_gain_G_1 = 0, out_stab_gain_B_1 = 0, out_stab_color_temp_1 = 0, 
    out_stab_init_cnt_2 = 0, out_stab_gain_R_2 = 0, out_stab_gain_G_2 = 0, out_stab_gain_B_2 = 0, out_stab_color_temp_2 = 0,
    out_stab_init_cnt_3 = 0, out_stab_gain_R_3 = 0, out_stab_gain_G_3 = 0, out_stab_gain_B_3 = 0, out_stab_color_temp_3 = 0,
    out_stab_init_cnt_4 = 0, out_stab_gain_R_4 = 0, out_stab_gain_G_4 = 0, out_stab_gain_B_4 = 0, out_stab_color_temp_4 = 0,
    out_stab_init_cnt_5 = 0, out_stab_gain_R_5 = 0, out_stab_gain_G_5 = 0, out_stab_gain_B_5 = 0, out_stab_color_temp_5 = 0,
    out_stab_init_cnt_6 = 0, out_stab_gain_R_6 = 0, out_stab_gain_G_6 = 0, out_stab_gain_B_6 = 0, out_stab_color_temp_6 = 0;
    
    static uint16_t do_gain_Gr_1 = 0, do_gain_R_1 = 0, do_gain_Gb_1 = 0, do_gain_B_1 = 0, do_SB_count_1 = 0;
    static uint8_t  do_awb_idx_1 = 0;
    static uint32_t do_color_temperature_estim_1 = 0;
    
    static uint16_t do_gain_Gr_2 = 0, do_gain_R_2 = 0, do_gain_Gb_2 = 0, do_gain_B_2 = 0, do_SB_count_2 = 0;
    static uint8_t  do_awb_idx_2 = 0;
    static uint32_t do_color_temperature_estim_2 = 0;
    
    static uint16_t do_gain_Gr_3 = 0, do_gain_R_3 = 0, do_gain_Gb_3 = 0, do_gain_B_3 = 0, do_SB_count_3 = 0;
    static uint8_t  do_awb_idx_3 = 0;
    static uint32_t do_color_temperature_estim_3 = 0;
    
    static uint16_t do_gain_Gr_4 = 0, do_gain_R_4 = 0, do_gain_Gb_4 = 0, do_gain_B_4 = 0, do_SB_count_4 = 0;
    static uint8_t  do_awb_idx_4 = 0;
    static uint32_t do_color_temperature_estim_4 = 0;
    
    static uint16_t do_gain_Gr_5 = 0, do_gain_R_5 = 0, do_gain_Gb_5 = 0, do_gain_B_5 = 0, do_SB_count_5 = 0;
    static uint8_t  do_awb_idx_5 = 0;
    static uint32_t do_color_temperature_estim_5 = 0;
    
    static uint16_t do_gain_Gr_6 = 0, do_gain_R_6 = 0, do_gain_Gb_6 = 0, do_gain_B_6 = 0, do_SB_count_6 = 0;
    static uint8_t  do_awb_idx_6 = 0;
    static uint32_t do_color_temperature_estim_6 = 0;
    
    
    static uint16_t 
    stab_gain_Gr_1 = 0, stab_gain_R_1 = 0, stab_gain_Gb_1 = 0, stab_gain_B_1 = 0,
    stab_gain_Gr_2 = 0, stab_gain_R_2 = 0, stab_gain_Gb_2 = 0, stab_gain_B_2 = 0,
    stab_gain_Gr_3 = 0, stab_gain_R_3 = 0, stab_gain_Gb_3 = 0, stab_gain_B_3 = 0,
    stab_gain_Gr_4 = 0, stab_gain_R_4 = 0, stab_gain_Gb_4 = 0, stab_gain_B_4 = 0,
    stab_gain_Gr_5 = 0, stab_gain_R_5 = 0, stab_gain_Gb_5 = 0, stab_gain_B_5 = 0,
    stab_gain_Gr_6 = 0, stab_gain_R_6 = 0, stab_gain_Gb_6 = 0, stab_gain_B_6 = 0;
    
    static uint32_t
    wb_gains_rIndex_1 = 0, wb_gains_grIndex_1 = 0, wb_gains_gbIndex_1 = 0, wb_gains_bIndex_1 = 0,
    wb_gains_rIndex_2 = 0, wb_gains_grIndex_2 = 0, wb_gains_gbIndex_2 = 0, wb_gains_bIndex_2 = 0,
    wb_gains_rIndex_3 = 0, wb_gains_grIndex_3 = 0, wb_gains_gbIndex_3 = 0, wb_gains_bIndex_3 = 0,
    wb_gains_rIndex_4 = 0, wb_gains_grIndex_4 = 0, wb_gains_gbIndex_4 = 0, wb_gains_bIndex_4 = 0,
    wb_gains_rIndex_5 = 0, wb_gains_grIndex_5 = 0, wb_gains_gbIndex_5 = 0, wb_gains_bIndex_5 = 0,
    wb_gains_rIndex_6 = 0, wb_gains_grIndex_6 = 0, wb_gains_gbIndex_6 = 0, wb_gains_bIndex_6 = 0;
    
    static uint32_t
    cal_wb_gains_rIndex_1 = 0, cal_wb_gains_grIndex_1 = 0, cal_wb_gains_gbIndex_1 = 0, cal_wb_gains_bIndex_1 = 0,
    cal_wb_gains_rIndex_2 = 0, cal_wb_gains_grIndex_2 = 0, cal_wb_gains_gbIndex_2 = 0, cal_wb_gains_bIndex_2 = 0,
    cal_wb_gains_rIndex_3 = 0, cal_wb_gains_grIndex_3 = 0, cal_wb_gains_gbIndex_3 = 0, cal_wb_gains_bIndex_3 = 0,
    cal_wb_gains_rIndex_4 = 0, cal_wb_gains_grIndex_4 = 0, cal_wb_gains_gbIndex_4 = 0, cal_wb_gains_bIndex_4 = 0,
    cal_wb_gains_rIndex_5 = 0, cal_wb_gains_grIndex_5 = 0, cal_wb_gains_gbIndex_5 = 0, cal_wb_gains_bIndex_5 = 0,
    cal_wb_gains_rIndex_6 = 0, cal_wb_gains_grIndex_6 = 0, cal_wb_gains_gbIndex_6 = 0, cal_wb_gains_bIndex_6 = 0;
    
        awb_data_out_t awb_data_out;
        TI_AWB_ERROR awbStatus = TI_AWB_ERROR_OK;
        awbStatus = TI_AWB_do(p_awb_params, &awb_data_out);
        if (TI_AWB_ERROR_OK == awbStatus)
        {
    /****************************************/
    
    if(channel_id == 1)
    {
    if( _ti_count == 1)
    {
    out_stab_init_cnt_1 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_1 = p_awb_params->stab_gain_R;
    out_stab_gain_G_1 = p_awb_params->stab_gain_G;
    out_stab_gain_B_1 = p_awb_params->stab_gain_B;
    out_stab_color_temp_1 = p_awb_params->stab_color_temp;
    
                    do_gain_Gr_1 = awb_data_out.gain_Gr;
                     do_gain_R_1 = awb_data_out.gain_R;
                    do_gain_Gb_1 = awb_data_out.gain_Gb;
                     do_gain_B_1 = awb_data_out.gain_B;
                    do_awb_idx_1 = awb_data_out.awb_idx;
    do_color_temperature_estim_1 = awb_data_out.color_temperature_estim;
                   do_SB_count_1 = awb_data_out.SB_count;
    }
    
    if( _ti_count == 2)
    {
    out_stab_init_cnt_2 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_2 = p_awb_params->stab_gain_R;
    out_stab_gain_G_2 = p_awb_params->stab_gain_G;
    out_stab_gain_B_2 = p_awb_params->stab_gain_B;
    out_stab_color_temp_2 = p_awb_params->stab_color_temp;
    
    
                    do_gain_Gr_2 = awb_data_out.gain_Gr;
                     do_gain_R_2 = awb_data_out.gain_R;
                    do_gain_Gb_2 = awb_data_out.gain_Gb;
                     do_gain_B_2 = awb_data_out.gain_B;
                    do_awb_idx_2 = awb_data_out.awb_idx;
    do_color_temperature_estim_2 = awb_data_out.color_temperature_estim;
                   do_SB_count_2 = awb_data_out.SB_count;
    }
    
    if( _ti_count == 3)
    {
    out_stab_init_cnt_3 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_3 = p_awb_params->stab_gain_R;
    out_stab_gain_G_3 = p_awb_params->stab_gain_G;
    out_stab_gain_B_3 = p_awb_params->stab_gain_B;
    out_stab_color_temp_3 = p_awb_params->stab_color_temp;
    
                    do_gain_Gr_3 = awb_data_out.gain_Gr;
                     do_gain_R_3 = awb_data_out.gain_R;
                    do_gain_Gb_3 = awb_data_out.gain_Gb;
                     do_gain_B_3 = awb_data_out.gain_B;
                    do_awb_idx_3 = awb_data_out.awb_idx;
    do_color_temperature_estim_3 = awb_data_out.color_temperature_estim;
                   do_SB_count_3 = awb_data_out.SB_count;
    }
    
    
    if( _ti_count == 4)
    {
    out_stab_init_cnt_4 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_4 = p_awb_params->stab_gain_R;
    out_stab_gain_G_4 = p_awb_params->stab_gain_G;
    out_stab_gain_B_4 = p_awb_params->stab_gain_B;
    out_stab_color_temp_4 = p_awb_params->stab_color_temp;
    
                    do_gain_Gr_4 = awb_data_out.gain_Gr;
                     do_gain_R_4 = awb_data_out.gain_R;
                    do_gain_Gb_4 = awb_data_out.gain_Gb;
                     do_gain_B_4 = awb_data_out.gain_B;
                    do_awb_idx_4 = awb_data_out.awb_idx;
    do_color_temperature_estim_4 = awb_data_out.color_temperature_estim;
                   do_SB_count_4 = awb_data_out.SB_count;
    }
    
    if( _ti_count == 5)
    {
    out_stab_init_cnt_5 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_5 = p_awb_params->stab_gain_R;
    out_stab_gain_G_5 = p_awb_params->stab_gain_G;
    out_stab_gain_B_5 = p_awb_params->stab_gain_B;
    out_stab_color_temp_5 = p_awb_params->stab_color_temp;
    
                    do_gain_Gr_5 = awb_data_out.gain_Gr;
                     do_gain_R_5 = awb_data_out.gain_R;
                    do_gain_Gb_5 = awb_data_out.gain_Gb;
                     do_gain_B_5 = awb_data_out.gain_B;
                    do_awb_idx_5 = awb_data_out.awb_idx;
    do_color_temperature_estim_5 = awb_data_out.color_temperature_estim;
                   do_SB_count_5 = awb_data_out.SB_count;
    }
    
    if( _ti_count == 6)
    {
    out_stab_init_cnt_6 = p_awb_params->stab_init_cnt;
    out_stab_gain_R_6 = p_awb_params->stab_gain_R;
    out_stab_gain_G_6 = p_awb_params->stab_gain_G;
    out_stab_gain_B_6 = p_awb_params->stab_gain_B;
    out_stab_color_temp_6 = p_awb_params->stab_color_temp;
    
                    do_gain_Gr_6 = awb_data_out.gain_Gr;
                     do_gain_R_6 = awb_data_out.gain_R;
                    do_gain_Gb_6 = awb_data_out.gain_Gb;
                     do_gain_B_6 = awb_data_out.gain_B;
                    do_awb_idx_6 = awb_data_out.awb_idx;
    do_color_temperature_estim_6 = awb_data_out.color_temperature_estim;
                   do_SB_count_6 = awb_data_out.SB_count;
    }
    
    }
    
    /***************************************/
            TI_AWB_stab(p_awb_params, &awb_data_out);
            aewb_result->wb_gains[rIndex]  = awb_data_out.gain_R << 1;
            aewb_result->wb_gains[grIndex] = awb_data_out.gain_Gr << 1;
            aewb_result->wb_gains[gbIndex] = awb_data_out.gain_Gb << 1;
            aewb_result->wb_gains[bIndex]  = awb_data_out.gain_B << 1;
    
    
    
    
    if(channel_id == 1)
    {
    if( _ti_count == 1)
    {
                    stab_gain_Gr_1 = awb_data_out.gain_Gr;
                    stab_gain_R_1 = awb_data_out.gain_R;
                    stab_gain_Gb_1 = awb_data_out.gain_Gb;
                    stab_gain_B_1 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_1 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_1 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_1 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_1 = aewb_result->wb_gains[bIndex] ;
    
    }
    
    if( _ti_count == 2)
    {
                    stab_gain_Gr_2 = awb_data_out.gain_Gr;
                    stab_gain_R_2 = awb_data_out.gain_R;
                    stab_gain_Gb_2 = awb_data_out.gain_Gb;
                    stab_gain_B_2 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_2 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_2 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_2 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_2 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 3)
    {
                    stab_gain_Gr_3 = awb_data_out.gain_Gr;
                    stab_gain_R_3 = awb_data_out.gain_R;
                    stab_gain_Gb_3 = awb_data_out.gain_Gb;
                    stab_gain_B_3 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_3 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_3 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_3 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_3 = aewb_result->wb_gains[bIndex] ;
    }
    
    
    if( _ti_count == 4)
    {
                    stab_gain_Gr_4 = awb_data_out.gain_Gr;
                    stab_gain_R_4 = awb_data_out.gain_R;
                    stab_gain_Gb_4 = awb_data_out.gain_Gb;
                    stab_gain_B_4 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_4 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_4 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_4 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_4 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 5)
    {
                    stab_gain_Gr_5 = awb_data_out.gain_Gr;
                    stab_gain_R_5 = awb_data_out.gain_R;
                    stab_gain_Gb_5 = awb_data_out.gain_Gb;
                    stab_gain_B_5 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_5 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_5 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_5 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_5 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 6)
    {
                    stab_gain_Gr_6 = awb_data_out.gain_Gr;
                    stab_gain_R_6 = awb_data_out.gain_R;
                    stab_gain_Gb_6 = awb_data_out.gain_Gb;
                    stab_gain_B_6 = awb_data_out.gain_B;
    
                     wb_gains_rIndex_6 = aewb_result->wb_gains[rIndex] ;
                    wb_gains_grIndex_6 = aewb_result->wb_gains[grIndex];
                    wb_gains_gbIndex_6 = aewb_result->wb_gains[gbIndex];
                     wb_gains_bIndex_6 = aewb_result->wb_gains[bIndex] ;
    }
    
    }
    
            aewb_result->wb_offsets[rIndex] = 0;
            aewb_result->wb_offsets[grIndex] = 0;
            aewb_result->wb_offsets[gbIndex] = 0;
            aewb_result->wb_offsets[bIndex] = 0;
    
            aewb_result->color_temperature = awb_data_out.color_temperature_estim;
    
            T_WB AWB_Cal[37] =
                {
                    {15000, 0x4E8, 0x1F9},
                    {13000, 0x4D6, 0x20C},
                    {11500, 0x4C4, 0x21F},
                    {10500, 0x4B1, 0x233},
                    {9500, 0x49D, 0x249},
                    {8700, 0x488, 0x25F},
                    {8000, 0x473, 0x275},
                    {7500, 0x45E, 0x28D},
                    {7000, 0x448, 0x2A5},
                    {6500, 0x432, 0x2BE},
                    {6100, 0x41C, 0x2D8},
                    {5800, 0x406, 0x2F2},
                    {5500, 0x3F0, 0x30C},
                    {5300, 0x3DA, 0x328},
                    {5000, 0x3C4, 0x343},
                    {4800, 0x3AE, 0x35F},
                    {4600, 0x399, 0x37B},
                    {4400, 0x383, 0x398},
                    {4200, 0x36E, 0x3B5},
                    {4000, 0x359, 0x3D2},
                    {3900, 0x345, 0x3F0},
                    {3800, 0x331, 0x40E},
                    {3700, 0x326, 0x41C},
                    {3600, 0x31C, 0x42C},
                    {3500, 0x309, 0x44A},
                    {3400, 0x2F5, 0x468},
                    {3300, 0x2E2, 0x487},
                    {3200, 0x2D0, 0x4A6},
                    {3100, 0x2BD, 0x4C5},
                    {3000, 0x2AB, 0x4E4},
                    {2900, 0x29A, 0x503},
                    {2800, 0x280, 0x531},
                    {2700, 0x267, 0x561},
                    {2600, 0x251, 0x58B},
                    {2500, 0x23C, 0X5B2},
                    {2400, 0x220, 0x70A},
                    {2300, 0x202, 0x743},
    
                };
            if (aewb_result->wb_gains[grIndex] != 0x200 || aewb_result->wb_gains[gbIndex] != 0x200)
            {
                int Loop = 0;
                float Awb_r, Awb_b;
                Awb_r = Awb_b = 0.0;
                for (Loop = 1; Loop < 37; Loop++)
                {
                    if ((AWB_Cal[Loop].CT < aewb_result->color_temperature) && (AWB_Cal[Loop - 1].CT > aewb_result->color_temperature))
                    {
                        break;
                    }
                    Awb_r = ((float)AWB_Cal[Loop].RG) + (((float)AWB_Cal[Loop - 1].RG - (float)AWB_Cal[Loop].RG) / ((float)AWB_Cal[Loop - 1].CT - (float)AWB_Cal[Loop].CT) * ((float)(aewb_result->color_temperature) - (float)AWB_Cal[Loop].CT));
                    Awb_b = ((float)AWB_Cal[Loop].BG) - (((float)AWB_Cal[Loop].BG - (float)AWB_Cal[Loop - 1].BG) / ((float)AWB_Cal[Loop - 1].CT - (float)AWB_Cal[Loop].CT) * ((float)(aewb_result->color_temperature) - (float)AWB_Cal[Loop].CT));
                    aewb_result->wb_gains[gbIndex] = 0x200;
                    aewb_result->wb_gains[grIndex] = 0x200;
                    aewb_result->wb_gains[rIndex] = Awb_r;
                    aewb_result->wb_gains[bIndex] = Awb_b;
                }
            }
    
    
    if(channel_id == 1)
    {
    if( _ti_count == 1)
    {
    cal_wb_gains_rIndex_1 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_1 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_1 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_1 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 2)
    {
    cal_wb_gains_rIndex_2 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_2 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_2 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_2 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 3)
    {
    cal_wb_gains_rIndex_3 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_3 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_3 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_3 = aewb_result->wb_gains[bIndex] ;
    }
    
    
    if( _ti_count == 4)
    {
    cal_wb_gains_rIndex_4 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_4 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_4 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_4 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 5)
    {
    cal_wb_gains_rIndex_5 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_5 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_5 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_5 = aewb_result->wb_gains[bIndex] ;
    }
    
    if( _ti_count == 6)
    {
    cal_wb_gains_rIndex_6 = aewb_result->wb_gains[rIndex] ;
    cal_wb_gains_grIndex_6 = aewb_result->wb_gains[grIndex];
    cal_wb_gains_gbIndex_6 = aewb_result->wb_gains[gbIndex];
    cal_wb_gains_bIndex_6 = aewb_result->wb_gains[bIndex] ;
    }
    
    }
    
            aewb_result->awb_valid = 1;
            status = VX_SUCCESS;
        }
        else
        {
            aewb_result->awb_valid = 0;
            VX_PRINT(VX_ZONE_ERROR, "TI_AWB_do Returned error %d \n", awbStatus);
            status = VX_FAILURE;
        }
    
    
    
    /************************************************************************************************************************************/
    // TI_AWB_do output: p_awb_params data
    PRINTB(" [after TI_AWB_do] [p_awb_params] \n \
     _ti_count = [%d] \n \
    out_stab_init_cnt_1 = [0x%04x] \n out_stab_gain_R_1 = [0x%04x] \n out_stab_gain_G_1 = [0x%04x] \n out_stab_gain_B_1 = [0x%04x] \n out_stab_color_temp_1 = [0x%04x] \n \
    out_stab_init_cnt_2 = [0x%04x] \n out_stab_gain_R_2 = [0x%04x] \n out_stab_gain_G_2 = [0x%04x] \n out_stab_gain_B_2 = [0x%04x] \n out_stab_color_temp_2 = [0x%04x] \n \
    out_stab_init_cnt_3 = [0x%04x] \n out_stab_gain_R_3 = [0x%04x] \n out_stab_gain_G_3 = [0x%04x] \n out_stab_gain_B_3 = [0x%04x] \n out_stab_color_temp_3 = [0x%04x] \n \
    out_stab_init_cnt_4 = [0x%04x] \n out_stab_gain_R_4 = [0x%04x] \n out_stab_gain_G_4 = [0x%04x] \n out_stab_gain_B_4 = [0x%04x] \n out_stab_color_temp_4 = [0x%04x] \n \
    out_stab_init_cnt_5 = [0x%04x] \n out_stab_gain_R_5 = [0x%04x] \n out_stab_gain_G_5 = [0x%04x] \n out_stab_gain_B_5 = [0x%04x] \n out_stab_color_temp_5 = [0x%04x] \n \
    out_stab_init_cnt_6 = [0x%04x] \n out_stab_gain_R_6 = [0x%04x] \n out_stab_gain_G_6 = [0x%04x] \n out_stab_gain_B_6 = [0x%04x] \n out_stab_color_temp_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , out_stab_init_cnt_1 , out_stab_gain_R_1 , out_stab_gain_G_1 , out_stab_gain_B_1 , out_stab_color_temp_1 \
    , out_stab_init_cnt_2 , out_stab_gain_R_2 , out_stab_gain_G_2 , out_stab_gain_B_2 , out_stab_color_temp_2 \
    , out_stab_init_cnt_3 , out_stab_gain_R_3 , out_stab_gain_G_3 , out_stab_gain_B_3 , out_stab_color_temp_3 \
    , out_stab_init_cnt_4 , out_stab_gain_R_4 , out_stab_gain_G_4 , out_stab_gain_B_4 , out_stab_color_temp_4 \
    , out_stab_init_cnt_5 , out_stab_gain_R_5 , out_stab_gain_G_5 , out_stab_gain_B_5 , out_stab_color_temp_5 \
    , out_stab_init_cnt_6 , out_stab_gain_R_6 , out_stab_gain_G_6 , out_stab_gain_B_6 , out_stab_color_temp_6 \
    );
    
    /*************************************************************************************************************/
    // TI_AWB_do output: awb_data_out data
    PRINTB("[after TI_AWB_do] [awb_data_out] \n \
     _ti_count = [%d] \n \
    do_gain_Gr_1 = [0x%04x] \n do_gain_R_1 = [0x%04x] \n do_gain_Gb_1 = [0x%04x] \n do_gain_B_1 = [0x%04x] \n do_awb_idx_1 = [0x%04x] \n do_color_temperature_estim_1 = [0x%04x] \n do_SB_count_1 = [0x%04x] \n \
    do_gain_Gr_2 = [0x%04x] \n do_gain_R_2 = [0x%04x] \n do_gain_Gb_2 = [0x%04x] \n do_gain_B_2 = [0x%04x] \n do_awb_idx_2 = [0x%04x] \n do_color_temperature_estim_2 = [0x%04x] \n do_SB_count_2 = [0x%04x] \n \
    do_gain_Gr_3 = [0x%04x] \n do_gain_R_3 = [0x%04x] \n do_gain_Gb_3 = [0x%04x] \n do_gain_B_3 = [0x%04x] \n do_awb_idx_3 = [0x%04x] \n do_color_temperature_estim_3 = [0x%04x] \n do_SB_count_3 = [0x%04x] \n \
    do_gain_Gr_4 = [0x%04x] \n do_gain_R_4 = [0x%04x] \n do_gain_Gb_4 = [0x%04x] \n do_gain_B_4 = [0x%04x] \n do_awb_idx_4 = [0x%04x] \n do_color_temperature_estim_4 = [0x%04x] \n do_SB_count_4 = [0x%04x] \n \
    do_gain_Gr_5 = [0x%04x] \n do_gain_R_5 = [0x%04x] \n do_gain_Gb_5 = [0x%04x] \n do_gain_B_5 = [0x%04x] \n do_awb_idx_5 = [0x%04x] \n do_color_temperature_estim_5 = [0x%04x] \n do_SB_count_5 = [0x%04x] \n \
    do_gain_Gr_6 = [0x%04x] \n do_gain_R_6 = [0x%04x] \n do_gain_Gb_6 = [0x%04x] \n do_gain_B_6 = [0x%04x] \n do_awb_idx_6 = [0x%04x] \n do_color_temperature_estim_6 = [0x%04x] \n do_SB_count_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , do_gain_Gr_1 , do_gain_R_1 , do_gain_Gb_1 , do_gain_B_1 , do_awb_idx_1 , do_color_temperature_estim_1 , do_SB_count_1 \
    , do_gain_Gr_2 , do_gain_R_2 , do_gain_Gb_2 , do_gain_B_2 , do_awb_idx_2 , do_color_temperature_estim_2 , do_SB_count_2 \
    , do_gain_Gr_3 , do_gain_R_3 , do_gain_Gb_3 , do_gain_B_3 , do_awb_idx_3 , do_color_temperature_estim_3 , do_SB_count_3 \
    , do_gain_Gr_4 , do_gain_R_4 , do_gain_Gb_4 , do_gain_B_4 , do_awb_idx_4 , do_color_temperature_estim_4 , do_SB_count_4 \
    , do_gain_Gr_5 , do_gain_R_5 , do_gain_Gb_5 , do_gain_B_5 , do_awb_idx_5 , do_color_temperature_estim_5 , do_SB_count_5 \
    , do_gain_Gr_6 , do_gain_R_6 , do_gain_Gb_6 , do_gain_B_6 , do_awb_idx_6 , do_color_temperature_estim_6 , do_SB_count_6 \
    );
    
    /*************************************************************************************************************/
    // TI_AWB_stab ouput: awb_data_out data (never shifting)
    PRINTB("[after TI_AWB_stab] [awb_data_out] \n \
     _ti_count = [%d] \n \
    stab_gain_Gr_1 = [0x%04x] \n stab_gain_R_1 = [0x%04x] \n stab_gain_Gb_1 = [0x%04x] \n stab_gain_B_1 = [0x%04x] \n \
    stab_gain_Gr_2 = [0x%04x] \n stab_gain_R_2 = [0x%04x] \n stab_gain_Gb_2 = [0x%04x] \n stab_gain_B_2 = [0x%04x] \n \
    stab_gain_Gr_3 = [0x%04x] \n stab_gain_R_3 = [0x%04x] \n stab_gain_Gb_3 = [0x%04x] \n stab_gain_B_3 = [0x%04x] \n \
    stab_gain_Gr_4 = [0x%04x] \n stab_gain_R_4 = [0x%04x] \n stab_gain_Gb_4 = [0x%04x] \n stab_gain_B_4 = [0x%04x] \n \
    stab_gain_Gr_5 = [0x%04x] \n stab_gain_R_5 = [0x%04x] \n stab_gain_Gb_5 = [0x%04x] \n stab_gain_B_5 = [0x%04x] \n \
    stab_gain_Gr_6 = [0x%04x] \n stab_gain_R_6 = [0x%04x] \n stab_gain_Gb_6 = [0x%04x] \n stab_gain_B_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , stab_gain_Gr_1 , stab_gain_R_1 , stab_gain_Gb_1 , stab_gain_B_1 \
    , stab_gain_Gr_2 , stab_gain_R_2 , stab_gain_Gb_2 , stab_gain_B_2 \
    , stab_gain_Gr_3 , stab_gain_R_3 , stab_gain_Gb_3 , stab_gain_B_3 \
    , stab_gain_Gr_4 , stab_gain_R_4 , stab_gain_Gb_4 , stab_gain_B_4 \
    , stab_gain_Gr_5 , stab_gain_R_5 , stab_gain_Gb_5 , stab_gain_B_5 \
    , stab_gain_Gr_6 , stab_gain_R_6 , stab_gain_Gb_6 , stab_gain_B_6 \
    );
    
    /*************************************************************************************************************/
    //TI_AWB_stab output: aewb_result data (after shifting)
    PRINTB("[after TI_AWB_stab] [aewb_result] \n \
     _ti_count = [%d] \n \
    wb_gains_rIndex_1 = [0x%04x] \n wb_gains_grIndex_1 = [0x%04x] \n wb_gains_gbIndex_1 = [0x%04x] \n wb_gains_bIndex_1 = [0x%04x] \n \
    wb_gains_rIndex_2 = [0x%04x] \n wb_gains_grIndex_2 = [0x%04x] \n wb_gains_gbIndex_2 = [0x%04x] \n wb_gains_bIndex_2 = [0x%04x] \n \
    wb_gains_rIndex_3 = [0x%04x] \n wb_gains_grIndex_3 = [0x%04x] \n wb_gains_gbIndex_3 = [0x%04x] \n wb_gains_bIndex_3 = [0x%04x] \n \
    wb_gains_rIndex_4 = [0x%04x] \n wb_gains_grIndex_4 = [0x%04x] \n wb_gains_gbIndex_4 = [0x%04x] \n wb_gains_bIndex_4 = [0x%04x] \n \
    wb_gains_rIndex_5 = [0x%04x] \n wb_gains_grIndex_5 = [0x%04x] \n wb_gains_gbIndex_5 = [0x%04x] \n wb_gains_bIndex_5 = [0x%04x] \n \
    wb_gains_rIndex_6 = [0x%04x] \n wb_gains_grIndex_6 = [0x%04x] \n wb_gains_gbIndex_6 = [0x%04x] \n wb_gains_bIndex_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , wb_gains_rIndex_1 , wb_gains_grIndex_1 , wb_gains_gbIndex_1 , wb_gains_bIndex_1 \
    , wb_gains_rIndex_2 , wb_gains_grIndex_2 , wb_gains_gbIndex_2 , wb_gains_bIndex_2 \
    , wb_gains_rIndex_3 , wb_gains_grIndex_3 , wb_gains_gbIndex_3 , wb_gains_bIndex_3 \
    , wb_gains_rIndex_4 , wb_gains_grIndex_4 , wb_gains_gbIndex_4 , wb_gains_bIndex_4 \
    , wb_gains_rIndex_5 , wb_gains_grIndex_5 , wb_gains_gbIndex_5 , wb_gains_bIndex_5 \
    , wb_gains_rIndex_6 , wb_gains_grIndex_6 , wb_gains_gbIndex_6 , wb_gains_bIndex_6 \
    );
    
    // aewb_result data
    PRINTB("[after algorithem] \n \
     _ti_count = [%d] \n \
    cal_wb_gains_rIndex_1 = [0x%04x] \n cal_wb_gains_grIndex_1 = [0x%04x] \n cal_wb_gains_gbIndex_1 = [0x%04x] \n cal_wb_gains_bIndex_1 = [0x%04x] \n \
    cal_wb_gains_rIndex_2 = [0x%04x] \n cal_wb_gains_grIndex_2 = [0x%04x] \n cal_wb_gains_gbIndex_2 = [0x%04x] \n cal_wb_gains_bIndex_2 = [0x%04x] \n \
    cal_wb_gains_rIndex_3 = [0x%04x] \n cal_wb_gains_grIndex_3 = [0x%04x] \n cal_wb_gains_gbIndex_3 = [0x%04x] \n cal_wb_gains_bIndex_3 = [0x%04x] \n \
    cal_wb_gains_rIndex_4 = [0x%04x] \n cal_wb_gains_grIndex_4 = [0x%04x] \n cal_wb_gains_gbIndex_4 = [0x%04x] \n cal_wb_gains_bIndex_4 = [0x%04x] \n \
    cal_wb_gains_rIndex_5 = [0x%04x] \n cal_wb_gains_grIndex_5 = [0x%04x] \n cal_wb_gains_gbIndex_5 = [0x%04x] \n cal_wb_gains_bIndex_5 = [0x%04x] \n \
    cal_wb_gains_rIndex_6 = [0x%04x] \n cal_wb_gains_grIndex_6 = [0x%04x] \n cal_wb_gains_gbIndex_6 = [0x%04x] \n cal_wb_gains_bIndex_6 = [0x%04x] \n \
    " \
    ,  _ti_count \
    , cal_wb_gains_rIndex_1 , cal_wb_gains_grIndex_1 , cal_wb_gains_gbIndex_1 , cal_wb_gains_bIndex_1 \
    , cal_wb_gains_rIndex_2 , cal_wb_gains_grIndex_2 , cal_wb_gains_gbIndex_2 , cal_wb_gains_bIndex_2 \
    , cal_wb_gains_rIndex_3 , cal_wb_gains_grIndex_3 , cal_wb_gains_gbIndex_3 , cal_wb_gains_bIndex_3 \
    , cal_wb_gains_rIndex_4 , cal_wb_gains_grIndex_4 , cal_wb_gains_gbIndex_4 , cal_wb_gains_bIndex_4 \
    , cal_wb_gains_rIndex_5 , cal_wb_gains_grIndex_5 , cal_wb_gains_gbIndex_5 , cal_wb_gains_bIndex_5 \
    , cal_wb_gains_rIndex_6 , cal_wb_gains_grIndex_6 , cal_wb_gains_gbIndex_6 , cal_wb_gains_bIndex_6 \
    );
    
    
    if(channel_id == 1) {  _ti_count++; }/***********************************************************************/
        p_awb_params->AWB_ScratchMemory = NULL;
    
        return status;
    }

  • Hi,

    status = AWB_TI_process(nodePrms->p_h3a_merge, nodePrms->p_awb_params, ae_awb_result_prev_target_ptr, ae_awb_result_target_ptr, nodePrms->awb_scratch_memory, nodePrms->sensor_pre_wb_gain);
    
    

    This is where AWB is called.
    We would need to check if any initial values are wrong (including if "sensor_pre_wb_gain" matches sensor initial values).

    You mentioned the issue happened only with a special unit, please see if you can get all data and initial values that test unit.

  • The code you provide does not match the log you provided in the attached above. 

    The log you provided:

    The code you attached:

    Are you sure this is the code running on the hardware with purple problem?

    As you said changing a "Vehicle Domain Controller" solves the problem, Are you sure both "Vehicle Domain Controller" runs the same code?

    What is the color temperature during the purple problem? If it is the same from the start to the end (the color return to normal), the problem will lies in the initial settings of awb. 

    I suggest you debug the problem with CCS in debug mode to find out the problem. CCS debug guide: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/09_00_00_02/exports/docs/psdk_rtos/docs/user_guide/ccs_setup_j721e.html

  • Hi, Adam Hua

    • "The code you provide does not match the log you provided in the attached above. "

    I didn't post the definition of PRINTB when I attach the code, sorry about that.

    #define TAG_B ""
    #define PRINTB(format, args...) \
        printf(TAG_B "[%s] " format "\n", __func__, ##args)
    

    • "Are you sure this is the code running on the hardware with purple problem?" & "As you said changing a "Vehicle Domain Controller" solves the problem, Are you sure both "Vehicle Domain Controller" runs the same code?"

      Yes, It happens in a single device, we got the problem device from the factory, and code is the same one. The problem is 100% occured in the problem device, and we need to know why is that from software.

    • What is the color temperature during the purple problem? If it is the same from the start to the end (the color return to normal), the problem will lies in the initial settings of awb. "

    There is an abnormal purple screen board, the initial color temperature value is very large(in any color temperature), the problem gain just show up  a little while in the start up, and there will be a change process. I posted the full log of the exception board below.

    ==============current system time: Thu Jan  1 00:00:07 1970==============
    [MCU2_0]      1.774044 s: CIO: Init ... Done !!!
    [MCU2_0]      1.774118 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>
    [MCU2_0]      1.774160 s: APP: Init ... !!!
    [MCU2_0]      1.774181 s: 
    [MCU2_0]      1.774196 s: MCU2_0 VERSION INFO
    [MCU2_0]      1.774215 s: =======================
    [MCU2_0]      1.774233 s: 
    [MCU2_0]      1.774244 s: #BUILD DATE: 2023-08-29
    [MCU2_0]      1.774263 s: #BUILD TIME: 07:05:09
    [MCU2_0]      1.774279 s: #BUILD USER:  @1104
    [MCU2_0]      1.774297 s: #BUILD BRANCH: 
    [MCU2_0]      1.774312 s: #BUILD PROFILE: release
    [MCU2_0]      1.774329 s: #BUILD VERSION: development
    [MCU2_0]      1.774347 s: 
    [MCU2_0]      1.774357 s: =======================
    [MCU2_0]      1.774374 s: 
    [MCU2_0]      1.774384 s: =======================
    [MCU2_0]      1.774401 s: writing system info... base addr daff017c 
    [MCU2_0]      1.774427 s: date addr daff017c is  2023-08-29 
    [MCU2_0]      1.774458 s: time addr daff0188 is 07:05:09 
    [MCU2_0]      1.774503 s: project addr daff0194 is  
    [MCU2_0]      1.774539 s: version addr daff01b4 is development 
    [MCU2_0]      1.774632 s: done!
    [MCU2_0]      1.774649 s: =======================
    [MCU2_0]      1.774676 s: SCICLIENT: Init ... !!!
    [MCU2_0]      1.832722 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [MCU2_0]      1.832764 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU2_0]      1.832787 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      1.832810 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      1.832831 s: UDMA: Init ... !!!
    [MCU2_0]      1.835826 s: UDMA: Init ... Done !!!
    [MCU2_0]      1.835872 s: MEM: Init ... !!!
    [MCU2_0]      1.835905 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e4000000 of size 16777216 bytes !!!
    [MCU2_0]      1.835958 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 131072 bytes !!!
    [MCU2_0]      1.836000 s: MEM: Created heap (DDR_NON_CACHE_ME, id=5, flags=0x00000000) @ db000000 of size 16777216 bytes !!!
    [MCU2_0]      1.836044 s: MEM: Init ... Done !!!
    [MCU2_0]      1.836061 s: IPC: Init ... !!!
    [MCU2_0]      1.836087 s: IPC: 8 CPUs participating in IPC !!!
    [MCU2_0]      1.849846 s: IPC: Init ... Done !!!
    [MCU2_0]      1.849903 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [MCU2_0]      1.849933 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]      1.851110 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]      1.851167 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [MCU2_0]      1.851195 s: [uCom_To_Ipc_Init] ucom_to_ipc_self_cpu_id = 3 ... !!!
    [MCU2_0]      1.851224 s: uCom_to_ipc: Init ... Start !!!
    [MCU2_0]      1.851247 s: [uCom_To_Ipc_Init] num_cpus = 5 ... !!!
    [MCU2_0]      1.851271 s: [uCom_To_Ipc_Init] self_cpu_id = 3 ... !!!
    [MCU2_0]      1.851295 s: uCom to IPC: Init ... !!!
    [MCU2_0]      1.851316 s: uCom to IPC: 5 CPUs participating in IPC !!!
    [MCU2_0]      1.852001 s: uCom to IPC: Init ... Done !!!
    [MCU2_0]      1.852075 s: uCom_to_ipc: Init ... Done !!!
    [MCU2_0]      1.852100 s: ETHFW: Init ... !!!
    [MCU2_0]      1.855855 s: [Board_ethConfigCpsw9g] LINE 728 :Board_cpsw9gEthConfig[6] 
    [MCU2_0]      1.855927 s: [Board_ethConfigCpsw9g] LINE 728 :Board_cpsw9gEthConfig[7] 
    [MCU2_0]      1.856127 s: [EnetBoard_initEthFw] LINE 258 :disable EnetAppUtils_enableClkOut 
    [MCU2_0]      1.856381 s: uCom to IPC: register notify handler.
    [MCU2_0]      1.856469 s: HIL flag = 0xaa,mode = 0x0
    [MCU2_0]      1.876690 s: CPSW_9G Test on MAIN NAVSS
    [MCU2_0]      1.900840 s: [EnetBoard_setPhyConfigRmii] LINE 500 :config RMII,skipExtendedCfg should not be skipped
    [MCU2_0]      1.900935 s: [EthFw_initLinkArgs] LINE 543 :EnetBoard_setPhyConfig done macport = 6 phyaddr = 0 
    [MCU2_0]      1.901000 s: [EthFw_initLinkArgs] LINE 554 :force set linkCfg ENET_SPEED_100MBIT & ENET_DUPLEX_FULL 
    [MCU2_0]      1.901154 s: [EnetPhy_open] LINE 317 :  EnetPhy_isAlive  = 1 
    [MCU2_0]      1.901212 s: [EnetPhy_initState] hPhy->phyCfg.isStrapped = 0 
    [MCU2_0]      1.901388 s: EnetPhy_bindDriver: PHY 0: OUI:006037 Model:10 Ver:02 <-> 'tja1101b_phy' : OK
    [MCU2_0]      1.901446 s: [EnetPhy_open] LINE 331 :  EnetPhy_bindDriver  = 0 
    [MCU2_0]      1.901492 s: [EnetPhy_open] LINE 344 : speed = 1  duplexity = 1 
    [MCU2_0]      1.901534 s: [EnetPhy_open] LINE 346 :  EnetPhy_releaseHandle  = 0 
    [MCU2_0]      1.901692 s: [EnetBoard_setPhyConfigRmii] LINE 514 :config RMII,skipExtendedCfg should not be skipped
    [MCU2_0]      1.901767 s: [EthFw_initLinkArgs] LINE 543 :EnetBoard_setPhyConfig done macport = 7 phyaddr = -1 
    [MCU2_0]      1.901834 s: [EthFw_initLinkArgs] LINE 548 :force set linkCfg without Phy ENET_SPEED_100MBIT & ENET_DUPLEX_FULL 
    [MCU2_0]      1.901967 s: PHY 0 is alive
    [MCU2_0]      1.910332 s: ETHFW: Version   : 0.01.01
    [MCU2_0]      1.910387 s: ETHFW: Build Date: Aug 23, 2023
    [MCU2_0]      1.910412 s: ETHFW: Build Time: 06:16:51
    [MCU2_0]      1.910431 s: ETHFW: Commit SHA: 
    [MCU2_0]      1.910451 s: Set MAX_LEN to 1522 
    [MCU2_0]      1.910473 s: Set MAX_LEN to 1522 DONE!! 
    [MCU2_0]      1.910494 s: ETHFW: Init ... DONE !!!
    [MCU2_0]      1.910512 s: ETHFW: Remote server Init ... !!!
    [MCU2_0]      1.911760 s: Remote demo device (core : mcu2_0) .....
    [MCU2_0]      1.911816 s: ETHFW: Remote server Init ... DONE !!!
    [MCU2_0]      1.938681 s: Host MAC address: 70:ff:76:1d:92:c2
    [MCU2_0]      1.961570 s: FVID2: Init ... !!!
    [MCU2_0]      1.961688 s: FVID2: Init ... Done !!!
    [MCU2_0]      1.961740 s: [xxx] mcu2_0 i2c init start
    [MCU2_0]      1.961780 s: [xxx-DSS] appDssBt601DefaultSetDefaultPrm: set default timing 
    [MCU2_0]      1.961816 s: DSS: Init ... !!!
    [MCU2_0]      1.961836 s: DSS: Display type is DPIIIIIIII !!!
    [MCU2_0]      1.961858 s: [xxx-DSS] set nodeOverlayId = 6, nodeVpId = 10, nodeDpiId = 13, overlayId = 1, vpId = 1, IfWidth = 7
    [MCU2_0]      1.961904 s: DSS: M2M Path is enabled !!!
    [MCU2_0]      1.961922 s: DSS: SoC init ... !!!
    [MCU2_0]      1.961939 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2
    [MCU2_0]      1.962574 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      1.962612 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=4 parent=6
    [MCU2_0]      1.964890 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      1.964926 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=152 clk=4 freq=96688800
    [MCU2_0]      1.966363 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]      1.966395 s: SCICLIENT: Sciclient_pmModuleClkRequest module=152 clk=4 state=2 flag=0
    [MCU2_0]      1.966630 s: SCICLIENT: Sciclient_pmModuleClkRequest success
    [MCU2_0]      1.966661 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=13 parent=18
    [MCU2_0]      1.966772 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      1.966799 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=152 clk=9 parent=12
    [MCU2_0]      1.969805 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
    [MCU2_0]      1.969836 s: [xxx-DSS] pll config: 4,6; 4,pixel; 13,18; 9,12; 
    [MCU2_0]      1.969863 s: DSS: SoC init ... Done !!!
    [MCU2_0]      1.969903 s: [maxim] init serializer 96715 (8bit)start
    [MCU2_0]      2.010726 s: [maxim] init serializer 96715 end
    [MCU2_0]      2.010792 s: Skip appDssConfigureBoard !!!
    [MCU2_0]      2.010823 s: [xxx-DSS] force to set syncVp port available
    [MCU2_0]      2.012745 s: [xxx-dss] appDctrlBt601DefaultInit start
    [MCU2_0]      2.012961 s: [xxx-dss] appDctrlBt601DefaultInit: set discrete sync VP, id = 2
    [MCU2_0]      2.013054 s: [xxx-dss] appDctrlBt601DefaultInit: set embedded data VP, id = 1
    [MCU2_0]      2.013126 s: [xxx-dss] appDctrlBt601DefaultInit: set overlay params
    [MCU2_0]      2.013176 s: [xxx-dss] appDctrlBt601DefaultInit: set layer params
    [MCU2_0]      2.013217 s: DSS: Dss_ApplyResetSequence !!!
    [MCU2_0]      2.034879 s: DSS: Init ... Done !!!
    [MCU2_0]      2.034954 s: [maxim] init serializer 96717 start
    [MCU2_0]      2.034999 s:  DES_VDD1V1 & PDB UP!
    [MCU2_0]      2.055944 s: [maxim] init serializer 96717 end
    [MCU2_0]      2.056001 s: VHWA: VPAC Init ... !!!
    [MCU2_0]      2.056024 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
    [MCU2_0]      2.056209 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.056237 s: VHWA: LDC Init ... !!!
    [MCU2_0]      2.061976 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]      2.062028 s: VHWA: MSC Init ... !!!
    [MCU2_0]      2.081578 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]      2.081633 s: VHWA: NF Init ... !!!
    [MCU2_0]      2.086016 s: VHWA: NF Init ... Done !!!
    [MCU2_0]      2.086062 s: VHWA: VISS Init ... !!!
    [MCU2_0]      2.100366 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]      2.100414 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]      2.100451 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]      2.100475 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]      2.100493 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]      2.101668 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target IPU1-0 
    [MCU2_0]      2.101959 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_NF 
    [MCU2_0]      2.102220 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_LDC1 
    [MCU2_0]      2.102471 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_MSC1 
    [MCU2_0]      2.102778 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_MSC2 
    [MCU2_0]      2.103066 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VPAC_VISS1 
    [MCU2_0]      2.103346 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE1 
    [MCU2_0]      2.103686 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE2 
    [MCU2_0]      2.103974 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DISPLAY1 
    [MCU2_0]      2.104260 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DISPLAY2 
    [MCU2_0]      2.104528 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CSITX 
    [MCU2_0]      2.104884 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE3 
    [MCU2_0]      2.105170 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE4 
    [MCU2_0]      2.105451 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE5 
    [MCU2_0]      2.105800 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE6 
    [MCU2_0]      2.106096 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE7 
    [MCU2_0]      2.106388 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target CAPTURE8 
    [MCU2_0]      2.106720 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DSS_M2M1 
    [MCU2_0]      2.107003 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DSS_M2M2 
    [MCU2_0]      2.107267 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DSS_M2M3 
    [MCU2_0]      2.107530 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DSS_M2M4 
    [MCU2_0]      2.107625 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    [MCU2_0]      2.107653 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]      2.119339 s:   [tivxAddTargetKernelAewb] 
    [MCU2_0]      2.119382 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]      2.119412 s: CSI2RX: Init ... !!!
    [MCU2_0]      2.119430 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      2.119654 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.119690 s: SCICLIENT: Sciclient_pmSetModuleState module=26 state=2
    [MCU2_0]      2.119964 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.119991 s: SCICLIENT: Sciclient_pmSetModuleState module=27 state=2
    [MCU2_0]      2.120118 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.120143 s: SCICLIENT: Sciclient_pmSetModuleState module=147 state=2
    [MCU2_0]      2.120234 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.120259 s: SCICLIENT: Sciclient_pmSetModuleState module=148 state=2
    [MCU2_0]      2.120344 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.121092 s: CSI2RX: Init ... Done !!!
    [MCU2_0]      2.121139 s: CSI2TX: Init ... !!!
    [MCU2_0]      2.121160 s: SCICLIENT: Sciclient_pmSetModuleState module=25 state=2
    [MCU2_0]      2.121243 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.121270 s: SCICLIENT: Sciclient_pmSetModuleState module=28 state=2
    [MCU2_0]      2.121380 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.121406 s: SCICLIENT: Sciclient_pmSetModuleState module=296 state=2
    [MCU2_0]      2.121518 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]      2.122099 s: CSI2TX: Init ... Done !!!
    [MCU2_0]      2.122144 s: ISS: Init ... !!!
    [MCU2_0]      2.122171 s: IssSensor_Init ... Done !!!
    [MCU2_0]      2.122239 s: vissRemoteServer_Init ... Done !!!
    [MCU2_0]      2.122291 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]      2.122317 s: UDMA Copy: Init ... !!!
    [MCU2_0]      2.126818 s: UDMA Copy: Init ... Done !!!
    [MCU2_0]      2.126886 s: APP: Init ... Done !!!
    [MCU2_0]      2.126916 s: APP: Run ... !!!
    [MCU2_0]      2.126940 s: IPC: Starting echo test ...
    [MCU2_0]      2.130518 s: APP: Run ... Done !!!
    [MCU2_0]      2.130648 s: ==================start init_diag_gpios()=============
    [MCU2_0]      2.131278 s: MAX20087:  SYS_CFG (20 ticks)
    [MCU2_0]      2.132302 s: MAX20087_config end!!
    [MCU2_0]      2.132391 s: MAX20087:  VDD1V1 (0 ticks)
    [MCU2_0]      2.132753 s:     VDD1V1 UP had power on in max96717!
    [MCU2_0]      2.132837 s: MAX20087:  VIDEO1V8 (60 ticks)
    [MCU2_0]      2.133779 s:     VIDEO1V8 UP!
    [MCU2_0]      2.133874 s: MAX20087:  PDB9702 (60 ticks)
    [MCU2_0]      2.135489 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] mcu3_0[x] 
    [MCU2_0]      2.135815 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] mcu3_0[x] 
    [MCU2_0]      2.135960 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] mcu3_0[x] 
    [MCU2_0]      2.136095 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] mcu3_0[x] 
    [MCU2_0]      2.144607 s:     VDD 9702 PDB EN UP!
    [MCU2_0]      2.144714 s:     TDA4VM POC_EN UP!
    [MCU2_0]      2.144767 s: MAX20087:  I2C3 (5 ticks)
    [MCU2_0]      2.145635 s: max20087 now init i2c3 9702 register
    [MCU2_0]      2.165600 s: KANKAN Software version = v2.9.3
    [MCU2_0]      2.165688 s: IssUb9702_953_init enter channel_mask=15 hilMode=0
    [MCU2_0]      2.165783 s: [xxxx] in IssSensor_iAuto_Cfg start in raw mode 4
    [MCU2_0]      2.293647 s: Function:CpswProxyServer_attachHandlerCb,HostId:0,CpswType:6
    [MCU2_0]      2.294363 s: Function:CpswProxyServer_allocMacHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6
    [MCU2_0]      2.301738 s: Cpsw_handleLinkUp: Port 7: Link up: 100-Mbps Full-Duplex
    [MCU2_0]      2.544327 s: Function:CpswProxyServer_allocTxHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6
    [MCU2_0]      2.546689 s: Function:CpswProxyServer_allocRxHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6
    [MCU2_0]      2.547012 s: Function:CpswProxyServer_ioctlHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6, Cmd:1010401,InArgsLen:0, OutArgsLen:4
    [MCU2_0]      2.566147 s: Function:CpswProxyServer_ioctlHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6, Cmd:1010201,InArgsLen:24, OutArgsLen:4
    [MCU2_0]      2.568257 s: Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1, FlowIdx:172, FlowIdxOffset:0
    [MCU2_0]      2.568469 s: Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:20, Policer Entry:0
    [MCU2_0]      2.569270 s: Function:CpswProxyServer_registerIpv4MacHandlerCb,HostId:0,Handle:9894a9fc,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:92:c1 IPv4Addr:198.19.36.94
    [MCU2_0]      2.569428 s: Failed to add Static ARP Entry 
    [MCU2_0]      2.569469 s: 
    [MCU2_0] ================LLI Table entries=========== 
    [MCU2_0]      2.569496 s: 
    [MCU2_0] Number of Static ARP Entries: 0 
    [MCU2_0]      2.569517 s: 
    [MCU2_0] SNo.      IP Address         MAC Address  
    [MCU2_0]      2.569539 s: ------    -------------      --------------- 
    [MCU2_0]      2.569662 s: [CpswProxyServer_registerIpv4MacHandlerCb] LINE 1112 :force set RPMSG_KDRV_TP_ETHSWITCH_CMDSTATUS_OK 
    [MCU2_0]      3.402856 s: sensor_name_save:OVX3C-UB953_R1D sensor_features_requested=0x158
    [MCU2_0]      3.507816 s: [KK]OVX3C_Config: Read OVX3C Address=40 Register=0x100 regValue_u8=0 
    [MCU2_0]      3.507897 s:  Configuring OVX3C imager 0x40.. Please wait till it finishes 
    [MCU2_0]      3.876647 s: OVX3C_Config first_power_on_sensor_init_status = 1 
    [MCU2_0]      3.981823 s: [KK]OVX3C_Config: Read OVX3C Address=42 Register=0x100 regValue_u8=0 
    [MCU2_0]      3.981907 s:  Configuring OVX3C imager 0x42.. Please wait till it finishes 
    [MCU2_0]      4.350649 s: OVX3C_Config first_power_on_sensor_init_status = 3 
    [MCU2_0]      4.455926 s: [KK]OVX3C_Config: Read OVX3C Address=44 Register=0x100 regValue_u8=0 
    [MCU2_0]      4.456008 s:  Configuring OVX3C imager 0x44.. Please wait till it finishes 
    [MCU2_0]      4.622901 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY 
    [MCU2_0]      4.623988 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON 
    [MCU2_0]      4.624079 s: OVX3C_PowerOn : chId_u32 = 0x0 
    [MCU2_0]      4.624115 s: OVX3C_PowerOn : chId_u32 = 0x1 
    [MCU2_0]      4.624145 s: OVX3C_PowerOn : chId_u32 = 0x2 
    [MCU2_0]      4.624174 s: OVX3C_PowerOn : chId_u32 = 0x3 
    [MCU2_0]      4.624451 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG 
    [MCU2_0]      4.624518 s: sensor_name_save:OVX3C-UB953_R1D
    [MCU2_0]      4.624599 s: i2c_init_ok = 2
    [MCU2_0]      4.624642 s: waiting issUb9702_953_sensor init finsh count=0
    [MCU2_0]      4.667265 s: src/csirx_drv.c @ Line 407: 
    [MCU2_0]      4.667304 s: Enable monitor ctl 
    [MCU2_0]      4.724613 s: waiting issUb9702_953_sensor init finsh count=1
    [MCU2_0]      4.824619 s: waiting issUb9702_953_sensor init finsh count=2
    [MCU2_0]      4.861068 s:   [tivxAewbCreate]  _count = [0]
    [MCU2_0]      4.863153 s:   [AWB_TI_create] 
    [MCU2_0]      4.863267 s:   [tivxAewbCreate] 
    [MCU2_0]      4.863936 s:   [tivxAewbCreate]  _count = [0]
    [MCU2_0]      4.864690 s: OVX3C_Config first_power_on_sensor_init_status = 7 
    [MCU2_0]      4.866386 s:   [AWB_TI_create] 
    [MCU2_0]      4.866500 s:   [tivxAewbCreate] 
    [MCU2_0]      4.867083 s:   [tivxAewbCreate]  _count = [0]
    [MCU2_0]      4.869204 s:   [AWB_TI_create] 
    [MCU2_0]      4.869329 s:   [tivxAewbCreate] 
    [MCU2_0]      4.870269 s:   [tivxAewbCreate]  _count = [0]
    [MCU2_0]      4.872814 s:   [AWB_TI_create] 
    [MCU2_0]      4.872939 s:   [tivxAewbCreate] 
    [MCU2_0]      5.445628 s:     POC_EN UP! 
    [MCU2_0]      9.372520 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.372730 s:  nodePrms->frame_count = [0x0008] 
    [MCU2_0]      9.372774 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]      9.372811 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x02aa] 
    [MCU2_0]      9.372853 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.372894 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.372933 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x04ba] 
    [MCU2_0]      9.372975 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x1770] 
    [MCU2_0]      9.373002 s:  
    [MCU2_0]      9.373095 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.373149 s:  nodePrms->frame_count = [0x0008] 
    [MCU2_0]      9.373181 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]      9.373217 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0200] 
    [MCU2_0]      9.373256 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.373295 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.373335 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x0200] 
    [MCU2_0]      9.373451 s:  ae_awb_result_prev_target_ptr->color_temperature = [0xffffffff] 
    [MCU2_0]      9.373490 s:  
    [MCU2_0]      9.373749 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.373821 s:  nodePrms->frame_count = [0x0008] 
    [MCU2_0]      9.373853 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]      9.373888 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0200] 
    [MCU2_0]      9.373927 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.373967 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.374007 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x0200] 
    [MCU2_0]      9.374048 s:  ae_awb_result_prev_target_ptr->color_temperature = [0xffffffff] 
    [MCU2_0]      9.374079 s:  
    [MCU2_0]      9.374143 s:   [decode_h3a_header_dcc] 
    [MCU2_0]      9.374293 s:   [parse_h3a_out] 
    [MCU2_0]      9.374372 s:   [h3a_merge] 
    [MCU2_0]      9.374650 s:   [h3a_normalize] 
    [MCU2_0]      9.374701 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]      9.374777 s:   [getExpPrgFromSensor] 
    [MCU2_0]      9.374821 s:   [map_sensor_ae_dynparams] 
    [MCU2_0]      9.374956 s:   [AE_TI_process] 
    [MCU2_0]      9.375047 s:   [sendExpGainToSensor] 
    [MCU2_0]      9.375126 s:   [getWbstausPrgFromSensor] [after memcpy] [data from sensor]  _count = [8] 
    [MCU2_0]      9.375181 s:  p_Apply_AWB_Status->chId = [0x0001] 
    [MCU2_0]      9.375218 s:  p_Apply_AWB_Status->Apply_AWB_Sensor_Gain = [0x0141] 
    [MCU2_0]      9.375257 s:  p_Apply_AWB_Status->AWB_Prev_Rgain = [0x039e] 
    [MCU2_0]      9.375293 s:  p_Apply_AWB_Status->AWB_Prev_Bgain = [0x03a0] 
    [MCU2_0]      9.375317 s:  
    [MCU2_0]      9.375347 s:   [tivxAewbProcess] [ AWB_Status == 0] 
    [MCU2_0]      9.375385 s:  ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x039e 
    [MCU2_0]      9.375428 s:  ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200 
    [MCU2_0]      9.375469 s:  ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x03a0 
    [MCU2_0]      9.375654 s:  
    [MCU2_0]      9.375713 s:   [tivxAewbProcess] [before AWB_TI_process] 
    [MCU2_0]      9.375756 s:  aewb_config->channel_id = [2] 
    [MCU2_0]      9.375790 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0000 
    [MCU2_0]      9.375827 s:  nodePrms->p_awb_params->stab_gain_R = 0x0000 
    [MCU2_0]      9.375864 s:  nodePrms->p_awb_params->stab_gain_G = 0x0000 
    [MCU2_0]      9.375898 s:  nodePrms->p_awb_params->stab_gain_B = 0x0000 
    [MCU2_0]      9.375922 s:  
    [MCU2_0]      9.376021 s:  [before TI_AWB_do] 
    [MCU2_0]      9.376052 s:   _ti_count = [1] 
    [MCU2_0]      9.376077 s:  stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.376237 s:  stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.376277 s:  stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.376308 s:  stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.376336 s:  stab_color_temp_1 = [0x0000] 
    [MCU2_0]      9.376365 s:  stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.376390 s:  stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.376416 s:  stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.376440 s:  stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.376466 s:  stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.376492 s:  stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.376517 s:  stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.376681 s:  stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.376733 s:  stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.376765 s:  stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.376793 s:  stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.376819 s:  stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.376844 s:  stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.376869 s:  stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.376894 s:  stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.376921 s:  stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.376946 s:  stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.376970 s:  stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.376996 s:  stab_gain_B_5 = [0x0000] 
    [MCU2_0]      9.377021 s:  stab_color_temp_5 = [0x0000] 
    [MCU2_0]      9.377048 s:  stab_init_cnt_6 = [0x0000] 
    [MCU2_0]      9.377074 s:  stab_gain_R_6 = [0x0000] 
    [MCU2_0]      9.377099 s:  stab_gain_G_6 = [0x0000] 
    [MCU2_0]      9.377123 s:  stab_gain_B_6 = [0x0000] 
    [MCU2_0]      9.377149 s:  stab_color_temp_6 = [0x0000] 
    [MCU2_0]      9.381378 s:   [after TI_AWB_do] [p_awb_params] 
    [MCU2_0]      9.381468 s:   _ti_count = [1] 
    [MCU2_0]      9.381509 s:  out_stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.381667 s:  out_stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.381712 s:  out_stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.381744 s:  out_stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.381774 s:  out_stab_color_temp_1 = [0x0000] 
    [MCU2_0]      9.381804 s:  out_stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.381831 s:  out_stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.381924 s:  out_stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.381967 s:  out_stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.381995 s:  out_stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.382024 s:  out_stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.382050 s:  out_stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.382077 s:  out_stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.382104 s:  out_stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.382132 s:  out_stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.382160 s:  out_stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.382202 s:  out_stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.382228 s:  out_stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.382255 s:  out_stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.382283 s:  out_stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.382312 s:  out_stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.382339 s:  out_stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.382365 s:  out_stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.382392 s:  out_stab_gain_B_5 = [0x0000] 
    [MCU2_0]      9.382419 s:  out_stab_color_temp_5 = [0x0000] 
    [MCU2_0]      9.382447 s:  out_stab_init_cnt_6 = [0x0000] 
    [MCU2_0]      9.382700 s:  out_stab_gain_R_6 = [0x0000] 
    [MCU2_0]      9.382745 s:  out_stab_gain_G_6 = [0x0000] 
    [MCU2_0]      9.382776 s:  out_stab_gain_B_6 = [0x0000] 
    [MCU2_0]      9.382807 s:  out_stab_color_temp_6 = [0x0000] 
    [MCU2_0]      9.383076 s:    [AWB_TI_process] [after TI_AWB_do] [awb_data_out] 
    [MCU2_0]      9.383146 s:   _ti_count = [1] 
    [MCU2_0]      9.383176 s:  do_gain_Gr_1 = [0x0000] 
    [MCU2_0]      9.383202 s:  do_gain_R_1 = [0x0000] 
    [MCU2_0]      9.383227 s:  do_gain_Gb_1 = [0x0000] 
    [MCU2_0]      9.383251 s:  do_gain_B_1 = [0x0000] 
    [MCU2_0]      9.383275 s:  do_awb_idx_1 = [0x0000] 
    [MCU2_0]      9.383302 s:  do_color_temperature_estim_1 = [0x0000] 
    [MCU2_0]      9.383331 s:  do_SB_count_1 = [0x0000] 
    [MCU2_0]      9.383356 s:  do_gain_Gr_2 = [0x0000] 
    [MCU2_0]      9.383380 s:  do_gain_R_2 = [0x0000] 
    [MCU2_0]      9.383404 s:  do_gain_Gb_2 = [0x0000] 
    [MCU2_0]      9.383427 s:  do_gain_B_2 = [0x0000] 
    [MCU2_0]      9.383451 s:  do_awb_idx_2 = [0x0000] 
    [MCU2_0]      9.383479 s:  do_color_temperature_estim_2 = [0x0000] 
    [MCU2_0]      9.383508 s:  do_SB_count_2 = [0x0000] 
    [MCU2_0]      9.383532 s:  do_gain_Gr_3 = [0x0000] 
    [MCU2_0]      9.383649 s:  do_gain_R_3 = [0x0000] 
    [MCU2_0]      9.383683 s:  do_gain_Gb_3 = [0x0000] 
    [MCU2_0]      9.383711 s:  do_gain_B_3 = [0x0000] 
    [MCU2_0]      9.383736 s:  do_awb_idx_3 = [0x0000] 
    [MCU2_0]      9.383764 s:  do_color_temperature_estim_3 = [0x0000] 
    [MCU2_0]      9.383793 s:  do_SB_count_3 = [0x0000] 
    [MCU2_0]      9.383817 s:  do_gain_Gr_4 = [0x0000] 
    [MCU2_0]      9.383840 s:  do_gain_R_4 = [0x0000] 
    [MCU2_0]      9.383864 s:  do_gain_Gb_4 = [0x0000] 
    [MCU2_0]      9.383887 s:  do_gain_B_4 = [0x0000] 
    [MCU2_0]      9.383911 s:  do_awb_idx_4 = [0x0000] 
    [MCU2_0]      9.383939 s:  do_color_temperature_estim_4 = [0x0000] 
    [MCU2_0]      9.383969 s:  do_SB_count_4 = [0x0000] 
    [MCU2_0]      9.383993 s:  do_gain_Gr_5 = [0x0000] 
    [MCU2_0]      9.384075 s:  do_gain_R_5 = [0x0000] 
    [MCU2_0]      9.384107 s:  do_gain_Gb_5 = [0x0000] 
    [MCU2_0]      9.384131 s:  do_gain_B_5 = [0x0000] 
    [MCU2_0]      9.384155 s:  do_awb_idx_5 = [0x0000] 
    [MCU2_0]      9.384183 s:  do_color_temperature_estim_5 = [0x0000] 
    [MCU2_0]      9.384212 s:  do_SB_count_5 = [0x0000] 
    [MCU2_0]      9.384236 s:  do_gain_Gr_6 = [0x0000] 
    [MCU2_0]      9.384260 s:  do_gain_R_6 = [0x0000] 
    [MCU2_0]      9.384284 s:  do_gain_Gb_6 = [0x0000] 
    [MCU2_0]      9.384308 s:  do_gain_B_6 = [0x0000] 
    [MCU2_0]      9.384331 s:  do_awb_idx_6 = [0x0000] 
    [MCU2_0]      9.384359 s:  do_color_temperature_estim_6 = [0x0000] 
    [MCU2_0]      9.384387 s:  do_SB_count_6 = [0x0000] 
    [MCU2_0]      9.384405 s:  
    [MCU2_0]      9.384443 s:   [tivxAewbProcess] [after AWB_TI_process] 
    [MCU2_0]      9.385149 s:  aewb_config->channel_id = [2] 
    [MCU2_0]      9.385212 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0001 
    [MCU2_0]      9.385255 s:  nodePrms->p_awb_params->stab_gain_R = 0x01e7 
    [MCU2_0]      9.385292 s:  nodePrms->p_awb_params->stab_gain_G = 0x0100 
    [MCU2_0]      9.385328 s:  nodePrms->p_awb_params->stab_gain_B = 0x01d5 
    [MCU2_0]      9.385352 s:  
    [MCU2_0]      9.393527 s:   [sendWbGainToSensor] 
    [MCU2_0]      9.393699 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x03ce awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x03aa 
    [MCU2_0]      9.393801 s:   [sendAewbToViss] 
    [MCU2_0]      9.393856 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]      9.393963 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]      9.394132 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.394185 s:  nodePrms->frame_count = [0x0008] 
    [MCU2_0]      9.394216 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]      9.394253 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0308] 
    [MCU2_0]      9.394293 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.394332 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.394441 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x044a] 
    [MCU2_0]      9.394495 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x17cd] 
    [MCU2_0]      9.394524 s:  
    [MCU2_1]      1.774423 s: CIO: Init ... Done !!!
    [MCU2_1]      1.774561 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>
    [MCU2_1]      1.774680 s: APP: Init ... !!!
    [MCU2_1]      1.774742 s: 
    [MCU2_1]      1.774783 s: MCU2_1 VERSION INFO
    [MCU2_1]      1.774825 s: =======================
    [MCU2_1]      1.774851 s: 
    [MCU2_1]      1.774869 s: #BUILD DATE: 2023-08-29
    [MCU2_1]      1.774902 s: #BUILD TIME: 07:05:09
    [MCU2_1]      1.774927 s: #BUILD USER:  @1104
    [MCU2_1]      1.774951 s: #BUILD BRANCH: 
    [MCU2_1]      1.774982 s: #BUILD PROFILE: release
    [MCU2_1]      1.775002 s: #BUILD VERSION: development
    [MCU2_1]      1.775037 s: 
    [MCU2_1]      1.775056 s: =======================
    [MCU2_1]      1.775079 s: 
    [MCU2_1]      1.775097 s: =======================
    [MCU2_1]      1.775122 s: writing system info... base addr daff01c4 
    [MCU2_1]      1.775161 s: date addr daff01c4 is  2023-08-29 
    [MCU2_1]      1.775243 s: time addr daff01d0 is 07:05:09 
    [MCU2_1]      1.775307 s: project addr daff01dc is  
    [MCU2_1]      1.775334 s: version addr daff01fc is development 
    [MCU2_1]      1.775395 s: done!
    [MCU2_1]      1.775407 s: =======================
    [MCU2_1]      1.775436 s: SCICLIENT: Init ... !!!
    [MCU2_1]      1.833012 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [MCU2_1]      1.833058 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU2_1]      1.833082 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_1]      1.833106 s: SCICLIENT: Init ... Done !!!
    [MCU2_1]      1.833127 s: UDMA: Init ... !!!
    [MCU2_1]      1.836602 s: UDMA: Init ... Done !!!
    [MCU2_1]      1.836653 s: MEM: Init ... !!!
    [MCU2_1]      1.836684 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e5000000 of size 16777216 bytes !!!
    [MCU2_1]      1.836735 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 3620000 of size 131072 bytes !!!
    [MCU2_1]      1.836781 s: MEM: Created heap (DDR_NON_CACHE_ME, id=5, flags=0x00000000) @ dc000000 of size 117440512 bytes !!!
    [MCU2_1]      1.836824 s: MEM: Init ... Done !!!
    [MCU2_1]      1.836842 s: IPC: Init ... !!!
    [MCU2_1]      1.836869 s: IPC: 8 CPUs participating in IPC !!!
    [MCU2_1]      1.853699 s: IPC: Init ... Done !!!
    [MCU2_1]      1.853758 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [MCU2_1]      1.853790 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_1]      1.854918 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_1]      1.854970 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [MCU2_1]      1.854997 s: [uCom_To_Ipc_Init] ucom_to_ipc_self_cpu_id = 4 ... !!!
    [MCU2_1]      1.855027 s: uCom_to_ipc: Init ... Start !!!
    [MCU2_1]      1.855050 s: [uCom_To_Ipc_Init] num_cpus = 5 ... !!!
    [MCU2_1]      1.855074 s: [uCom_To_Ipc_Init] self_cpu_id = 4 ... !!!
    [MCU2_1]      1.855098 s: uCom to IPC: Init ... !!!
    [MCU2_1]      1.855120 s: uCom to IPC: 5 CPUs participating in IPC !!!
    [MCU2_1]      1.855673 s: uCom to IPC: Init ... Done !!!
    [MCU2_1]      1.855712 s: uCom_to_ipc: Init ... Done !!!
    [MCU2_1]      1.855734 s: FVID2: Init ... !!!
    [MCU2_1]      1.855789 s: FVID2: Init ... Done !!!
    [MCU2_1]      1.855831 s: [xxx] mcu2_0 i2c init start
    [MCU2_1]      1.855856 s: VHWA: DMPAC: Init ... !!!
    [MCU2_1]      1.855874 s: SCICLIENT: Sciclient_pmSetModuleState module=48 state=2
    [MCU2_1]      1.856198 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]      1.856227 s: SCICLIENT: Sciclient_pmSetModuleState module=305 state=2
    [MCU2_1]      1.856606 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_1]      1.856640 s: VHWA: DOF Init ... !!!
    [MCU2_1]      1.871403 s: VHWA: DOF Init ... Done !!!
    [MCU2_1]      1.871454 s: VHWA: SDE Init ... !!!
    [MCU2_1]      1.876950 s: VHWA: SDE Init ... Done !!!
    [MCU2_1]      1.877000 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_1]      1.877023 s: VHWA: Codec: Init ... !!!
    [MCU2_1]      1.877042 s: VHWA: VDEC Init ... !!!
    [MCU2_1]      1.877830 s: uCom to IPC: register notify handler.
    [MCU2_1]      1.890710 s: VHWA: VDEC Init ... Done !!!
    [MCU2_1]      1.890760 s: VHWA: VENC Init ... !!!
    [MCU2_1]      1.891594 s: MM_ENC_Init: No OCM RAM pool available, fallback to DDR mode for above mp params
    [MCU2_1]      1.932246 s: VHWA: VENC Init ... Done !!!
    [MCU2_1]      1.932295 s: VHWA: Init ... Done !!!
    [MCU2_1]      1.932331 s:  VX_ZONE_INIT:Enabled
    [MCU2_1]      1.932355 s:  VX_ZONE_ERROR:Enabled
    [MCU2_1]      1.932374 s:  VX_ZONE_WARNING:Enabled
    [MCU2_1]      1.933331 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DMPAC_SDE 
    [MCU2_1]      1.933586 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target DMPAC_DOF 
    [MCU2_1]      1.933812 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VDEC1 
    [MCU2_1]      1.934017 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VDEC2 
    [MCU2_1]      1.934221 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VENC1 
    [MCU2_1]      1.934423 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:55] Added target VENC2 
    [MCU2_1]      1.934473 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    [MCU2_1]      1.934500 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_1]      1.934888 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_1]      1.934932 s: UDMA Copy: Init ... !!!
    [MCU2_1]      1.941315 s: UDMA Copy: Init ... Done !!!
    [MCU2_1]      1.941366 s: APP: Init ... Done !!!
    [MCU2_1]      1.941389 s: APP: Run ... !!!
    [MCU2_1]      1.941407 s: IPC: Starting echo test ...
    [MCU2_1]      1.943750 s: APP: Run ... Done !!!
    [MCU2_1]      1.957200 s: 
    [MCU2_1]      1.957258 s:  spistatus: 0 
    [MCU2_1]      1.957285 s: 
    [MCU2_1]      1.957305 s:  pinset: 0 
    [MCU2_1]      1.957338 s: 
    [MCU2_1]      1.957358 s:  timerstatus: 0 
    [MCU2_1]      1.960745 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] mcu3_0[x] 
    [MCU2_1]      1.960835 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] mcu3_0[x] 
    [MCU2_1]      1.960913 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] mcu3_0[x] 
    [MCU2_1]      2.135199 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] mcu3_0[x] 
    [MCU2_1]      5.322612 s: TIMEOUT: topazdd_wait_on_sync timed out waiting for writeback 0x05a50000.
    [MCU2_1]      5.322755 s: topaz mtx context setup command failed
    [MCU2_1]      7.329972 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] mcu3_0[P] 
    [MCU3_0]      7.274454 s: CIO: Init ... Done !!!
    [MCU3_0]      7.274524 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>
    [MCU3_0]      7.274563 s: APP: Init ... !!!
    [MCU3_0]      7.274586 s: 
    [MCU3_0]      7.274599 s: MCU3_0 VERSION INFO
    [MCU3_0]      7.274617 s: =======================
    [MCU3_0]      7.274636 s: 
    [MCU3_0]      7.274648 s: #BUILD DATE: 2023-05-29
    [MCU3_0]      7.274668 s: #BUILD TIME: 14:39:04
    [MCU3_0]      7.274686 s: #BUILD USER: @4690
    [MCU3_0]      7.274704 s: #BUILD BRANCH: murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02
    [MCU3_0]      7.274734 s: #BUILD PROFILE: release
    [MCU3_0]      7.274753 s: #BUILD VERSION: development
    [MCU3_0]      7.274774 s: 
    [MCU3_0]      7.274786 s: =======================
    [MCU3_0]      7.274804 s: 
    [MCU3_0]      7.274817 s: =======================
    [MCU3_0]      7.274836 s: writing system info... base addr daff020c 
    [MCU3_0]      7.274860 s: date addr daff020c is  2023-05-29 
    [MCU3_0]      7.274885 s: time addr daff0218 is 14:39:04 
    [MCU3_0]      7.274906 s: project addr daff0224 is murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02 
    [MCU3_0]      7.274938 s: version addr daff0244 is development 
    [MCU3_0]      7.274960 s: done!
    [MCU3_0]      7.274973 s: =======================
    [MCU3_0]      7.274991 s: SCICLIENT: Init ... !!!
    [MCU3_0]      7.275684 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [MCU3_0]      7.275731 s: SCICLIENT: DMSC FW revision 0x15  
    [MCU3_0]      7.275756 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU3_0]      7.275780 s: SCICLIENT: Init ... Done !!!
    [MCU3_0]      7.275802 s: MEM: Init ... !!!
    [MCU3_0]      7.275830 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e6000000 of size 8388608 bytes !!!
    [MCU3_0]      7.275880 s: MEM: Init ... Done !!!
    [MCU3_0]      7.275899 s: IPC: Init ... !!!
    [MCU3_0]      7.275927 s: IPC: 8 CPUs participating in IPC !!!
    [MCU3_0]      7.285434 s: IPC: Init ... Done !!!
    [MCU3_0]      7.285491 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [MCU3_0]      7.285551 s: REMOTE_SERVICE: Init ... !!!
    [MCU3_0]      7.286818 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU3_0]      7.286881 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [MCU3_0]      7.286913 s: [uCom_To_Ipc_Init] ucom_to_ipc_self_cpu_id = 5 ... !!!
    [MCU3_0]      7.286946 s: uCom_to_ipc: Init ... Start !!!
    [MCU3_0]      7.286973 s: [uCom_To_Ipc_Init] num_cpus = 5 ... !!!
    [MCU3_0]      7.286998 s: [uCom_To_Ipc_Init] self_cpu_id = 5 ... !!!
    [MCU3_0]      7.287023 s: uCom to IPC: Init ... !!!
    [MCU3_0]      7.287046 s: uCom to IPC: 5 CPUs participating in IPC !!!
    [MCU3_0]      7.287677 s: uCom to IPC: Init ... Done !!!
    [MCU3_0]      7.287726 s: uCom_to_ipc: Init ... Done !!!
    [MCU3_0]      7.287774 s: [xxx] mcu2_0 i2c init start
    [MCU3_0]      7.287803 s: APP: Init ... Done !!!
    [MCU3_0]      7.287824 s: APP: Run ... !!!
    [MCU3_0]      7.287843 s: IPC: Starting echo test ...
    [MCU3_0]      7.290389 s: APP: Run ... Done !!!
    [MCU3_0]      7.290661 s: uCom to IPC: register notify handler.
    [MCU3_0]      7.329439 s: IPC: Echo status: mpu1_0[x] mcu2_0[.] mcu2_1[.] mcu3_0[s] 
    [MCU3_0]      7.329935 s: IPC: Echo status: mpu1_0[x] mcu2_0[.] mcu2_1[.] mcu3_0[s] 
    [MCU3_0]      7.330015 s: IPC: Echo status: mpu1_0[x] mcu2_0[.] mcu2_1[P] mcu3_0[s] 
    [MCU3_0]      7.330074 s: IPC: Echo status: mpu1_0[x] mcu2_0[.] mcu2_1[P] mcu3_0[s] 
    [MCU3_0]      7.330131 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[s] 
    [C6x_1 ]      1.793519 s: CIO: Init ... Done !!!
    [C6x_1 ]      1.793551 s: ### CPU Frequency <ORG = 1350000000 Hz>, <NEW = 1350000000 Hz>
    [C6x_1 ]      1.793565 s: APP: Init ... !!!
    [C6x_1 ]      1.793574 s: 
    [C6x_1 ]      1.793580 s: C6x_1 VERSION INFO
    [C6x_1 ]      1.793588 s: =======================
    [C6x_1 ]      1.793595 s: 
    [C6x_1 ]      1.793601 s: #BUILD DATE: 2023-05-29
    [C6x_1 ]      1.793608 s: #BUILD TIME: 14:39:04
    [C6x_1 ]      1.793616 s: #BUILD USER: @4690
    [C6x_1 ]      1.793623 s: #BUILD BRANCH: murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02
    [C6x_1 ]      1.793633 s: #BUILD PROFILE: release
    [C6x_1 ]      1.793640 s: #BUILD VERSION: development
    [C6x_1 ]      1.793648 s: 
    [C6x_1 ]      1.793654 s: =======================
    [C6x_1 ]      1.793661 s: 
    [C6x_1 ]      1.793667 s: =======================
    [C6x_1 ]      1.793674 s: writing system info... base addr daff029c 
    [C6x_1 ]      1.793684 s: date addr daff029c is  2023-05-29 
    [C6x_1 ]      1.793698 s: time addr daff02a8 is 14:39:04 
    [C6x_1 ]      1.793712 s: project addr daff02b4 is murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02 
    [C6x_1 ]      1.793747 s: version addr daff02d4 is development 
    [C6x_1 ]      1.793763 s: done!
    [C6x_1 ]      1.793769 s: =======================
    [C6x_1 ]      1.793776 s: SCICLIENT: Init ... !!!
    [C6x_1 ]      1.832795 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [C6x_1 ]      1.832807 s: SCICLIENT: DMSC FW revision 0x15  
    [C6x_1 ]      1.832815 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_1 ]      1.832825 s: SCICLIENT: Init ... Done !!!
    [C6x_1 ]      1.832834 s: UDMA: Init ... !!!
    [C6x_1 ]      1.837022 s: UDMA: Init ... Done !!!
    [C6x_1 ]      1.837044 s: MEM: Init ... !!!
    [C6x_1 ]      1.837055 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e7000000 of size 16777216 bytes !!!
    [C6x_1 ]      1.837072 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 800000 of size 229376 bytes !!!
    [C6x_1 ]      1.837087 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ e8000000 of size 50331648 bytes !!!
    [C6x_1 ]      1.837103 s: MEM: Init ... Done !!!
    [C6x_1 ]      1.837111 s: IPC: Init ... !!!
    [C6x_1 ]      1.837124 s: IPC: 8 CPUs participating in IPC !!!
    [C6x_1 ]      1.853306 s: IPC: Init ... Done !!!
    [C6x_1 ]      1.853337 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [C6x_1 ]      1.853348 s: REMOTE_SERVICE: Init ... !!!
    [C6x_1 ]      1.853940 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_1 ]      1.853967 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [C6x_1 ]      1.853991 s: [xxx] mcu2_0 i2c init start
    [C6x_1 ]      1.854007 s:  VX_ZONE_INIT:Enabled
    [C6x_1 ]      1.854016 s:  VX_ZONE_ERROR:Enabled
    [C6x_1 ]      1.854025 s:  VX_ZONE_WARNING:Enabled
    [C6x_1 ]      1.854745 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    [C6x_1 ]      1.854762 s: APP: OpenVX Target kernel init ... !!!
    [C6x_1 ]      1.855083 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_1 ]      1.855098 s: UDMA Copy: Init ... !!!
    [C6x_1 ]      1.858232 s: UDMA Copy: Init ... Done !!!
    [C6x_1 ]      1.858249 s: APP: Init ... Done !!!
    [C6x_1 ]      1.859011 s: APP: Run ... !!!
    [C6x_1 ]      1.859022 s: IPC: Starting echo test ...
    [C6x_1 ]      1.860380 s: APP: Run ... Done !!!
    [C6x_1 ]      1.860734 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[s] C66X_2[.] C7X_1[P] 
    [C6x_1 ]      1.860852 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_1 ]      1.960366 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_1 ]      2.135012 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[x] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_1 ]      7.329321 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[P] C66X_1[s] C66X_2[P] C7X_1[P] 
    [C6x_2 ]      1.793893 s: CIO: Init ... Done !!!
    [C6x_2 ]      1.793925 s: ### CPU Frequency <ORG = 1350000000 Hz>, <NEW = 1350000000 Hz>
    [C6x_2 ]      1.793939 s: APP: Init ... !!!
    [C6x_2 ]      1.793948 s: 
    [C6x_2 ]      1.793954 s: C6x_2 VERSION INFO
    [C6x_2 ]      1.793962 s: =======================
    [C6x_2 ]      1.793969 s: 
    [C6x_2 ]      1.793975 s: #BUILD DATE: 2023-05-29
    [C6x_2 ]      1.793982 s: #BUILD TIME: 14:39:04
    [C6x_2 ]      1.793990 s: #BUILD USER: @4690
    [C6x_2 ]      1.793997 s: #BUILD BRANCH: murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02
    [C6x_2 ]      1.794008 s: #BUILD PROFILE: release
    [C6x_2 ]      1.794015 s: #BUILD VERSION: development
    [C6x_2 ]      1.794024 s: 
    [C6x_2 ]      1.794029 s: =======================
    [C6x_2 ]      1.794037 s: 
    [C6x_2 ]      1.794043 s: =======================
    [C6x_2 ]      1.794051 s: writing system info... base addr daff02e4 
    [C6x_2 ]      1.794060 s: date addr daff02e4 is  2023-05-29 
    [C6x_2 ]      1.794075 s: time addr daff02f0 is 14:39:04 
    [C6x_2 ]      1.794088 s: project addr daff02fc is murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02 
    [C6x_2 ]      1.794125 s: version addr daff031c is development 
    [C6x_2 ]      1.794141 s: done!
    [C6x_2 ]      1.794147 s: =======================
    [C6x_2 ]      1.794155 s: SCICLIENT: Init ... !!!
    [C6x_2 ]      1.832867 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [C6x_2 ]      1.832879 s: SCICLIENT: DMSC FW revision 0x15  
    [C6x_2 ]      1.832887 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_2 ]      1.832897 s: SCICLIENT: Init ... Done !!!
    [C6x_2 ]      1.832905 s: UDMA: Init ... !!!
    [C6x_2 ]      1.837172 s: UDMA: Init ... Done !!!
    [C6x_2 ]      1.837196 s: MEM: Init ... !!!
    [C6x_2 ]      1.837208 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ eb000000 of size 16777216 bytes !!!
    [C6x_2 ]      1.837225 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 800000 of size 229376 bytes !!!
    [C6x_2 ]      1.837240 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ ec000000 of size 50331648 bytes !!!
    [C6x_2 ]      1.837256 s: MEM: Init ... Done !!!
    [C6x_2 ]      1.837264 s: IPC: Init ... !!!
    [C6x_2 ]      1.837277 s: IPC: 8 CPUs participating in IPC !!!
    [C6x_2 ]      1.853398 s: IPC: Init ... Done !!!
    [C6x_2 ]      1.853459 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [C6x_2 ]      1.853471 s: REMOTE_SERVICE: Init ... !!!
    [C6x_2 ]      1.854028 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_2 ]      1.854060 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [C6x_2 ]      1.854101 s: [xxx] mcu2_0 i2c init start
    [C6x_2 ]      1.854117 s:  VX_ZONE_INIT:Enabled
    [C6x_2 ]      1.854127 s:  VX_ZONE_ERROR:Enabled
    [C6x_2 ]      1.854136 s:  VX_ZONE_WARNING:Enabled
    [C6x_2 ]      1.854843 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    [C6x_2 ]      1.854861 s: APP: OpenVX Target kernel init ... !!!
    [C6x_2 ]      1.855190 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_2 ]      1.855206 s: UDMA Copy: Init ... !!!
    [C6x_2 ]      1.858359 s: UDMA Copy: Init ... Done !!!
    [C6x_2 ]      1.858375 s: APP: Init ... Done !!!
    [C6x_2 ]      1.859120 s: APP: Run ... !!!
    [C6x_2 ]      1.859131 s: IPC: Starting echo test ...
    [C6x_2 ]      1.860566 s: APP: Run ... Done !!!
    [C6x_2 ]      1.860911 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[.] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      1.860950 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      1.960390 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      2.135059 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[x] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C6x_2 ]      7.329331 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[P] C66X_1[P] C66X_2[s] C7X_1[P] 
    [C7x_1 ]      1.816221 s: CIO: Init ... Done !!!
    [C7x_1 ]      1.816244 s: ### CPU Frequency <ORG = 1000000000 Hz>, <NEW = 1000000000 Hz>
    [C7x_1 ]      1.816261 s: APP: Init ... !!!
    [C7x_1 ]      1.816269 s: 
    [C7x_1 ]      1.816274 s: C7x_1 VERSION INFO
    [C7x_1 ]      1.816282 s: =======================
    [C7x_1 ]      1.816290 s: 
    [C7x_1 ]      1.816294 s: #BUILD DATE: 2023-05-29
    [C7x_1 ]      1.816302 s: #BUILD TIME: 14:39:04
    [C7x_1 ]      1.816310 s: #BUILD USER: @4690
    [C7x_1 ]      1.816317 s: #BUILD BRANCH: murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02
    [C7x_1 ]      1.816329 s: #BUILD PROFILE: release
    [C7x_1 ]      1.816336 s: #BUILD VERSION: development
    [C7x_1 ]      1.816344 s: 
    [C7x_1 ]      1.816349 s: =======================
    [C7x_1 ]      1.816356 s: 
    [C7x_1 ]      1.816362 s: =======================
    [C7x_1 ]      1.816369 s: writing system info... base addr daff032c 
    [C7x_1 ]      1.816380 s: date addr daff032c is  2023-05-29 
    [C7x_1 ]      1.816389 s: time addr daff0338 is 14:39:04 
    [C7x_1 ]      1.816398 s: project addr daff0344 is murgab_PAS/milestone/ZK_BXPECU_PAPUPP1_R05f02 
    [C7x_1 ]      1.816411 s: version addr daff0364 is development 
    [C7x_1 ]      1.816421 s: done!
    [C7x_1 ]      1.816426 s: =======================
    [C7x_1 ]      1.816434 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      1.832939 s: SCICLIENT: DMSC FW version [21.1.1--v2021.01a (Terrific Lla]
    [C7x_1 ]      1.832953 s: SCICLIENT: DMSC FW revision 0x15  
    [C7x_1 ]      1.832963 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      1.832974 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      1.832983 s: UDMA: Init ... !!!
    [C7x_1 ]      1.836197 s: UDMA: Init ... Done !!!
    [C7x_1 ]      1.836208 s: MEM: Init ... !!!
    [C7x_1 ]      1.836220 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ 100000000 of size 536870912 bytes !!!
    [C7x_1 ]      1.836242 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 4079616 bytes !!!
    [C7x_1 ]      1.836267 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 491520 bytes !!!
    [C7x_1 ]      1.836284 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!
    [C7x_1 ]      1.836301 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ ef000000 of size 268435456 bytes !!!
    [C7x_1 ]      1.836319 s: MEM: Init ... Done !!!
    [C7x_1 ]      1.836327 s: IPC: Init ... !!!
    [C7x_1 ]      1.836337 s: IPC: 8 CPUs participating in IPC !!!
    [C7x_1 ]      1.843962 s: IPC: Init ... Done !!!
    [C7x_1 ]      1.843976 s: APP: Temp skip syncing with 7 CPUs ... !!!
    [C7x_1 ]      1.843988 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]      1.844238 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]      1.844262 s: APP_INIT: uCom_To_Ipc init Func Call... !!!
    [C7x_1 ]      1.844286 s: [xxx] mcu2_0 i2c init start
    [C7x_1 ]      1.844301 s:  VX_ZONE_INIT:Enabled
    [C7x_1 ]      1.844311 s:  VX_ZONE_ERROR:Enabled
    [C7x_1 ]      1.844321 s:  VX_ZONE_WARNING:Enabled
    [C7x_1 ]      1.844521 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    [C7x_1 ]      1.844534 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]      1.844617 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]      1.844629 s: APP: Init ... Done !!!
    [C7x_1 ]      1.844638 s: APP: Run ... !!!
    [C7x_1 ]      1.844646 s: IPC: Starting echo test ...
    [C7x_1 ]      1.845178 s: APP: Run ... Done !!!
    [C7x_1 ]      1.860734 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[P] C66X_2[.] C7X_1[s] 
    [C7x_1 ]      1.860903 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] C66X_1[P] C66X_2[P] C7X_1[s] 
    [C7x_1 ]      1.960411 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] C66X_1[P] C66X_2[P] C7X_1[s] 
    [C7x_1 ]      2.135100 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[x] C66X_1[P] C66X_2[P] C7X_1[s] 
    [C7x_1 ]      7.329347 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] mcu3_0[P] C66X_1[P] C66X_2[P] C7X_1[s] 
    ==============current system time: Thu Jan  1 00:00:08 1970==============
    [MCU2_0]      9.479143 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.479232 s:  nodePrms->frame_count = [0x0009] 
    [MCU2_0]      9.479271 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]      9.479309 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x02aa] 
    [MCU2_0]      9.479351 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.479392 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.479431 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x04ba] 
    [MCU2_0]      9.479473 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x1770] 
    [MCU2_0]      9.479502 s:  
    [MCU2_0]      9.479711 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.479783 s:  nodePrms->frame_count = [0x0009] 
    [MCU2_0]      9.479816 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]      9.479851 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0200] 
    [MCU2_0]      9.479891 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.479931 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.480052 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x0200] 
    [MCU2_0]      9.480108 s:  ae_awb_result_prev_target_ptr->color_temperature = [0xffffffff] 
    [MCU2_0]      9.480140 s:  
    [MCU2_0]      9.480214 s:   [decode_h3a_header_dcc] 
    [MCU2_0]      9.480384 s:   [parse_h3a_out] 
    [MCU2_0]      9.480472 s:   [h3a_merge] 
    [MCU2_0]      9.480826 s:   [h3a_normalize] 
    [MCU2_0]      9.480880 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]      9.481099 s:   [AE_TI_process] 
    [MCU2_0]      9.509367 s:   [sendExpGainToSensor] 
    [MCU2_0]      9.509497 s:   [getWbstausPrgFromSensor] [after memcpy] [data from sensor]  _count = [9] 
    [MCU2_0]      9.509684 s:  p_Apply_AWB_Status->chId = [0x0001] 
    [MCU2_0]      9.509732 s:  p_Apply_AWB_Status->Apply_AWB_Sensor_Gain = [0x0158] 
    [MCU2_0]      9.509772 s:  p_Apply_AWB_Status->AWB_Prev_Rgain = [0xffff] 
    [MCU2_0]      9.509808 s:  p_Apply_AWB_Status->AWB_Prev_Bgain = [0xffff] 
    [MCU2_0]      9.509834 s:  
    [MCU2_0]      9.509867 s:   [tivxAewbProcess] [ AWB_Status == 0] 
    [MCU2_0]      9.509907 s:  ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0xffff 
    [MCU2_0]      9.509951 s:  ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200 
    [MCU2_0]      9.509993 s:  ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0xffff 
    [MCU2_0]      9.510020 s:  
    [MCU2_0]      9.510051 s:   [tivxAewbProcess] [before AWB_TI_process] 
    [MCU2_0]      9.510085 s:  aewb_config->channel_id = [1] 
    [MCU2_0]      9.510116 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0000 
    [MCU2_0]      9.510151 s:  nodePrms->p_awb_params->stab_gain_R = 0x0000 
    [MCU2_0]      9.510186 s:  nodePrms->p_awb_params->stab_gain_G = 0x0000 
    [MCU2_0]      9.510220 s:  nodePrms->p_awb_params->stab_gain_B = 0x0000 
    [MCU2_0]      9.510244 s:  
    [MCU2_0]      9.510348 s:  [before TI_AWB_do] 
    [MCU2_0]      9.510376 s:   _ti_count = [1] 
    [MCU2_0]      9.510400 s:  stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.510424 s:  stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.510449 s:  stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.510474 s:  stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.510499 s:  stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]      9.510526 s:  stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.510717 s:  stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.510758 s:  stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.510787 s:  stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.510813 s:  stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.510839 s:  stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.510864 s:  stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.510888 s:  stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.510913 s:  stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.510938 s:  stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.510964 s:  stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.510989 s:  stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.511014 s:  stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.511039 s:  stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.511064 s:  stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.511090 s:  stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.511114 s:  stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.511139 s:  stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.511163 s:  stab_gain_B_5 = [0x0000] 
    [MCU2_0]      9.511188 s:  stab_color_temp_5 = [0x0000] 
    [MCU2_0]      9.511344 s:  stab_init_cnt_6 = [0x0000] 
    [MCU2_0]      9.511379 s:  stab_gain_R_6 = [0x0000] 
    [MCU2_0]      9.511405 s:  stab_gain_G_6 = [0x0000] 
    [MCU2_0]      9.511431 s:  stab_gain_B_6 = [0x0000] 
    [MCU2_0]      9.511456 s:  stab_color_temp_6 = [0x0000] 
    [MCU2_0]      9.515376 s:   [after TI_AWB_do] [p_awb_params] 
    [MCU2_0]      9.515447 s:   _ti_count = [1] 
    [MCU2_0]      9.515477 s:  out_stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.515505 s:  out_stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.515532 s:  out_stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.515667 s:  out_stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.515706 s:  out_stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]      9.515737 s:  out_stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.515765 s:  out_stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.515792 s:  out_stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.515819 s:  out_stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.515904 s:  out_stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.515950 s:  out_stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.515983 s:  out_stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.516012 s:  out_stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.516039 s:  out_stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.516067 s:  out_stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.516095 s:  out_stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.516122 s:  out_stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.516148 s:  out_stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.516175 s:  out_stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.516202 s:  out_stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.516230 s:  out_stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.516257 s:  out_stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.516284 s:  out_stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.516311 s:  out_stab_gain_B_5 = [0x0000] 
    [MCU2_0]      9.516338 s:  out_stab_color_temp_5 = [0x0000] 
    [MCU2_0]      9.516366 s:  out_stab_init_cnt_6 = [0x0000] 
    [MCU2_0]      9.516392 s:  out_stab_gain_R_6 = [0x0000] 
    [MCU2_0]      9.516419 s:  out_stab_gain_G_6 = [0x0000] 
    [MCU2_0]      9.516445 s:  out_stab_gain_B_6 = [0x0000] 
    [MCU2_0]      9.516472 s:  out_stab_color_temp_6 = [0x0000] 
    [MCU2_0]      9.516537 s:    [AWB_TI_process] [after TI_AWB_do] [awb_data_out] 
    [MCU2_0]      9.516660 s:   _ti_count = [1] 
    [MCU2_0]      9.516694 s:  do_gain_Gr_1 = [0x0100] 
    [MCU2_0]      9.516721 s:  do_gain_R_1 = [0x43ee] 
    [MCU2_0]      9.516747 s:  do_gain_Gb_1 = [0x0100] 
    [MCU2_0]      9.516774 s:  do_gain_B_1 = [0x3b24] 
    [MCU2_0]      9.516799 s:  do_awb_idx_1 = [0x001d] 
    [MCU2_0]      9.516827 s:  do_color_temperature_estim_1 = [0x137d] 
    [MCU2_0]      9.516856 s:  do_SB_count_1 = [0x0001] 
    [MCU2_0]      9.516880 s:  do_gain_Gr_2 = [0x0000] 
    [MCU2_0]      9.516956 s:  do_gain_R_2 = [0x0000] 
    [MCU2_0]      9.516987 s:  do_gain_Gb_2 = [0x0000] 
    [MCU2_0]      9.517015 s:  do_gain_B_2 = [0x0000] 
    [MCU2_0]      9.517043 s:  do_awb_idx_2 = [0x0000] 
    [MCU2_0]      9.517073 s:  do_color_temperature_estim_2 = [0x0000] 
    [MCU2_0]      9.517102 s:  do_SB_count_2 = [0x0000] 
    [MCU2_0]      9.517126 s:  do_gain_Gr_3 = [0x0000] 
    [MCU2_0]      9.517150 s:  do_gain_R_3 = [0x0000] 
    [MCU2_0]      9.517173 s:  do_gain_Gb_3 = [0x0000] 
    [MCU2_0]      9.517196 s:  do_gain_B_3 = [0x0000] 
    [MCU2_0]      9.517220 s:  do_awb_idx_3 = [0x0000] 
    [MCU2_0]      9.517247 s:  do_color_temperature_estim_3 = [0x0000] 
    [MCU2_0]      9.517275 s:  do_SB_count_3 = [0x0000] 
    [MCU2_0]      9.517300 s:  do_gain_Gr_4 = [0x0000] 
    [MCU2_0]      9.517323 s:  do_gain_R_4 = [0x0000] 
    [MCU2_0]      9.517347 s:  do_gain_Gb_4 = [0x0000] 
    [MCU2_0]      9.517371 s:  do_gain_B_4 = [0x0000] 
    [MCU2_0]      9.517394 s:  do_awb_idx_4 = [0x0000] 
    [MCU2_0]      9.517422 s:  do_color_temperature_estim_4 = [0x0000] 
    [MCU2_0]      9.517450 s:  do_SB_count_4 = [0x0000] 
    [MCU2_0]      9.517474 s:  do_gain_Gr_5 = [0x0000] 
    [MCU2_0]      9.517497 s:  do_gain_R_5 = [0x0000] 
    [MCU2_0]      9.517521 s:  do_gain_Gb_5 = [0x0000] 
    [MCU2_0]      9.517720 s:  do_gain_B_5 = [0x0000] 
    [MCU2_0]      9.517757 s:  do_awb_idx_5 = [0x0000] 
    [MCU2_0]      9.517788 s:  do_color_temperature_estim_5 = [0x0000] 
    [MCU2_0]      9.517818 s:  do_SB_count_5 = [0x0000] 
    [MCU2_0]      9.517843 s:  do_gain_Gr_6 = [0x0000] 
    [MCU2_0]      9.517868 s:  do_gain_R_6 = [0x0000] 
    [MCU2_0]      9.517892 s:  do_gain_Gb_6 = [0x0000] 
    [MCU2_0]      9.517917 s:  do_gain_B_6 = [0x0000] 
    [MCU2_0]      9.517995 s:  do_awb_idx_6 = [0x0000] 
    [MCU2_0]      9.518032 s:  do_color_temperature_estim_6 = [0x0000] 
    [MCU2_0]      9.518063 s:  do_SB_count_6 = [0x0000] 
    [MCU2_0]      9.518081 s:  
    [MCU2_0]      9.518264 s:   [tivxAewbProcess] [after AWB_TI_process] 
    [MCU2_0]      9.518319 s:  aewb_config->channel_id = [1] 
    [MCU2_0]      9.518355 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0001 
    [MCU2_0]      9.518395 s:  nodePrms->p_awb_params->stab_gain_R = 0x43ee 
    [MCU2_0]      9.518431 s:  nodePrms->p_awb_params->stab_gain_G = 0x0100 
    [MCU2_0]      9.518467 s:  nodePrms->p_awb_params->stab_gain_B = 0x3b24 
    [MCU2_0]      9.518491 s:  
    [MCU2_0]      9.524358 s: [  debug] 
    [MCU2_0]      9.524428 s:   _frame_1_bGain = [0x03a0]  
    [MCU2_0]      9.524463 s:   _frame_1_AWB_Prev_Bgain_au32 = [0x0200] 
    [MCU2_0]      9.525264 s:   _frame_2_bGain = [0xffff]  
    [MCU2_0]      9.525346 s:   _frame_2_AWB_Prev_Bgain_au32 = [0x03a0] 
    [MCU2_0]      9.525387 s:   _frame_3_bGain = [0xffff]  
    [MCU2_0]      9.525421 s:   _frame_3_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]      9.525454 s:   _frame_4_bGain = [0xffff]  
    [MCU2_0]      9.525485 s:   _frame_4_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]      9.525517 s:   _frame_5_bGain = [0x7648]  
    [MCU2_0]      9.525639 s:   _frame_5_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]      9.525684 s:   _frame_6_bGain = [0x0000]  
    [MCU2_0]      9.525719 s:   _frame_6_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.525752 s:   _frame_7_bGain = [0x0000]  
    [MCU2_0]      9.525785 s:   _frame_7_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.525819 s:   _frame_8_bGain = [0x0000]  
    [MCU2_0]      9.525852 s:   _frame_8_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.525886 s:   _frame_9_bGain = [0x0000]  
    [MCU2_0]      9.525919 s:   _frame_9_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.525953 s:   _frame_10_bGain = [0x0000]  
    [MCU2_0]      9.525988 s:   _frame_10_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.526022 s:   _frame_11_bGain = [0x0000]  
    [MCU2_0]      9.526056 s:   _frame_11_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.526090 s:   _frame_12_bGain = [0x0000]  
    [MCU2_0]      9.526124 s:   _frame_12_AWB_Prev_Bgain_au32 = [0x0000] 
    [MCU2_0]      9.526149 s:  
    [MCU2_0]      9.528102 s:   [sendWbGainToSensor] 
    [MCU2_0]      9.528228 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x87dc awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x7648 
    [MCU2_0]      9.528383 s:   [sendAewbToViss] 
    [MCU2_0]      9.528448 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]      9.528625 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]      9.528828 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.528885 s:  nodePrms->frame_count = [0x0009] 
    [MCU2_0]      9.528916 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]      9.528950 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03aa] 
    [MCU2_0]      9.528990 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.529029 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.529069 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03ce] 
    [MCU2_0]      9.529110 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x13c9] 
    [MCU2_0]      9.529138 s:  
    [MCU2_0]      9.529225 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.529274 s:  nodePrms->frame_count = [0x0009] 
    [MCU2_0]      9.529307 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]      9.529424 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0308] 
    [MCU2_0]      9.529478 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.529521 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.529673 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x044a] 
    [MCU2_0]      9.529729 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x17cd] 
    [MCU2_0]      9.529761 s:  
    [MCU2_0]      9.530099 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]      9.530175 s:  nodePrms->frame_count = [0x000a] 
    [MCU2_0]      9.530213 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]      9.530249 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x02aa] 
    [MCU2_0]      9.530292 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]      9.530332 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]      9.530462 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x04ba] 
    [MCU2_0]      9.530524 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x1770] 
    [MCU2_0]      9.530662 s:  
    [MCU2_0]      9.530762 s:   [decode_h3a_header_dcc] 
    [MCU2_0]      9.530933 s:   [parse_h3a_out] 
    [MCU2_0]      9.531024 s:   [h3a_merge] 
    [MCU2_0]      9.531135 s:   [h3a_normalize] 
    [MCU2_0]      9.531165 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]      9.531277 s:   [AE_TI_process] 
    [MCU2_0]      9.531378 s:   [sendExpGainToSensor] 
    [MCU2_0]      9.531655 s:   [getWbstausPrgFromSensor] [after memcpy] [data from sensor]  _count = [9] 
    [MCU2_0]      9.531732 s:  p_Apply_AWB_Status->chId = [0x0001] 
    [MCU2_0]      9.531771 s:  p_Apply_AWB_Status->Apply_AWB_Sensor_Gain = [0x015d] 
    [MCU2_0]      9.531809 s:  p_Apply_AWB_Status->AWB_Prev_Rgain = [0x039e] 
    [MCU2_0]      9.531845 s:  p_Apply_AWB_Status->AWB_Prev_Bgain = [0x03a0] 
    [MCU2_0]      9.531869 s:  
    [MCU2_0]      9.531906 s:   [tivxAewbProcess] [ AWB_Status == 0] 
    [MCU2_0]      9.531947 s:  ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x039e 
    [MCU2_0]      9.531989 s:  ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200 
    [MCU2_0]      9.532031 s:  ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x03a0 
    [MCU2_0]      9.532058 s:  
    [MCU2_0]      9.532091 s:   [tivxAewbProcess] [before AWB_TI_process] 
    [MCU2_0]      9.532126 s:  aewb_config->channel_id = [0] 
    [MCU2_0]      9.532158 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0001 
    [MCU2_0]      9.532193 s:  nodePrms->p_awb_params->stab_gain_R = 0x025d 
    [MCU2_0]      9.532228 s:  nodePrms->p_awb_params->stab_gain_G = 0x0100 
    [MCU2_0]      9.532263 s:  nodePrms->p_awb_params->stab_gain_B = 0x0155 
    [MCU2_0]      9.532287 s:  
    [MCU2_0]      9.532384 s:  [before TI_AWB_do] 
    [MCU2_0]      9.532416 s:   _ti_count = [2] 
    [MCU2_0]      9.532441 s:  stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.532467 s:  stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.532491 s:  stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.532695 s:  stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.532731 s:  stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]      9.532760 s:  stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.532786 s:  stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.532810 s:  stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.532834 s:  stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.532860 s:  stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.532886 s:  stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.532911 s:  stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.532935 s:  stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.532959 s:  stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.532984 s:  stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.533010 s:  stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.533035 s:  stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.533059 s:  stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.533083 s:  stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.533108 s:  stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.533134 s:  stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.533159 s:  stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.533183 s:  stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.533207 s:  stab_gain_B_5 = [0x0000] 
    [MCU2_0]      9.533232 s:  stab_color_temp_5 = [0x0000] 
    [MCU2_0]      9.533259 s:  stab_init_cnt_6 = [0x0000] 
    [MCU2_0]      9.533284 s:  stab_gain_R_6 = [0x0000] 
    [MCU2_0]      9.533309 s:  stab_gain_G_6 = [0x0000] 
    [MCU2_0]      9.533333 s:  stab_gain_B_6 = [0x0000] 
    [MCU2_0]      9.533358 s:  stab_color_temp_6 = [0x0000] 
    [MCU2_0]      9.537240 s:   [after TI_AWB_do] [p_awb_params] 
    [MCU2_0]      9.537322 s:   _ti_count = [2] 
    [MCU2_0]      9.537358 s:  out_stab_init_cnt_1 = [0x0000] 
    [MCU2_0]      9.537390 s:  out_stab_gain_R_1 = [0x0000] 
    [MCU2_0]      9.537417 s:  out_stab_gain_G_1 = [0x0000] 
    [MCU2_0]      9.537444 s:  out_stab_gain_B_1 = [0x0000] 
    [MCU2_0]      9.537473 s:  out_stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]      9.537503 s:  out_stab_init_cnt_2 = [0x0000] 
    [MCU2_0]      9.537530 s:  out_stab_gain_R_2 = [0x0000] 
    [MCU2_0]      9.537693 s:  out_stab_gain_G_2 = [0x0000] 
    [MCU2_0]      9.537734 s:  out_stab_gain_B_2 = [0x0000] 
    [MCU2_0]      9.537767 s:  out_stab_color_temp_2 = [0x0000] 
    [MCU2_0]      9.537796 s:  out_stab_init_cnt_3 = [0x0000] 
    [MCU2_0]      9.537824 s:  out_stab_gain_R_3 = [0x0000] 
    [MCU2_0]      9.537852 s:  out_stab_gain_G_3 = [0x0000] 
    [MCU2_0]      9.537967 s:  out_stab_gain_B_3 = [0x0000] 
    [MCU2_0]      9.538011 s:  out_stab_color_temp_3 = [0x0000] 
    [MCU2_0]      9.538042 s:  out_stab_init_cnt_4 = [0x0000] 
    [MCU2_0]      9.538070 s:  out_stab_gain_R_4 = [0x0000] 
    [MCU2_0]      9.538097 s:  out_stab_gain_G_4 = [0x0000] 
    [MCU2_0]      9.538124 s:  out_stab_gain_B_4 = [0x0000] 
    [MCU2_0]      9.538152 s:  out_stab_color_temp_4 = [0x0000] 
    [MCU2_0]      9.538180 s:  out_stab_init_cnt_5 = [0x0000] 
    [MCU2_0]      9.538208 s:  out_stab_gain_R_5 = [0x0000] 
    [MCU2_0]      9.538235 s:  out_stab_gain_G_5 = [0x0000] 
    [MCU2_0]      9.539286 s:  
    [MCU2_0]     10.453853 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.453953 s:  nodePrms->frame_count = [0x0021] 
    [MCU2_0]     10.453993 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     10.454033 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x032e] 
    [MCU2_0]     10.454077 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.454121 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.454161 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03fe] 
    [MCU2_0]     10.454203 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x16ae] 
    [MCU2_0]     10.454231 s:  
    [MCU2_0]     10.454329 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.454387 s:  nodePrms->frame_count = [0x0021] 
    [MCU2_0]     10.454424 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     10.454462 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x473a] 
    [MCU2_0]     10.454751 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.454815 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.454860 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x581e] 
    [MCU2_0]     10.454904 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.454933 s:  
    [MCU2_0]     10.455005 s:   [decode_h3a_header_dcc] 
    [MCU2_0]     10.455168 s:   [parse_h3a_out] 
    [MCU2_0]     10.455246 s:   [h3a_merge] 
    [MCU2_0]     10.455353 s:   [h3a_normalize] 
    [MCU2_0]     10.455385 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]     10.455494 s:   [AE_TI_process] 
    [C6x_1 ]     10.311532 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/target/od_dataproc_four/src/od_dataproc_fw_four.cpp:187] ccvxOdFourDataprocCreate()	ccvxOdFourDataprocCreate 187 enter @ 
    [C6x_1 ]     10.311584 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:316] FrameworkShowDSPVertion()	Calmcar dsp version is V_3.0.3, Compile time is May 27 2023 21:25:08
    [C6x_1 ]     10.311628 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/target/od_dataproc_four/src/od_dataproc_api_four.cpp:39] OdFourDataprocInit()		OdFourDataprocInit,39 size = 640,448, bit = 3
    [C6x_1 ]     10.311658 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/target/od_dataproc_four/src/od_dataproc_api_four.cpp:46] OdFourDataprocInit()		OdFourDataprocInit,46 pad = 1,1,0,2
    [C6x_1 ]     10.311688 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/target/od_dataproc_four/src/od_dataproc_fw_four.cpp:325] ccvxOdFourDataprocCreate()	 ccvxOdFourDataprocCreate : udma init begin 
    [C6x_1 ]     10.336138 s: 
    [C6x_1 ]     10.336193 s: 
    [C6x_1 ]     10.336232 s: 
    [C6x_1 ]     10.336242 s: 
    [C6x_1 ]     10.336252 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.340477 s: 
    [C6x_1 ]     10.340522 s: 
    [C6x_1 ]     10.340561 s: 
    [C6x_1 ]     10.340572 s: 
    [C6x_1 ]     10.340582 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.342434 s: 
    [C6x_1 ]     10.342446 s: 
    [C6x_1 ]     10.342459 s: 
    [C6x_1 ]     10.342465 s: 
    [C6x_1 ]     10.342471 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.347415 s: 
    [C6x_1 ]     10.347429 s: 
    [C6x_1 ]     10.347441 s: 
    [C6x_1 ]     10.347446 s: 
    [C6x_1 ]     10.347452 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.347465 s: (�
    [C6x_1 ]     10.347472 s: (�
    [C6x_1 ]     10.347480 s: (�
    [C6x_1 ]     10.347486 s: (�
    [C6x_1 ]     10.351141 s: 
    [C6x_1 ]     10.351156 s: 
    [C6x_1 ]     10.351174 s: 
    [C6x_1 ]     10.351180 s: 
    [C6x_1 ]     10.351187 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.351202 s: (�
    [C6x_1 ]     10.351208 s: (�
    [C6x_1 ]     10.351217 s: (�
    [C6x_1 ]     10.351223 s: (�
    [C6x_1 ]     10.355057 s: 
    [C6x_1 ]     10.355095 s: 
    [C6x_1 ]     10.355116 s: 
    [C6x_1 ]     10.355126 s: 
    [C6x_1 ]     10.355136 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.355155 s: (�
    [C6x_1 ]     10.355164 s: (�
    [C6x_1 ]     10.355175 s: (�
    [C6x_1 ]     10.355183 s: (�
    [C6x_1 ]     10.356730 s: 
    [C6x_1 ]     10.356766 s: 
    [C6x_1 ]     10.356785 s: 
    [C6x_1 ]     10.356794 s: 
    [C6x_1 ]     10.356804 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.356826 s: (�
    [C6x_1 ]     10.356841 s: (�
    [C6x_1 ]     10.356855 s: (�
    [C6x_1 ]     10.356864 s: (�
    [C6x_1 ]     10.360929 s: 
    [C6x_1 ]     10.360964 s: 
    [C6x_1 ]     10.360987 s: 
    [C6x_1 ]     10.360995 s: 
    [C6x_1 ]     10.361004 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.361023 s: (�
    [C6x_1 ]     10.361033 s: (�
    [C6x_1 ]     10.361045 s: (�
    [C6x_1 ]     10.361054 s: (�
    [C6x_1 ]     10.365051 s: 
    [C6x_1 ]     10.365063 s: 
    [C6x_1 ]     10.365074 s: 
    [C6x_1 ]     10.365080 s: 
    [C6x_1 ]     10.365086 s: UDMA : ERROR: TR event register failed!!
    [C6x_1 ]     10.365098 s: (�
    [C6x_1 ]     10.365105 s: (�
    [C6x_1 ]     10.365113 s: (�
    [C6x_1 ]     10.365120 s: (�
    [C6x_1 ]     10.365523 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:78] FrameworkCreatUDMACh()	calmcar : Creat udma channel 0 have success
    [C6x_1 ]     10.365550 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:78] FrameworkCreatUDMACh()	calmcar : Creat udma channel 1 have success
    [C6x_1 ]     10.365575 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:84] FrameworkCreatUDMACh()	calmcar : Creat dru channel 8 have success
    [C6x_1 ]     10.365600 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:84] FrameworkCreatUDMACh()	calmcar : Creat dru channel 9 have success
    [C6x_1 ]     10.365625 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:84] FrameworkCreatUDMACh()	calmcar : Creat dru channel 10 have success
    [C6x_1 ]     10.365651 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:84] FrameworkCreatUDMACh()	calmcar : Creat dru channel 11 have success
    [C6x_1 ]     10.365676 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:84] FrameworkCreatUDMACh()	calmcar : Creat dru channel 12 have success
    [C6x_1 ]     10.365703 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/common/platform/mly_udma_resource.cpp:94] FrameworkCreatUDMACh()	calmcar : FrameworkCreatUDMACh count time is 54 ms
    [C6x_1 ]     10.365736 s: /home/gitlab-runner/builds/aM_Ur9zp/1/zeekr_tda4/calmcar_apa_vision/zf_sdk/vision_apps/kernels/calmcar/vision_process/framework/target/od_dataproc_four/src/od_dataproc_fw_four.cpp:360] ccvxOdFourDataprocCreate()	ccvxOdFourDataprocCreate 360 return @ 
    [C7x_1 ]     10.463497 s:  VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process
    ==============current system time: Thu Jan  1 00:01:08 1970==============
    [MCU2_0]     10.483941 s:   [sendExpGainToSensor] 
    [MCU2_0]     10.490975 s: [  debug] 
    [MCU2_0]     10.491064 s:   _frame_1_bGain = [0x03a0]  
    [MCU2_0]     10.491106 s:   _frame_1_AWB_Prev_Bgain_au32 = [0x0200] 
    [MCU2_0]     10.491139 s:   _frame_2_bGain = [0xffff]  
    [MCU2_0]     10.491170 s:   _frame_2_AWB_Prev_Bgain_au32 = [0x03a0] 
    [MCU2_0]     10.491202 s:   _frame_3_bGain = [0xffff]  
    [MCU2_0]     10.491233 s:   _frame_3_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.491265 s:   _frame_4_bGain = [0xffff]  
    [MCU2_0]     10.491297 s:   _frame_4_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.491329 s:   _frame_5_bGain = [0x7648]  
    [MCU2_0]     10.491360 s:   _frame_5_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.491392 s:   _frame_6_bGain = [0x7648]  
    [MCU2_0]     10.491423 s:   _frame_6_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.491455 s:   _frame_7_bGain = [0x7648]  
    [MCU2_0]     10.491486 s:   _frame_7_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.491518 s:   _frame_8_bGain = [0x7648]  
    [MCU2_0]     10.491661 s:   _frame_8_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.491705 s:   _frame_9_bGain = [0x5708]  
    [MCU2_0]     10.491852 s:   _frame_9_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.491897 s:   _frame_10_bGain = [0x5708]  
    [MCU2_0]     10.491934 s:   _frame_10_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.492906 s:   _frame_11_bGain = [0x5708]  
    [MCU2_0]     10.492970 s:   _frame_11_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.493007 s:   _frame_12_bGain = [0x5708]  
    [MCU2_0]     10.493042 s:   _frame_12_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.493068 s:  
    [MCU2_0]     10.495155 s:   [sendWbGainToSensor] 
    [MCU2_0]     10.495277 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x581e awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x473a 
    [MCU2_0]     10.495382 s:   [sendAewbToViss] 
    [MCU2_0]     10.495438 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]     10.495644 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]     10.495982 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.496065 s:  nodePrms->frame_count = [0x0021] 
    [MCU2_0]     10.496103 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     10.496140 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03ba] 
    [MCU2_0]     10.496180 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.496220 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.496261 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03f0] 
    [MCU2_0]     10.496303 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0ed8] 
    [MCU2_0]     10.496331 s:  
    [MCU2_0]     10.496683 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.496777 s:  nodePrms->frame_count = [0x0021] 
    [MCU2_0]     10.496815 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]     10.496854 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0343] 
    [MCU2_0]     10.496972 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.497023 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.497066 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03c3] 
    [MCU2_0]     10.497110 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.497141 s:  
    [MCU2_0]     10.497397 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.497466 s:  nodePrms->frame_count = [0x0022] 
    [MCU2_0]     10.497501 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     10.497537 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x032e] 
    [MCU2_0]     10.497704 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.497759 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.497802 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03fe] 
    [MCU2_0]     10.497847 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x16ae] 
    [MCU2_0]     10.497876 s:  
    [MCU2_0]     10.498059 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.498134 s:  nodePrms->frame_count = [0x0022] 
    [MCU2_0]     10.498173 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     10.498212 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x473a] 
    [MCU2_0]     10.498256 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.498296 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.498337 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x581e] 
    [MCU2_0]     10.498380 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.499321 s:  
    [MCU2_0]     10.499999 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.500095 s:  nodePrms->frame_count = [0x0022] 
    [MCU2_0]     10.500135 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     10.500171 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03ba] 
    [MCU2_0]     10.500211 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.500253 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.500393 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03f0] 
    [MCU2_0]     10.500452 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0ed8] 
    [MCU2_0]     10.500482 s:  
    [MCU2_0]     10.500801 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.500887 s:  nodePrms->frame_count = [0x0022] 
    [MCU2_0]     10.500920 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]     10.500957 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0343] 
    [MCU2_0]     10.500998 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.501038 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.501078 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03c3] 
    [MCU2_0]     10.501120 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.501150 s:  
    [MCU2_0]     10.533939 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.534125 s:  nodePrms->frame_count = [0x0023] 
    [MCU2_0]     10.534173 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     10.534213 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x032e] 
    [MCU2_0]     10.534257 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.534297 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.534337 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03fe] 
    [MCU2_0]     10.534379 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x16ae] 
    [MCU2_0]     10.534408 s:  
    [MCU2_0]     10.534518 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.535136 s:  nodePrms->frame_count = [0x0023] 
    [MCU2_0]     10.535211 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     10.535256 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x473a] 
    [MCU2_0]     10.535300 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.535343 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.535385 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x581e] 
    [MCU2_0]     10.535427 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.535456 s:  
    [MCU2_0]     10.535685 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.535770 s:  nodePrms->frame_count = [0x0023] 
    [MCU2_0]     10.535882 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     10.535947 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03ba] 
    [MCU2_0]     10.535997 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.536043 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.536087 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03f0] 
    [MCU2_0]     10.536128 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0ed8] 
    [MCU2_0]     10.536157 s:  
    [MCU2_0]     10.536266 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.536326 s:  nodePrms->frame_count = [0x0023] 
    [MCU2_0]     10.536360 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]     10.536395 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0343] 
    [MCU2_0]     10.536436 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.536476 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.536516 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03c3] 
    [MCU2_0]     10.536689 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.536728 s:  
    [MCU2_0]     10.572949 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.573115 s:  nodePrms->frame_count = [0x0024] 
    [MCU2_0]     10.573157 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     10.573197 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x032e] 
    [MCU2_0]     10.573238 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.573280 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.573319 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03fe] 
    [MCU2_0]     10.573361 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x16ae] 
    [MCU2_0]     10.573389 s:  
    [MCU2_0]     10.573482 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.573536 s:  nodePrms->frame_count = [0x0024] 
    [MCU2_0]     10.573670 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     10.573712 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x473a] 
    [MCU2_0]     10.573759 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.573801 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.573844 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x581e] 
    [MCU2_0]     10.573886 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.573916 s:  
    [MCU2_0]     10.573985 s:   [decode_h3a_header_dcc] 
    [MCU2_0]     10.574197 s:   [parse_h3a_out] 
    [MCU2_0]     10.574287 s:   [h3a_merge] 
    [MCU2_0]     10.574400 s:   [h3a_normalize] 
    [MCU2_0]     10.574430 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]     10.574653 s:   [AE_TI_process] 
    [MCU2_0]     10.601340 s:   [sendExpGainToSensor] 
    [MCU2_0]     10.609694 s: [  debug] 
    [MCU2_0]     10.609778 s:   _frame_1_bGain = [0x03a0]  
    [MCU2_0]     10.609823 s:   _frame_1_AWB_Prev_Bgain_au32 = [0x0200] 
    [MCU2_0]     10.609861 s:   _frame_2_bGain = [0xffff]  
    [MCU2_0]     10.609893 s:   _frame_2_AWB_Prev_Bgain_au32 = [0x03a0] 
    [MCU2_0]     10.609926 s:   _frame_3_bGain = [0xffff]  
    [MCU2_0]     10.610035 s:   _frame_3_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.610088 s:   _frame_4_bGain = [0xffff]  
    [MCU2_0]     10.610129 s:   _frame_4_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.610163 s:   _frame_5_bGain = [0x7648]  
    [MCU2_0]     10.610198 s:   _frame_5_AWB_Prev_Bgain_au32 = [0xffff] 
    [MCU2_0]     10.610231 s:   _frame_6_bGain = [0x7648]  
    [MCU2_0]     10.610263 s:   _frame_6_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.610296 s:   _frame_7_bGain = [0x7648]  
    [MCU2_0]     10.610327 s:   _frame_7_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.610359 s:   _frame_8_bGain = [0x7648]  
    [MCU2_0]     10.610391 s:   _frame_8_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.610423 s:   _frame_9_bGain = [0x5708]  
    [MCU2_0]     10.610455 s:   _frame_9_AWB_Prev_Bgain_au32 = [0x7648] 
    [MCU2_0]     10.610487 s:   _frame_10_bGain = [0x5708]  
    [MCU2_0]     10.610519 s:   _frame_10_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.610681 s:   _frame_11_bGain = [0x5708]  
    [MCU2_0]     10.610729 s:   _frame_11_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.610771 s:   _frame_12_bGain = [0x5708]  
    [MCU2_0]     10.610807 s:   _frame_12_AWB_Prev_Bgain_au32 = [0x5708] 
    [MCU2_0]     10.610835 s:  
    [MCU2_0]     10.614258 s:   [sendWbGainToSensor] 
    [MCU2_0]     10.614497 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x581e awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x473a 
    [MCU2_0]     10.614888 s:   [sendAewbToViss] 
    [MCU2_0]     10.614976 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]     10.615089 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]     10.615273 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.615328 s:  nodePrms->frame_count = [0x0024] 
    [MCU2_0]     10.615362 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     10.615400 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03ba] 
    [MCU2_0]     10.615526 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.615701 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.615751 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03f0] 
    [MCU2_0]     10.615796 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0ed8] 
    [MCU2_0]     10.615825 s:  
    [MCU2_0]     10.615935 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.615995 s:  nodePrms->frame_count = [0x0024] 
    [MCU2_0]     10.616030 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]     10.616066 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0343] 
    [MCU2_0]     10.616108 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.616151 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.616192 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03c3] 
    [MCU2_0]     10.616233 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.616262 s:  
    [MCU2_0]     10.616490 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.616755 s:  nodePrms->frame_count = [0x0025] 
    [MCU2_0]     10.616805 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     10.616848 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x032e] 
    [MCU2_0]     10.616892 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.616932 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.616972 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03fe] 
    [MCU2_0]     10.617015 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x16ae] 
    [MCU2_0]     10.617044 s:  
    [MCU2_0]     10.617301 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.617381 s:  nodePrms->frame_count = [0x0025] 
    [MCU2_0]     10.617419 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     10.617457 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x473a] 
    [MCU2_0]     10.617500 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.617541 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.617785 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x581e] 
    [MCU2_0]     10.617836 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.617867 s:  
    [MCU2_0]     10.618132 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.618213 s:  nodePrms->frame_count = [0x0025] 
    [MCU2_0]     10.618253 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     10.618294 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x03ba] 
    [MCU2_0]     10.618337 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.618378 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.618421 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03f0] 
    [MCU2_0]     10.618465 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0ed8] 
    [MCU2_0]     10.618496 s:  
    [MCU2_0]     10.618770 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     10.618851 s:  nodePrms->frame_count = [0x0025] 
    [MCU2_0]     10.618886 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]     10.618923 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0343] 
    [MCU2_0]     10.620142 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     10.620223 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     10.620271 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x03c3] 
    [MCU2_0]     10.620316 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x137d] 
    [MCU2_0]     10.620345 s:  
    [MCU2_0]     10.620428 s:   [decode_h3a_header_dcc] 
    [MCU2_0]     10.620886 s:   [parse_h3a_out] 
    [MCU2_0]     10.621012 s:   [h3a_merge] 
    [MCU2_0]     10.621236 s:   [h3a_normalize] 
    [MCU2_0]     10.621286 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]     10.621422 s:   [AE_TI_process] 
    [MCU2_0]     10.621655 s:   [sendExpGainToSensor] 
    [MCU2_0]     10.621783 s:   [getWbstausPrgFromSensor] [after memcpy] [data from sensor]  _count = [37] 
    [MCU2_0]     10.621843 s:  p_Apply_AWB_Status->chId = [0x0001] 
    [MCU2_0]     10.621885 s:  p_Apply_AWB_Status->Apply_AWB_Sensor_Gain = [0x0141] 
    [MCU2_0]     10.621923 s:  p_Apply_AWB_Status->AWB_Prev_Rgain = [0x03c3] 
    [MCU2_0]     10.621960 s:  p_Apply_AWB_Status->AWB_Prev_Bgain = [0x0343] 
    [MCU2_0]     10.621985 s:  
    [MCU2_0]     10.622103 s:  
    [C7x_1 ]     10.575040 s:  VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process
    [C7x_1 ]     10.723043 s:  VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process
    [C7x_1 ]     10.831950 s:  VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process
    [C7x_1 ]     11.714074 s:  VX_ZONE_WARNING:[tivxKernelTIDLCreate:615] All Interrupts DISABLED during TIDL process
    ==============current system time: Thu Jan  1 00:02:08 1970==============
    [MCU2_0]     70.596039 s:   [tivxAewbProcess] [before AWB_TI_process] 
    [MCU2_0]     70.596074 s:  aewb_config->channel_id = [3] 
    [MCU2_0]     70.596106 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0006 
    [MCU2_0]     70.596141 s:  nodePrms->p_awb_params->stab_gain_R = 0x0115 
    [MCU2_0]     70.596176 s:  nodePrms->p_awb_params->stab_gain_G = 0x0100 
    [MCU2_0]     70.596211 s:  nodePrms->p_awb_params->stab_gain_B = 0x04b0 
    [MCU2_0]     70.596235 s:  
    [MCU2_0]     70.596338 s:  [before TI_AWB_do] 
    [MCU2_0]     70.596367 s:   _ti_count = [154] 
    [MCU2_0]     70.596393 s:  stab_init_cnt_1 = [0x0000] 
    [MCU2_0]     70.596491 s:  stab_gain_R_1 = [0x0000] 
    [MCU2_0]     70.596529 s:  stab_gain_G_1 = [0x0000] 
    [MCU2_0]     70.596643 s:  stab_gain_B_1 = [0x0000] 
    [MCU2_0]     70.596679 s:  stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]     70.596711 s:  stab_init_cnt_2 = [0x0001] 
    [MCU2_0]     70.596739 s:  stab_gain_R_2 = [0x43ee] 
    [MCU2_0]     70.596764 s:  stab_gain_G_2 = [0x0100] 
    [MCU2_0]     70.596789 s:  stab_gain_B_2 = [0x3b24] 
    [MCU2_0]     70.596815 s:  stab_color_temp_2 = [0x137d] 
    [MCU2_0]     70.596841 s:  stab_init_cnt_3 = [0x0002] 
    [MCU2_0]     70.596867 s:  stab_gain_R_3 = [0x3475] 
    [MCU2_0]     70.596891 s:  stab_gain_G_3 = [0x0100] 
    [MCU2_0]     70.596916 s:  stab_gain_B_3 = [0x2b84] 
    [MCU2_0]     70.596942 s:  stab_color_temp_3 = [0x137d] 
    [MCU2_0]     70.596968 s:  stab_init_cnt_4 = [0x0003] 
    [MCU2_0]     70.596993 s:  stab_gain_R_4 = [0x2c0f] 
    [MCU2_0]     70.597017 s:  stab_gain_G_4 = [0x0100] 
    [MCU2_0]     70.597042 s:  stab_gain_B_4 = [0x239d] 
    [MCU2_0]     70.597068 s:  stab_color_temp_4 = [0x137d] 
    [MCU2_0]     70.597094 s:  stab_init_cnt_5 = [0x0004] 
    [MCU2_0]     70.597119 s:  stab_gain_R_5 = [0x26fe] 
    [MCU2_0]     70.597144 s:  stab_gain_G_5 = [0x0100] 
    [MCU2_0]     70.597169 s:  stab_gain_B_5 = [0x1ece] 
    [MCU2_0]     70.597194 s:  stab_color_temp_5 = [0x137d] 
    [MCU2_0]     70.597220 s:  stab_init_cnt_6 = [0x0005] 
    [MCU2_0]     70.597246 s:  stab_gain_R_6 = [0x2364] 
    [MCU2_0]     70.597271 s:  stab_gain_G_6 = [0x0100] 
    [MCU2_0]     70.597296 s:  stab_gain_B_6 = [0x1b84] 
    [MCU2_0]     70.597322 s:  stab_color_temp_6 = [0x137d] 
    [MCU2_0]     70.601348 s:   [after TI_AWB_do] [p_awb_params] 
    [MCU2_0]     70.601426 s:   _ti_count = [154] 
    [MCU2_0]     70.601458 s:  out_stab_init_cnt_1 = [0x0000] 
    [MCU2_0]     70.601487 s:  out_stab_gain_R_1 = [0x0000] 
    [MCU2_0]     70.601515 s:  out_stab_gain_G_1 = [0x0000] 
    [MCU2_0]     70.601923 s:  out_stab_gain_B_1 = [0x0000] 
    [MCU2_0]     70.601992 s:  out_stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]     70.602026 s:  out_stab_init_cnt_2 = [0x0001] 
    [MCU2_0]     70.602056 s:  out_stab_gain_R_2 = [0x43ee] 
    [MCU2_0]     70.602085 s:  out_stab_gain_G_2 = [0x0100] 
    [MCU2_0]     70.602114 s:  out_stab_gain_B_2 = [0x3b24] 
    [MCU2_0]     70.602143 s:  out_stab_color_temp_2 = [0x137d] 
    [MCU2_0]     70.602173 s:  out_stab_init_cnt_3 = [0x0002] 
    [MCU2_0]     70.602201 s:  out_stab_gain_R_3 = [0x3475] 
    [MCU2_0]     70.602228 s:  out_stab_gain_G_3 = [0x0100] 
    [MCU2_0]     70.602255 s:  out_stab_gain_B_3 = [0x2b84] 
    [MCU2_0]     70.602283 s:  out_stab_color_temp_3 = [0x137d] 
    [MCU2_0]     70.602312 s:  out_stab_init_cnt_4 = [0x0003] 
    [MCU2_0]     70.602339 s:  out_stab_gain_R_4 = [0x2c0f] 
    [MCU2_0]     70.602366 s:  out_stab_gain_G_4 = [0x0100] 
    [MCU2_0]     70.602393 s:  out_stab_gain_B_4 = [0x239d] 
    [MCU2_0]     70.602421 s:  out_stab_color_temp_4 = [0x137d] 
    [MCU2_0]     70.602450 s:  out_stab_init_cnt_5 = [0x0004] 
    [MCU2_0]     70.602477 s:  out_stab_gain_R_5 = [0x26fe] 
    [MCU2_0]     70.602505 s:  out_stab_gain_G_5 = [0x0100] 
    [MCU2_0]     70.602532 s:  out_stab_gain_B_5 = [0x1ece] 
    [MCU2_0]     70.602647 s:  out_stab_color_temp_5 = [0x137d] 
    [MCU2_0]     70.602687 s:  out_stab_init_cnt_6 = [0x0005] 
    [MCU2_0]     70.602718 s:  out_stab_gain_R_6 = [0x2364] 
    [MCU2_0]     70.602747 s:  out_stab_gain_G_6 = [0x0100] 
    [MCU2_0]     70.602777 s:  out_stab_gain_B_6 = [0x1b84] 
    [MCU2_0]     70.602806 s:  out_stab_color_temp_6 = [0x137d] 
    [MCU2_0]     70.602874 s:    [AWB_TI_process] [after TI_AWB_do] [awb_data_out] 
    [MCU2_0]     70.602967 s:   _ti_count = [154] 
    [MCU2_0]     70.603003 s:  do_gain_Gr_1 = [0x0100] 
    [MCU2_0]     70.603031 s:  do_gain_R_1 = [0x43ee] 
    [MCU2_0]     70.603056 s:  do_gain_Gb_1 = [0x0100] 
    [MCU2_0]     70.603080 s:  do_gain_B_1 = [0x3b24] 
    [MCU2_0]     70.603104 s:  do_awb_idx_1 = [0x001d] 
    [MCU2_0]     70.603132 s:  do_color_temperature_estim_1 = [0x137d] 
    [MCU2_0]     70.603161 s:  do_SB_count_1 = [0x0001] 
    [MCU2_0]     70.603185 s:  do_gain_Gr_2 = [0x0100] 
    [MCU2_0]     70.603209 s:  do_gain_R_2 = [0x24fb] 
    [MCU2_0]     70.603233 s:  do_gain_Gb_2 = [0x0100] 
    [MCU2_0]     70.603257 s:  do_gain_B_2 = [0x1be4] 
    [MCU2_0]     70.603280 s:  do_awb_idx_2 = [0x001d] 
    [MCU2_0]     70.603309 s:  do_color_temperature_estim_2 = [0x137d] 
    [MCU2_0]     70.603337 s:  do_SB_count_2 = [0x0001] 
    [MCU2_0]     70.603362 s:  do_gain_Gr_3 = [0x0100] 
    [MCU2_0]     70.603386 s:  do_gain_R_3 = [0x1b42] 
    [MCU2_0]     70.603410 s:  do_gain_Gb_3 = [0x0100] 
    [MCU2_0]     70.603434 s:  do_gain_B_3 = [0x13cf] 
    [MCU2_0]     70.603458 s:  do_awb_idx_3 = [0x001d] 
    [MCU2_0]     70.603485 s:  do_color_temperature_estim_3 = [0x137d] 
    [MCU2_0]     70.603514 s:  do_SB_count_3 = [0x0001] 
    [MCU2_0]     70.603539 s:  do_gain_Gr_4 = [0x0100] 
    [MCU2_0]     70.603658 s:  do_gain_R_4 = [0x17cb] 
    [MCU2_0]     70.603689 s:  do_gain_Gb_4 = [0x0100] 
    [MCU2_0]     70.603717 s:  do_gain_B_4 = [0x1061] 
    [MCU2_0]     70.603744 s:  do_awb_idx_4 = [0x001d] 
    [MCU2_0]     70.603774 s:  do_color_temperature_estim_4 = [0x137d] 
    [MCU2_0]     70.603805 s:  do_SB_count_4 = [0x0001] 
    [MCU2_0]     70.603831 s:  do_gain_Gr_5 = [0x0100] 
    [MCU2_0]     70.603856 s:  do_gain_R_5 = [0x14fe] 
    [MCU2_0]     70.603880 s:  do_gain_Gb_5 = [0x0100] 
    [MCU2_0]     70.603905 s:  do_gain_B_5 = [0x0e5e] 
    [MCU2_0]     70.603929 s:  do_awb_idx_5 = [0x001d] 
    [MCU2_0]     70.604014 s:  do_color_temperature_estim_5 = [0x137d] 
    [MCU2_0]     70.604048 s:  do_SB_count_5 = [0x0001] 
    [MCU2_0]     70.604076 s:  do_gain_Gr_6 = [0x0100] 
    [MCU2_0]     70.604101 s:  do_gain_R_6 = [0x12c0] 
    [MCU2_0]     70.604126 s:  do_gain_Gb_6 = [0x0100] 
    [MCU2_0]     70.604151 s:  do_gain_B_6 = [0x0cd6] 
    [MCU2_0]     70.604175 s:  do_awb_idx_6 = [0x001d] 
    [MCU2_0]     70.604203 s:  do_color_temperature_estim_6 = [0x137d] 
    [MCU2_0]     70.604232 s:  do_SB_count_6 = [0x0001] 
    [MCU2_0]     70.604250 s:  
    [MCU2_0]     70.604366 s:   [tivxAewbProcess] [after AWB_TI_process] 
    [MCU2_0]     70.604415 s:  aewb_config->channel_id = [3] 
    [MCU2_0]     70.604449 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0006 
    [MCU2_0]     70.604486 s:  nodePrms->p_awb_params->stab_gain_R = 0x0116 
    [MCU2_0]     70.604520 s:  nodePrms->p_awb_params->stab_gain_G = 0x0100 
    [MCU2_0]     70.604646 s:  nodePrms->p_awb_params->stab_gain_B = 0x04ab 
    [MCU2_0]     70.604680 s:  
    [MCU2_0]     70.615936 s:   [sendWbGainToSensor] 
    [MCU2_0]     70.616084 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x022c awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0956 
    [MCU2_0]     70.616197 s:   [sendAewbToViss] 
    [MCU2_0]     70.616254 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]     70.616432 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]     70.629234 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     70.629324 s:  nodePrms->frame_count = [0x0602] 
    [MCU2_0]     70.629360 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]     70.629396 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x08ca] 
    [MCU2_0]     70.629435 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     70.629474 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     70.629514 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x020a] 
    [MCU2_0]     70.629671 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0959] 
    [MCU2_0]     70.629711 s:  
    [MCU2_0]     70.629947 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     70.630098 s:  nodePrms->frame_count = [0x0602] 
    [MCU2_0]     70.630140 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]     70.630179 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x02f4] 
    [MCU2_0]     70.630221 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     70.630263 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     70.630303 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x047c] 
    [MCU2_0]     70.630345 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x1861] 
    [MCU2_0]     70.630376 s:  
    [MCU2_0]     70.630470 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     70.630526 s:  nodePrms->frame_count = [0x0602] 
    [MCU2_0]     70.630657 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]     70.630710 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0741] 
    [MCU2_0]     70.630759 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]     70.630801 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]     70.630841 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x021b] 
    [MCU2_0]     70.630883 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0950] 
    [MCU2_0]     70.630912 s:  
    [MCU2_0]     70.630990 s:   [decode_h3a_header_dcc] 
    [MCU2_0]     70.631199 s:   [parse_h3a_out] 
    [MCU2_0]     70.631294 s:   [h3a_merge] 
    [MCU2_0]     70.631420 s:   [h3a_normalize] 
    [MCU2_0]     70.631454 s:   [AWB_TI_parse_H3a_buf] 
    [MCU2_0]     70.631691 s:   [AE_TI_process] 
    [MCU2_0]     70.631795 s:   [sendExpGainToSensor] 
    [MCU2_0]     70.631881 s:   [getWbstausPrgFromSensor] [after memcpy] [data from sensor]  _count = [1538] 
    [MCU2_0]     70.631932 s:  p_Apply_AWB_Status->chId = [0x0001] 
    [MCU2_0]     70.631967 s:  p_Apply_AWB_Status->Apply_AWB_Sensor_Gain = [0x0141] 
    [MCU2_0]     70.632005 s:  p_Apply_AWB_Status->AWB_Prev_Rgain = [0x021b] 
    [MCU2_0]     70.632041 s:  p_Apply_AWB_Status->AWB_Prev_Bgain = [0x0741] 
    [MCU2_0]     70.632065 s:  
    [MCU2_0]     70.632162 s:   [tivxAewbProcess] [ AWB_Status == 0] 
    [MCU2_0]     70.632223 s:  ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x021b 
    [MCU2_0]     70.632270 s:  ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200 
    [MCU2_0]     70.632313 s:  ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x0741 
    [MCU2_0]     70.632343 s:  
    [MCU2_0]     70.632376 s:   [tivxAewbProcess] [before AWB_TI_process] 
    [MCU2_0]     70.632412 s:  aewb_config->channel_id = [2] 
    [MCU2_0]     70.632445 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0006 
    [MCU2_0]     70.632482 s:  nodePrms->p_awb_params->stab_gain_R = 0x0100 
    [MCU2_0]     70.632747 s:  nodePrms->p_awb_params->stab_gain_G = 0x0107 
    [MCU2_0]     70.632799 s:  nodePrms->p_awb_params->stab_gain_B = 0x0461 
    [MCU2_0]     70.632827 s:  
    [MCU2_0]     70.633012 s:  [before TI_AWB_do] 
    [MCU2_0]     70.633058 s:   _ti_count = [154] 
    [MCU2_0]     70.633087 s:  stab_init_cnt_1 = [0x0000] 
    [MCU2_0]     70.633116 s:  stab_gain_R_1 = [0x0000] 
    [MCU2_0]     70.633144 s:  stab_gain_G_1 = [0x0000] 
    [MCU2_0]     70.633248 s:  stab_gain_B_1 = [0x0000] 
    [MCU2_0]     70.633282 s:  stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]     70.633312 s:  stab_init_cnt_2 = [0x0001] 
    [MCU2_0]     70.633338 s:  stab_gain_R_2 = [0x43ee] 
    [MCU2_0]     70.633364 s:  stab_gain_G_2 = [0x0100] 
    [MCU2_0]     70.633389 s:  stab_gain_B_2 = [0x3b24] 
    [MCU2_0]     70.633415 s:  stab_color_temp_2 = [0x137d] 
    [MCU2_0]     70.633441 s:  stab_init_cnt_3 = [0x0002] 
    [MCU2_0]     70.633466 s:  stab_gain_R_3 = [0x3475] 
    [MCU2_0]     70.633491 s:  stab_gain_G_3 = [0x0100] 
    [MCU2_0]     70.633516 s:  stab_gain_B_3 = [0x2b84] 
    [MCU2_0]     70.633614 s:  stab_color_temp_3 = [0x137d] 
    [MCU2_0]     70.633659 s:  stab_init_cnt_4 = [0x0003] 
    [MCU2_0]     70.633686 s:  stab_gain_R_4 = [0x2c0f] 
    [MCU2_0]     70.633711 s:  stab_gain_G_4 = [0x0100] 
    [MCU2_0]     70.633736 s:  stab_gain_B_4 = [0x239d] 
    [MCU2_0]     70.633762 s:  stab_color_temp_4 = [0x137d] 
    [MCU2_0]     70.633788 s:  stab_init_cnt_5 = [0x0004] 
    [MCU2_0]     70.633813 s:  stab_gain_R_5 = [0x26fe] 
    [MCU2_0]     70.633838 s:  stab_gain_G_5 = [0x0100] 
    [MCU2_0]     70.633863 s:  stab_gain_B_5 = [0x1ece] 
    [MCU2_0]     70.633891 s:  stab_color_temp_5 = [0x137d] 
    [MCU2_0]     70.633918 s:  stab_init_cnt_6 = [0x0005] 
    [MCU2_0]     70.633944 s:  stab_gain_R_6 = [0x2364] 
    [MCU2_0]     70.633969 s:  stab_gain_G_6 = [0x0100] 
    [MCU2_0]     70.634062 s:  stab_gain_B_6 = [0x1b84] 
    [MCU2_0]     70.634093 s:  stab_color_temp_6 = [0x137d] 
    [MCU2_0]     70.641817 s:   [after TI_AWB_do] [p_awb_params] 
    [MCU2_0]     70.641975 s:   _ti_count = [154] 
    [MCU2_0]     70.642015 s:  out_stab_init_cnt_1 = [0x0000] 
    [MCU2_0]     70.642045 s:  out_stab_gain_R_1 = [0x0000] 
    [MCU2_0]     70.642073 s:  out_stab_gain_G_1 = [0x0000] 
    [MCU2_0]     70.642101 s:  out_stab_gain_B_1 = [0x0000] 
    [MCU2_0]     70.642130 s:  out_stab_color_temp_1 = [0xffffffff] 
    [MCU2_0]     70.642160 s:  out_stab_init_cnt_2 = [0x0001] 
    [MCU2_0]     70.642188 s:  out_stab_gain_R_2 = [0x43ee] 
    [MCU2_0]     70.642215 s:  out_stab_gain_G_2 = [0x0100] 
    [MCU2_0]     70.642242 s:  out_stab_gain_B_2 = [0x3b24] 
    [MCU2_0]     70.642270 s:  out_stab_color_temp_2 = [0x137d] 
    [MCU2_0]     70.642300 s:  out_stab_init_cnt_3 = [0x0002] 
    [MCU2_0]     70.642328 s:  out_stab_gain_R_3 = [0x3475] 
    [MCU2_0]     70.642355 s:  out_stab_gain_G_3 = [0x0100] 
    [MCU2_0]     70.642383 s:  out_stab_gain_B_3 = [0x2b84] 
    [MCU2_0]     70.642412 s:  out_stab_color_temp_3 = [0x137d] 
    [MCU2_0]     70.642441 s:  out_stab_init_cnt_4 = [0x0003] 
    [MCU2_0]     70.642468 s:  out_stab_gain_R_4 = [0x2c0f] 
    [MCU2_0]     70.642495 s:  out_stab_gain_G_4 = [0x0100] 
    [MCU2_0]     70.642522 s:  out_stab_gain_B_4 = [0x239d] 
    [MCU2_0]     70.642604 s:  out_stab_color_temp_4 = [0x137d] 
    [MCU2_0]     70.642639 s:  out_stab_init_cnt_5 = [0x0004] 
    [MCU2_0]     70.642670 s:  out_stab_gain_R_5 = [0x26fe] 
    [MCU2_0]     70.642699 s:  out_stab_gain_G_5 = [0x0100] 
    [MCU2_0]     70.642728 s:  out_stab_gain_B_5 = [0x1ece] 
    [MCU2_0]     70.642757 s:  out_stab_color_temp_5 = [0x137d] 
    [MCU2_0]     70.642787 s:  out_stab_init_cnt_6 = [0x0005] 
    [MCU2_0]     70.642815 s:  out_stab_gain_R_6 = [0x2364] 
    [MCU2_0]     70.642842 s:  out_stab_gain_G_6 = [0x0100] 
    [MCU2_0]     70.642868 s:  out_stab_gain_B_6 = [0x1b84] 
    [MCU2_0]     70.642896 s:  out_stab_color_temp_6 = [0x137d] 
    [MCU2_0]     70.643204 s:    [AWB_TI_process] [after TI_AWB_do] [awb_data_out] 
    [MCU2_0]     70.643268 s:   _ti_count = [154] 
    [MCU2_0]     70.643302 s:  do_gain_Gr_1 = [0x0100] 
    [MCU2_0]     70.643329 s:  do_gain_R_1 = [0x43ee] 
    [MCU2_0]     70.643355 s:  do_gain_Gb_1 = [0x0100] 
    [MCU2_0]     70.643380 s:  do_gain_B_1 = [0x3b24] 
    [MCU2_0]     70.643404 s:  do_awb_idx_1 = [0x001d] 
    [MCU2_0]     70.643432 s:  do_color_temperature_estim_1 = [0x137d] 
    [MCU2_0]     70.643461 s:  do_SB_count_1 = [0x0001] 
    [MCU2_0]     70.643486 s:  do_gain_Gr_2 = [0x0100] 
    [MCU2_0]     70.643510 s:  do_gain_R_2 = [0x24fb] 
    [MCU2_0]     70.643534 s:  do_gain_Gb_2 = [0x0100] 
    [MCU2_0]     70.643647 s:  do_gain_B_2 = [0x1be4] 
    [MCU2_0]     70.643684 s:  do_awb_idx_2 = [0x001d] 
    [MCU2_0]     70.643715 s:  do_color_temperature_estim_2 = [0x137d] 
    [MCU2_0]     70.643745 s:  do_SB_count_2 = [0x0001] 
    [MCU2_0]     70.643770 s:  do_gain_Gr_3 = [0x0100] 
    [MCU2_0]     70.643794 s:  do_gain_R_3 = [0x1b42] 
    [MCU2_0]     70.643818 s:  do_gain_Gb_3 = [0x0100] 
    [MCU2_0]     70.643842 s:  do_gain_B_3 = [0x13cf] 
    [MCU2_0]     70.643865 s:  do_awb_idx_3 = [0x001d] 
    [MCU2_0]     70.643893 s:  do_color_temperature_estim_3 = [0x137d] 
    [MCU2_0]     70.643922 s:  do_SB_count_3 = [0x0001] 
    [MCU2_0]     70.643946 s:  do_gain_Gr_4 = [0x0100] 
    [MCU2_0]     70.643970 s:  do_gain_R_4 = [0x17cb] 
    [MCU2_0]     70.643994 s:  do_gain_Gb_4 = [0x0100] 
    [MCU2_0]     70.644018 s:  do_gain_B_4 = [0x1061] 
    [MCU2_0]     70.644042 s:  do_awb_idx_4 = [0x001d] 
    [MCU2_0]     70.644071 s:  do_color_temperature_estim_4 = [0x137d] 
    [MCU2_0]     70.644099 s:  do_SB_count_4 = [0x0001] 
    [MCU2_0]     70.644124 s:  do_gain_Gr_5 = [0x0100] 
    [MCU2_0]     70.644206 s:  do_gain_R_5 = [0x14fe] 
    [MCU2_0]     70.644245 s:  do_gain_Gb_5 = [0x0100] 
    [MCU2_0]     70.644274 s:  do_gain_B_5 = [0x0e5e] 
    [MCU2_0]     70.644300 s:  do_awb_idx_5 = [0x001d] 
    [MCU2_0]     70.644329 s:  do_color_temperature_estim_5 = [0x137d] 
    [MCU2_0]     70.644357 s:  do_SB_count_5 = [0x0001] 
    [MCU2_0]     70.644382 s:  do_gain_Gr_6 = [0x0100] 
    [MCU2_0]     70.644407 s:  do_gain_R_6 = [0x12c0] 
    [MCU2_0]     70.644431 s:  do_gain_Gb_6 = [0x0100] 
    [MCU2_0]     70.644455 s:  do_gain_B_6 = [0x0cd6] 
    [MCU2_0]     70.644479 s:  do_awb_idx_6 = [0x001d] 
    [MCU2_0]     70.644507 s:  do_color_temperature_estim_6 = [0x137d] 
    [MCU2_0]     70.644536 s:  do_SB_count_6 = [0x0001] 
    [MCU2_0]     70.644638 s:  
    [MCU2_0]     70.644690 s:   [tivxAewbProcess] [after AWB_TI_process] 
    [MCU2_0]     70.644731 s:  aewb_config->channel_id = [2] 
    [MCU2_0]     70.644766 s:  nodePrms->p_awb_params->stab_init_cnt = 0x0006 
    [MCU2_0]     70.644803 s:  nodePrms->p_awb_params->stab_gain_R = 0x0100 
    [MCU2_0]     70.644839 s:  nodePrms->p_awb_params->stab_gain_G = 0x0107 
    [MCU2_0]     70.644875 s:  nodePrms->p_awb_params->stab_gain_B = 0x0462 
    [MCU2_0]     70.644899 s:  
    [MCU2_0]     70.656350 s:   [sendWbGainToSensor] 
    [MCU2_0]     70.656497 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x021b awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0741 
    [MCU2_0]     70.656724 s:   [sendAewbToViss] 
    [MCU2_0]     70.656805 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]     70.657063 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]     70.659134 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]     70.659241 s:  nodePrms->frame_count = [0x0602] 
    [MCU2_0]     70.659404 s:  
    [MCU2_0]    130.442619 s:   [sendWbGainToSensor] 
    [MCU2_0]    130.442745 s:   [tivxAewbProcess] [first_send_gain] [else] awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0480 awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x0200 awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x02f4 
    [MCU2_0]    130.442908 s:   [sendAewbToViss] 
    [MCU2_0]    130.442982 s:   [tivxAewbProcess]  _check_first_send_gain = [7]
    [MCU2_0]    130.443094 s:   [tivxAewbProcess]  ==============================================================================================================================================================================================================================================================================
    [MCU2_0]    130.443271 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.443325 s:  nodePrms->frame_count = [0x0bd9] 
    [MCU2_0]    130.443358 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]    130.443393 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x073a] 
    [MCU2_0]    130.443434 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.443662 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.443718 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x021c] 
    [MCU2_0]    130.444519 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0952] 
    [MCU2_0]    130.444620 s:  
    [MCU2_0]    130.444856 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.444927 s:  nodePrms->frame_count = [0x0bd9] 
    [MCU2_0]    130.444962 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]    130.444999 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0950] 
    [MCU2_0]    130.445040 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.445082 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.445123 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x022c] 
    [MCU2_0]    130.445166 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0a37] 
    [MCU2_0]    130.445196 s:  
    [MCU2_0]    130.445863 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.445957 s:  nodePrms->frame_count = [0x0bda] 
    [MCU2_0]    130.445997 s:  aewb_config->channel_id = [0x0000] 
    [MCU2_0]    130.446035 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x08cc] 
    [MCU2_0]    130.446078 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.446118 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.446157 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x0206] 
    [MCU2_0]    130.446198 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0954] 
    [MCU2_0]    130.446227 s:  
    [MCU2_0]    130.446329 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.446383 s:  nodePrms->frame_count = [0x0bda] 
    [MCU2_0]    130.446416 s:  aewb_config->channel_id = [0x0001] 
    [MCU2_0]    130.446451 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x02f4] 
    [MCU2_0]    130.446490 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.446686 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.446742 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x0480] 
    [MCU2_0]    130.446788 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x1861] 
    [MCU2_0]    130.446818 s:  
    [MCU2_0]    130.446908 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.446963 s:  nodePrms->frame_count = [0x0bda] 
    [MCU2_0]    130.446993 s:  aewb_config->channel_id = [0x0002] 
    [MCU2_0]    130.447027 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x073a] 
    [MCU2_0]    130.447067 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.447107 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.447149 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x021c] 
    [MCU2_0]    130.447190 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0952] 
    [MCU2_0]    130.447218 s:  
    [MCU2_0]    130.447289 s:   [tivxAewbProcess] [ALGORITHMS_ISS_AWB_AUTO == nodePrms->p_awb_params->mode] 
    [MCU2_0]    130.447346 s:  nodePrms->frame_count = [0x0bda] 
    [MCU2_0]    130.447380 s:  aewb_config->channel_id = [0x0003] 
    [MCU2_0]    130.447416 s:  ae_awb_result_prev_target_ptr->wb_gains[0] = [0x0950] 
    [MCU2_0]    130.447456 s:  ae_awb_result_prev_target_ptr->wb_gains[1] = [0x0200] 
    [MCU2_0]    130.447497 s:  ae_awb_result_prev_target_ptr->wb_gains[2] = [0x0200] 
    [MCU2_0]    130.447536 s:  ae_awb_result_prev_target_ptr->wb_gains[3] = [0x022c] 
    [MCU2_0]    130.447726 s:  ae_awb_result_prev_target_ptr->color_temperature = [0x0a37] 
    [MCU2_0]    130.447767 s:  
    

  • It seems that the initial setting of channel 1 is not successful. Please check where the gain value 0xffff (log line 827) comes from.

  • qq0913_log0.log

    嗨,华亚当

     I was wondering where did we get this value, channel_1 from the first frame with an exception of 0xffff, which we didn't find in the log

  • Normally you can find a function called 'xxxx_SetAwbParams()' under sensor_dev/srv/(your sensor), where the gain register of the camera is set. You can print some log here to see what has been written into the camera. You can also print log in the call hierarchy of the function to see where this exception of 0xffff comes from.

  • Hi, Adam Hua

    Is there any operation on the value of this struct other than the assignment to the first frame in vx_awb_target.c

  • Hi, Adam Hua

    we are running qnx

  • aewbCtrlPrms values are set from ae_awb_result_target_ptr in case of auto awb, or set manually from DCC tuning tool in live tuning. 

  • These code normally runs on R5F, which runs RTOS. It has nothing to do with QNX or LINUX.

  • Hi, Adam Hua

    The first frame of channel 1, 0xffff, is the value taken from this struct. Where is this struct assigned? We didn't find that in the open source code

  • Find the definition of the struct in itt_srvr_remote.c.

  • we use "qnx + rtos",don't use itt_srvr_remote.c

  • we use "qnx + rtos",don't use itt_srvr_remote.c

  • Is there any operation on the value of this struct other than the assignment to the first frame in vx_awb_target.c

    Hi doahong,

    In "vx_aewb_target.c", there is a "AWB_TI_create(...)" function which calls "TI_AWB_init(...)" to initialize AWB for a camera.

    On your faulty device, this initialization may not be done properly.

  • Hi 

    The "TI_AWB_init" you mentioned is not open, how can we confirm that the "TI_AWB_init" is wrong?

  • TI_AWB_init takes p_awb_params as the input parameter. Check its value before and after TI_AWB_init.  

    TI_AWB_init(p_awb_params);

  • Hi  

    The log is generated from the faulty device

    [MCU2_0]     28.321865 s:  VX_ZONE_ERROR:[AWB_TI_create:2711] [qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0xffff  nodePrms->p_awb_params->stab_gain_G = 0xffff nodePrms->p_awb_params->stab_gain_B, =0xffff  nodePrms->p_awb_params->stab_init_cnt =0xff  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.322907 s:  VX_ZONE_ERROR:[tivxAewbCreate:2353] [qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x0  nodePrms->p_awb_params->stab_gain_G = 0x0 nodePrms->p_awb_params->stab_gain_B, =0x0  nodePrms->p_awb_params->stab_init_cnt =0x0  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.324874 s:  VX_ZONE_ERROR:[AWB_TI_create:2711] [qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0xffff  nodePrms->p_awb_params->stab_gain_G = 0xffff nodePrms->p_awb_params->stab_gain_B, =0xffff  nodePrms->p_awb_params->stab_init_cnt =0xff  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.325896 s:  VX_ZONE_ERROR:[tivxAewbCreate:2353] [qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x0  nodePrms->p_awb_params->stab_gain_G = 0x0 nodePrms->p_awb_params->stab_gain_B, =0x0  nodePrms->p_awb_params->stab_init_cnt =0x0  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.328110 s:  VX_ZONE_ERROR:[AWB_TI_create:2711] [qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0xffff  nodePrms->p_awb_params->stab_gain_G = 0xffff nodePrms->p_awb_params->stab_gain_B, =0xffff  nodePrms->p_awb_params->stab_init_cnt =0xff  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.329129 s:  VX_ZONE_ERROR:[tivxAewbCreate:2353] [qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x0  nodePrms->p_awb_params->stab_gain_G = 0x0 nodePrms->p_awb_params->stab_gain_B, =0x0  nodePrms->p_awb_params->stab_init_cnt =0x0  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.331131 s:  VX_ZONE_ERROR:[AWB_TI_create:2711] [qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0xffff  nodePrms->p_awb_params->stab_gain_G = 0xffff nodePrms->p_awb_params->stab_gain_B, =0xffff  nodePrms->p_awb_params->stab_init_cnt =0xff  nodePrms->p_awb_params->stab_color_temp =0xffffffff
    [MCU2_0]     28.332160 s:  VX_ZONE_ERROR:[tivxAewbCreate:2353] [qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x0  nodePrms->p_awb_params->stab_gain_G = 0x0 nodePrms->p_awb_params->stab_gain_B, =0x0  nodePrms->p_awb_params->stab_init_cnt =0x0  nodePrms->p_awb_params->stab_color_temp =0xffffffff
     =========================

  • Hi  

    Our log is arranged here

    static vx_status AWB_TI_create(awbprm_t *p_awb_params, awb_calc_data_t *p_calib)
    {
        vx_status status = VX_SUCCESS;
        TI_AWB_ERROR awbInitStatus;
        VX_PRINT(VX_ZONE_ERROR,
            "[qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x%x  nodePrms->p_awb_params->stab_gain_G = 0x%x nodePrms->p_awb_params->stab_gain_B, =0x%x  nodePrms->p_awb_params->stab_init_cnt =0x%x  nodePrms->p_awb_params->stab_color_temp =0x%x\n",
                            p_awb_params->stab_gain_R,
                            p_awb_params->stab_gain_G,
                            p_awb_params->stab_gain_B,
                            p_awb_params->stab_init_cnt,
                            p_awb_params->stab_color_temp);
    
        if ((NULL == p_calib) || (NULL == p_awb_params))
        {
            printf("AWB_TI_create Error : Invalid parameters \n");
            status = VX_ERROR_INVALID_PARAMETERS;
        }
        else
        {
            p_awb_params->init_done = 0;
            p_awb_params->mode = AWB_WB_MODE_AUTO;
            p_awb_params->AWB_ScratchMemory = NULL;
            p_awb_params->manl_tmpr = 0;
            p_awb_params->sb_total_exp = 999999;
    
            *p_awb_params->sen_awb_calc_data = *p_calib;
    
            awbInitStatus = TI_AWB_init(p_awb_params);
            if (TI_AWB_ERROR_OK == awbInitStatus)
            {
                status = VX_SUCCESS;
            }
            else
            {
                printf("ERROR : AWB Initialization returned %d \n", awbInitStatus);
                status = VX_ERROR_INVALID_PARAMETERS;
            }
        }
    PRINTB();
        return status;
    

  • Dear  ,

          have any update ? Thanks

  • Where is this log in your code?

    [MCU2_0]     28.322907 s:  VX_ZONE_ERROR:[tivxAewbCreate:2353] [qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x0  nodePrms->p_awb_params->stab_gain_G = 0x0 nodePrms->p_awb_params->stab_gain_B, =0x0  nodePrms->p_awb_params->stab_init_cnt =0x0  nodePrms->p_awb_params->stab_color_temp =0xffffffff

  • static vx_status AWB_TI_create(awbprm_t *p_awb_params, awb_calc_data_t *p_calib)
    {
    vx_status status = VX_SUCCESS;
    TI_AWB_ERROR awbInitStatus;

    //log is here:
    VX_PRINT(VX_ZONE_ERROR,
    "[qq5] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x%x nodePrms->p_awb_params->stab_gain_G = 0x%x nodePrms->p_awb_params->stab_gain_B, =0x%x nodePrms->p_awb_params->stab_init_cnt =0x%x nodePrms->p_awb_params->stab_color_temp =0x%x\n",
    p_awb_params->stab_gain_R,
    p_awb_params->stab_gain_G,
    p_awb_params->stab_gain_B,
    p_awb_params->stab_init_cnt,
    p_awb_params->stab_color_temp);

    if ((NULL == p_calib) || (NULL == p_awb_params))
    {
    printf("AWB_TI_create Error : Invalid parameters \n");
    status = VX_ERROR_INVALID_PARAMETERS;
    }
    else
    {
    p_awb_params->init_done = 0;
    p_awb_params->mode = AWB_WB_MODE_AUTO;
    p_awb_params->AWB_ScratchMemory = NULL;
    p_awb_params->manl_tmpr = 0;
    p_awb_params->sb_total_exp = 999999;

    *p_awb_params->sen_awb_calc_data = *p_calib;

    awbInitStatus = TI_AWB_init(p_awb_params);
    if (TI_AWB_ERROR_OK == awbInitStatus)
    {
    status = VX_SUCCESS;
    }
    else
    {
    printf("ERROR : AWB Initialization returned %d \n", awbInitStatus);
    status = VX_ERROR_INVALID_PARAMETERS;
    }
    }
    PRINTB();
    return status;

  • I meant 'qq4'

  • “[qq4] ... ” print after the function is executed AWB_TI_create

        awbInitStatus = AWB_TI_create(nodePrms->p_awb_params, awb_calib);
    
        VX_PRINT(VX_ZONE_ERROR,
            "[qq4] KANKAN AWB Debug nodePrms->p_awb_params->stab_gain_R = 0x%x  nodePrms->p_awb_params->stab_gain_G = 0x%x nodePrms->p_awb_params->stab_gain_B, =0x%x  nodePrms->p_awb_params->stab_init_cnt =0x%x  nodePrms->p_awb_params->stab_color_temp =0x%x\n",
                            nodePrms->p_awb_params->stab_gain_R,
                            nodePrms->p_awb_params->stab_gain_G,
                            nodePrms->p_awb_params->stab_gain_B,
                            nodePrms->p_awb_params->stab_init_cnt,
                            nodePrms->p_awb_params->stab_color_temp);

  • I think it has been clear that the problem lies in the initial awb values written to sensor is not correct. The AWB_TI_create is correct. The initial wrong value comes from sensor as you can see from the following code by you.

     AWB_Status = getWbstausPrgFromSensor(aewb_config->channel_id, &Apply_AWBStatus);
                            if (AWB_Status == 0)
                            {
                                // if(Apply_AWBStatus.Apply_AWB_Sensor_Gain == 0xffff ||
                                //    Apply_AWBStatus.AWB_Prev_Rgain == 0xffff ||
                                //    Apply_AWBStatus.AWB_Prev_Bgain == 0xffff )
                                // {
                                //     ae_awb_result_prev_target_ptr->wb_gains[rIndex]  = 0x0400;
                                //     ae_awb_result_prev_target_ptr->wb_gains[grIndex] = 0x0200;
                                //     ae_awb_result_prev_target_ptr->wb_gains[bIndex]  = 0x0400;
                                // }
                                // else
                                // {
                                ae_awb_result_prev_target_ptr->wb_gains[rIndex] = Apply_AWBStatus.AWB_Prev_Rgain;
                                ae_awb_result_prev_target_ptr->wb_gains[grIndex] = ae_awb_result_prev_target_ptr->wb_gains[gbIndex] = 0x200;
                                ae_awb_result_prev_target_ptr->wb_gains[bIndex] = Apply_AWBStatus.AWB_Prev_Bgain;

    A simple solution may be uncommenting the comment. 

  • In my opinion, it's not the function“getWbstausPrgFromSensor” causes this.

    The awb algorithm will only work if frame_count meets this condition, right?

    if (0 != ((nodePrms->frame_count + aewb_config->channel_id) % (aewb_config->awb_num_skip_frames + 1)))
    In our code   "frame_count++;"  is before [qq2] log print and after the [qq3] print, they're the same frame.
    According to the above conditions, it belongs to the frame_count of the Skip_AWB frame.
    This means that the values of these exceptions do not come from the function "getWbstausPrgFromSensor"
  • The awb algorithm will only work if frame_count meets this condition, right?

    Yes, that is correct.

    would you paste your current full code of tivxAewbProcess and full corresponding log?

  • This is the tivxAewbProcess code

    with the normal machine log and the purple abnormal machine log

    8206.vx_aewb_target.c6558.normal.logPurple anomaly.log

  • You wrote the sensor with the initial value 0xffff when awb is skipped.

    else
                    {
                        status = sendWbGainToSensor(aewb_config, &awbPrms);
    PRINTB("[first_send_gain] [else] \
    awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] = 0x%04x \
    " \
    , awbPrms.rGain[ISS_SENSOR_EXPOSURE_LONG] \
    , awbPrms.gGain[ISS_SENSOR_EXPOSURE_LONG] \
    , awbPrms.bGain[ISS_SENSOR_EXPOSURE_LONG] \
    );
                    }

    see your log

  • But that 0xffff is given from awb_ti_creat, first get the value, then start [first_send_gain] [else], right?

  • The flow of your code can be concluded as:

    1. calculate awb for channel 0 , frame 0. Then the awb values are written to all sensors due to 'first send'.

    2. awb for channel 1, frame 0 is skipped and thus awb values stays at its initial value (0xffff). However, you still wrote that initial value (0xffff) to sensor by  '[first_send_gain] [else]'. The exception value is set into the sensor here.

    3. I am ignoring channel 2,3 frame 0 and channel 0, frame 1.

    4. It comes to channel 1, frame 1. The awb value is read from sensor which is 0xffff, written in step 2.

  • Further, in case of channel 1, frame 0, awb skipped, the awb value sent to sensor come from aewbCtrlPrms, which are never initialized and have casual value determined by compiler or the platform. You are facing a problem of using uninitialized variable.

    So the normal board is abnormal too, with the awb value all set to 0 (log line 1142):

    [MCU2_0]     59.118806 s:  VX_ZONE_ERROR:[tivxAewbProcess:1888] [qq2] KANKAN AWB Debug channel_id = 1  frame_count = [1]   rGain =0x0  gGain =0x0  bGain =0x0  colorTemp =0
    

    But luckily, there happened to be a condition used to help with this situation:

    That is why the same code works on one platform but fails on another.

    But it is always very dangerous to use uninitialized variables. 

  • Dear 

    Since this variable is defined by the platform, could you please help to give an optimal solution

  • Hi Daohong,

    There are a few possible ways for handling the initialization situation as I can think of.

    1. Use AWB output from camera-0 at frame-0 to initialize AWB for all cameras (same as what AWB does for camera-0 after frame-0).

    2. Update sensor AWB initialization values according to your sensor/application requirements after "TI_AWB_init(...)".

    We don't have good recommendations, but you may try these below to experiment on your faulty device.

    3. Don't update sensor AWB gains if AWB is not performed for that camera.

    4. Change the way AWB is called (e.g., run AWB on all cameras at frame-0).

    5. Skip the first a few frames of output video (before AWB is started for all cameras).

  • Dear  Gang Hua,

         Thank you very much for your support