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: VISS output get from "Multi Camera VPAC Application"

Part Number: TDA4VM

Dear Sir/madam,

Now I am using TDA4VMEVM and PSDKRA 7.0.
I tried to get VISS output from "Multi Camera VPAC Application".
I modified the en_out_viss_write to 1.
Following is my configuration file.
root@j7-evm:/opt/vision_apps# cat app_multi_cam_test.cfg
# sensor selection
# 0 : IMX390
# 1 : AR0233
# 2 : AR0820
sensor_index 0

# LDC 0-disable, 1-enable
enable_ldc 0

# Number of cameras enabled
num_cameras_enabled 1

# Number of frames to run
num_frames_to_run 1000000

# Show output in HDMI/eDP, 0-disable, 1-enable
display_option 1

# Supported usecase options 0, 1
usecase_option 0

# enable interactive mode 0-noninteractive, 1-interactive
is_interactive 1

# enable writing final output 0-disable, 1-enable
en_out_img_write 0

# enable writing csix output 0-disable, 1-enable
en_out_capture_write 0

# enable writing vis output 0-disable, 1-enable
en_out_viss_write 1

# enable writing ldc output 0-disable, 1-enable
en_out_ldc_write 0

# Number of frames to write per 's' command,
num_frames_to_write 1

# Number of frames to skip per 's' command, Eg. 0-no frame skip, 1-skip 1 frame, 2-skip 2 frames etc.
num_frames_to_skip 0

# path to write the processed frames
output_file_path /opt/vision_apps/app_cam_out

# Disable error detection by default
enable_error_detection 0
root@j7-evm:/opt/vision_apps#

The display hang after use this app_multi_cam_test.cfg.
Thers isn't any files under output_file_path /opt/vision_apps/app_cam_out.
Could you give me suggestion?

Best regards

-Jason

  • Hi Jason,

    Let me check and get back to you.

    Regards,

    Brijesh

  • This is a known issue. Please also set en_out_ldc_write = 1 and try again.

    Please make sure that the folder /opt/vision_apps/app_cam_out exists and is writable.

  • Hi Mayank,

    The /opt/vision_apps/app_cam_out directory always exist.
    The display still hang after change en_out_ldc_write = 1.
    Thers is not any file under /opt/vision_apps/app_cam_out.

    Following is my configuration file.
    /**************** configuration file start*********************/
    root@j7-evm:/opt/vision_apps# cat app_multi_cam_test.cfg
    # sensor selection
    # 0 : IMX390
    # 1 : AR0233
    # 2 : AR0820
    sensor_index 0

    # LDC 0-disable, 1-enable
    enable_ldc 1

    # Number of cameras enabled
    num_cameras_enabled 1

    # Number of frames to run
    num_frames_to_run 1000000

    # Show output in HDMI/eDP, 0-disable, 1-enable
    display_option 1

    # Supported usecase options 0, 1
    usecase_option 0

    # enable interactive mode 0-noninteractive, 1-interactive
    is_interactive 1

    # enable writing final output 0-disable, 1-enable
    en_out_img_write 0

    # enable writing csix output 0-disable, 1-enable
    en_out_capture_write 0

    # enable writing vis output 0-disable, 1-enable
    en_out_viss_write 1

    # enable writing ldc output 0-disable, 1-enable
    en_out_ldc_write 1

    # Number of frames to write per 's' command,
    num_frames_to_write 1

    # Number of frames to skip per 's' command, Eg. 0-no frame skip, 1-skip 1 frame, 2-skip 2 frames etc.
    num_frames_to_skip 0

    # path to write the processed frames
    output_file_path /opt/vision_apps/app_cam_out

    # Disable error detection by default
    enable_error_detection 0
    root@j7-evm:/opt/vision_apps#
    /**************** configuration file end*********************/


    Following is my interactive log.
    /*************** interactive log start**************************/
    root@j7-evm:/opt/vision_apps# ./vx_app_multi_cam.out --cfg app_multi_cam_test.cf
    g
    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 !!!
    APP: Init ... Done !!!
    1531.381339 s: VX_ZONE_INIT:Enabled
    1531.381363 s: VX_ZONE_ERROR:Enabled
    1531.381386 s: VX_ZONE_WARNING:Enabled
    1531.382028 s: VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
    1531.382222 s: VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
    1531.382298 s: ISS: Enumerating sensors ... !!!
    1531.382629 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
    1531.382638 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
    1531.382646 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
    1531.382652 s: ISS: Enumerating sensors ... found 3 : UB9702_TESTPATTERN
    4 sensor(s) found
    Supported sensor list:
    a : IMX390-UB953_D3
    b : AR0233-UB953_MARS
    c : AR0820-UB953_LI
    d : UB9702_TESTPATTERN
    Select a sensor
    [MCU2_0] 1531.382397 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE
    [MCU2_0] 1531.382466 s: Sensor at index 0 = IMX390-UB953_D3
    [MCU2_0] 1531.382500 s: Sensor at index 1 = AR0233-UB953_MARS
    [MCU2_0] 1531.382397 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE
    [MCU2_0] 1531.382550 s: Sensor at index 3 = UB9702_TESTPATTERN
    [MCU2_0] 1531.382526 s: Sensor at index 2 = AR0820-UB953_LI
    a

    Sensor selected : IMX390-UB953_D3
    Querying IMX390-UB953_D3
    1536.087291 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
    1536.087556 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
    LDC Selection Yes(1)/No(0)
    Invalid selection
    . Try again
    LDC Selection Yes(1)/No(0)
    [MCU2_0] 1536.087400 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY
    1
    Max number of cameras supported by sensor IMX390-UB953_D3 = 8
    Please enter number of cameras to be enabled
    Invalid selection
    . Try again
    Max number of cameras supported by sensor IMX390-UB953_D3 = 8
    Please enter number of cameras to be enabled
    1
    1543.456406 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
    1544.775294 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0] 1544.775144 s: End of UB960 config
    [MCU2_0] 1545.015234 s: ub960_cfgScript : ub960I2cAddr = 0x36
    [MCU2_0] 1545.255143 s: End of UB960 config
    [MCU2_0] 1545.622150 s: End of UB953 config
    [MCU2_0] 1545.622250 s: Configuring IMX390 imager 0x40.. Please wait till it finishes
    1602.669253 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0] 1602.669074 s: IMX390 config done
    [MCU2_0] 1602.669140 s: IM_SENSOR_CMD_CONFIG returning status = 0
    1602.865950 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0] 1602.866269 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON
    [MCU2_0] 1602.866339 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1
    [MCU2_0] 1602.866411 s: ub960_cfgScript : ub960I2cAddr = 0x3d
    [MCU2_0] 1602.866461 s: UB960 config start
    [MCU2_0] 1603.106139 s: End of UB960 config
    [MCU2_0] 1603.106139 s: End of UB960 config
    [MCU2_0] 1603.106235 s: ub960_cfgScript : ub960I2cAddr = 0x36
    [MCU2_0] 1603.106235 s: ub960_cfgScript : ub960I2cAddr = 0x36
    [MCU2_0] 1603.106269 s: UB960 config start
    [MCU2_0] 1603.106269 s: UB960 config start
    [MCU2_0] 1603.346138 s: End of UB960 config
    [MCU2_0] 1603.346199 s: Starting camera # 0
    [MCU2_0] 1603.346243 s: Entering IssSensor_Start
    [MCU2_0] 1603.346243 s: Entering IssSensor_Start
    [MCU2_0] 1603.356087 s: enableUB960Streaming ub960InstanceId = 0
    [MCU2_0] 1603.356087 s: enableUB960Streaming ub960InstanceId = 0
    [MCU2_0] 1603.356290 s: ub960_cfgScript : ub960I2cAddr = 0x3d
    [MCU2_0] 1603.356290 s: ub960_cfgScript : ub960I2cAddr = 0x3d
    [MCU2_0] 1603.356322 s: UB960 config start
    [MCU2_0] 1603.356322 s: UB960 config start
    1603.372286 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!


    =========================
    Demo : Camera Demo
    =========================

    s: Save CSIx, VISS and LDC outputs

    p: Print performance statistics

    x: Exit

    Enter Choice:


    =========================
    Demo : Camera Demo
    =========================

    s: Save CSIx, VISS and LDC outputs

    p: Print performance statistics

    x: Exit

    Enter Choice: [MCU2_0] 1603.372144 s: End of UB960 config
    [MCU2_0] 1603.372144 s: End of UB960 config
    s

    =========================
    Demo : Camera Demo
    =========================

    s: Save CSIx, VISS and LDC outputs

    p: Print performance statistics

    x: Exit

    Enter Choice:
    /*************** interactive log end**************************/


    Could you give me suggestion?

    Best regards

    -Jason

  • Hello Jason,

    In the file app_multi_cam.cfg, please set

    en_out_ldc_write 1

    Regards,

    Mayank

  • Hi Mayank,

    Please you see my last email.

    My configuration file always set en_out_ldc_write to 1.

    I always create /opt/vision_apps/app_cam_out directory.

    The DisplayPort still hang after change en_out_ldc_write = 1.
    There is not any file under /opt/vision_apps/app_cam_out directory.

    Best regards

    -Jason

  • Hello Jason,

    In that case I would request you to wait till SDK 7.01 release which is coming out next week. This feature has been tested there.

    Regards,

    Mayank

  • Hi Mayank,

    I tried to download  SDK v 7.01 from www.ti.com/.../PROCESSOR-SDK-DRA8X-TDA4X

    But "PROCESSOR-SDK-RTOS-DRA8X-TDA4X"-->"Get software" no link to new v 7.01.

    It only have old v7.0(psdk_rtos_auto_j7_07_00_00_11.tar.gz) .

    Could you check for me?

    Best regards

    -Jason

  • Hello Jason,

    7.1 will be uploaded soon. Please check in 1-2 days.

    Regards,

    Mayank