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.

TDA4VH-Q1: Question about compiling xml files on TDA4VH board

Part Number: TDA4VH-Q1


Hi TI experts,

When I changed a few xml files in /imaging/sensor_drv/src/<sensor_name>/dcc_xmls/wdr/ to update the ISP parameters, after I run "generate_dcc.sh" and compiled SDK and copy the fw files to the board, the camera cannot be lightened up and reported the errors below:

Can you tell which xml file cause this error?

  • The app I used is "vx_app_single_cam.out", and there are the xml files before and after I changed:

    7026.XML Files.zip

  • Hi,

    O
    ur expert is on vacation. Kindly accept delay in response.

    Best Regards,
    Sudheer

  • And there are other errors:

  • Hi Wang,

    Can you share the full log from the vision_apps_init.sh command, so that our expert can analyze when he comes back from vacation?

    regards

    Suman

  • Hi Wang Zhil,

    Which SDK release are you using? Do you see any error message from the mcu2_0? Most likely one of the parameter is wrong and that's why isp node is returning error, but it should then have printed some error message. 

    Regards,

    Brijesh

  • Hi Brijesh,

    The version of SDK I am using is 8.5, there is the error message from the mcu2_0:

    "[MCU2_0] 1558.515110 s: IM_SENSOR_CMD_CONFIG returning status = -1
    [MCU2_0] 1558.540998 s: ********* DCC component is found it seems improper or cut. sys_prm or use_case_parm
    [MCU2_0] 1558.541075 s: ********* or parpack points outside this DCC component binary
    [MCU2_0] 1558.541125 s: ********* DCC ID 10
    [MCU2_0] 1558.541161 s: VX_ZONE_ERROR:[tivxVpacVissSetParamsFromDcc:211] dcc_update Failed !!!
    [MCU2_0] 1558.541207 s: VX_ZONE_ERROR:[tivxVpacVissCreate:592] Failed to Parse and Set DCC Params"

    the whole log is attached here:

    logs of mcu2_0.txt

    and there is the log of app "vx_app_single_cam.out":

    root@megatron:/data# ./vx_app_single_cam.out --cfg app_single_cam.cfg
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
      1549.825142 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
      1549.825851 s:  VX_ZONE_INIT:Enabled
      1549.825917 s:  VX_ZONE_ERROR:Enabled
      1549.825970 s:  VX_ZONE_WARNING:Enabled
      1549.831990 s:  VX_ZONE_INIT:[tivxInitLocal:145] Initialization Done !!!
      1549.832335 s:  VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
    sensor_selection = [0]
    ldc_enable = [0]
    num_frames_to_run = [1000000000]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
    IttCtrl_registerHandler: command iss_raw_save registered at location 3
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
    IttCtrl_registerHandler: command dev_ctrl registered at location 7
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
     NETWORK: Opened at IP Addr = 0.0.0.0, socket port=5000!!!
      1549.844681 s: ISS: Enumerating sensors ... !!!
      1549.845172 s: ISS: Enumerating sensors ... found 0 : GW_IMX390_UYVY
      1549.845255 s: ISS: Enumerating sensors ... found 1 : GW_AR0233_MAX96717_UYVY
      1549.845286 s: ISS: Enumerating sensors ... found 2 : GW_AR0233_MAX96717_MULTI
      1549.845302 s: ISS: Enumerating sensors ... found 3 : GW_X8B_MAX9295_UYVY
      1549.845334 s: ISS: Enumerating sensors ... found 4 : OS_AR0233_MAX9295_MARS
      1549.845378 s: ISS: Enumerating sensors ... found 5 : OS_AR0820_MAX9295_LI_MULTI
      1549.845409 s: ISS: Enumerating sensors ... found 6 : OS_AR0820A_MAX9295_LI
      1549.845436 s: ISS: Enumerating sensors ... found 7 : OVX3C-MAX9295_MARS
      1549.845461 s: ISS: Enumerating sensors ... found 8 : OVX3C-MAX9295_MARS_MULTI
      1549.845483 s: ISS: Enumerating sensors ... found 9 : OVX3CF-MAX96717_MARS
      1549.845508 s: ISS: Enumerating sensors ... found 10 : OVX3CF-MAX96717_MARS_MULTI
    Select camera port index 0-11 : 0
    11 registered sensor drivers
    a : GW_IMX390_UYVY
    b : GW_AR0233_MAX96717_UYVY
    c : GW_AR0233_MAX96717_MULTI
    d : GW_X8B_MAX9295_UYVY
    e : OS_AR0233_MAX9295_MARS
    f : OS_AR0820_MAX9295_LI_MULTI
    g : OS_AR0820A_MAX9295_LI
    h : OVX3C-MAX9295_MARS
    i : OVX3C-MAX9295_MARS_MULTI
    j : OVX3CF-MAX96717_MARS
    k : OVX3CF-MAX96717_MARS_MULTI
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection
    . Try again
    11 registered sensor drivers
    a : GW_IMX390_UYVY
    b : GW_AR0233_MAX96717_UYVY
    c : GW_AR0233_MAX96717_MULTI
    d : GW_X8B_MAX9295_UYVY
    e : OS_AR0233_MAX9295_MARS
    f : OS_AR0820_MAX9295_LI_MULTI
    g : OS_AR0820A_MAX9295_LI
    h : OVX3C-MAX9295_MARS
    i : OVX3C-MAX9295_MARS_MULTI
    j : OVX3CF-MAX96717_MARS
    k : OVX3CF-MAX96717_MARS_MULTI
    Select a sensor above or press '0' to autodetect the sensor : j
    Sensor selected : OVX3CF-MAX96717_MARS
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
    Querying OVX3CF-MAX96717_MARS
      1558.159383 s: ISS: Querying sensor [OVX3CF-MAX96717_MARS] ... !!!
      1558.159910 s: ISS: Querying sensor [OVX3CF-MAX96717_MARS] ... Done !!!
      1558.159966 s: ISS: Initializing sensor [OVX3CF-MAX96717_MARS], doing IM_SENSOR_CMD_PWRON ... !!!
      1558.160577 s: ISS: Initializing sensor [OVX3CF-MAX96717_MARS], doing IM_SENSOR_CMD_CONFIG ... !!!
      1558.515314 s: ISS: ERROR: Initializing sensor [OVX3CF-MAX96717_MARS] failed !!!
      1558.515356 s: ISS: Initializing sensor [OVX3CF-MAX96717_MARS] ... Done !!!
    Error initializing sensor OVX3CF-MAX96717_MARS
    Test data path is NULL. Defaulting to current folder
    read_test_image_raw : Unable to open file .//img_test.raw
    app_create_viss : sensor_dcc_id = 233
    ee_mode = 2
    bypass_cac = 0
      1558.541511 s:  VX_ZONE_ERROR:[ownContextSendCmd:802] Command ack message returned failure cmd_status: -1
      1558.541556 s:  VX_ZONE_ERROR:[ownContextSendCmd:838] tivxEventWait() failed.
      1558.541585 s:  VX_ZONE_ERROR:[ownNodeKernelInit:525] Target kernel, TIVX_CMD_NODE_CREATE failed for node VISS_Processing
      1558.541614 s:  VX_ZONE_ERROR:[ownNodeKernelInit:526] Please be sure the target callbacks have been registered for this core
      1558.541641 s:  VX_ZONE_ERROR:[ownNodeKernelInit:527] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
      1558.541852 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 1, kernel com.ti.hwa.vpac_viss ... failed !!!
      1558.541894 s:  VX_ZONE_ERROR:[vxVerifyGraph:2055] Node kernel init failed
      1558.541922 s:  VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
    Scaler is enabled
      1558.545444 s: ISS: Starting sensor [OVX3CF-MAX96717_MARS] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:
    Unsupported command
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:   1558.651718 s: ISS: Starting sensor [OVX3CF-MAX96717_MARS] failed !!!
    Failed to start sensor OVX3CF-MAX96717_MARS
    Defaulting to file test mode
    get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/OVX3CF-MAX96717_MARS/wdr

    Please help me check, thanks.

  • Hi,

    Well, the error clearly says that DCC parsing failed, due to incorrect component in the DCC file. So can you please use correct DCC file? 

    Regards,

    Brijesh