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:运行 single_cam 演示错误。 传感器:ar0233

Guru**** 2546020 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1021972/tda4vm-run-single_cam-demo-error-sensor-ar0233

器件型号:TDA4VM

您好 ,当我执行./run_app_single_cam.sh,时,图像错误。

SDK_ver:TI-processor-sdk-rtos-j721e-evm-07_03_00_07

传感器:ar0233+ub953

TDA4 EVM + Fusion 应用板。(ub960)

我的传感器为 ar0233、该样本支持该传感器。 当我在传感器中读取寄存器时、值是正确的。 以下是日志:

root@j7-evm:/opt/vision_apps# ./run_app_single_cam.sh 
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
   246.458962 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
   246.460781 s:  VX_ZONE_INIT:Enabled
   246.460800 s:  VX_ZONE_ERROR:Enabled
   246.460805 s:  VX_ZONE_WARNING:Enabled
   246.464439 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
   246.464635 s:  VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
Invalid token [
]
sensor_selection = [0]
Invalid token [
]
ldc_enable = [0]
Invalid token [
]
num_frames_to_run = [1000000000]
Invalid token [
]
is_interactive = [1]
IttCtrl_registerHandler: command echo registered at location 0 
IttCtrl_registerHandler: command iss_read_2a_params registered at location 1 
IttCtrl_registerHandler: command iss_write_2a_params registered at location 2 
IttCtrl_registerHandler: command iss_raw_save registered at location 3 
IttCtrl_registerHandler: command iss_yuv_save registered at location 4 
IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5 
IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6 
IttCtrl_registerHandler: command dev_ctrl registered at location 7 
IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8 
 NETWORK: Opened at IP Addr = 192.168.10.11, socket port=5000!!!
tivxImagingLoadKernels done
   246.466228 s: ISS: Enumerating sensors ... !!!
[MCU2_0]    246.466321 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE 
[MCU2_0]    246.466448 s: LXC DBG: IssSensor_DeserializerInit, 634 print
[MCU2_0]    246.466548 s: UB960 config start 
[MCU2_0]    246.666654 s: End of UB960 config 
[MCU2_0]    246.666710 s: UB960 config start 
   246.866638 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
   246.866658 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
   246.866678 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
   246.866683 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
   246.866687 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
   246.866692 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Select camera port index 0-7 : [MCU2_0]    246.866494 s: End of UB960 config 
1
0x6 registered sensor drivers
a : IMX390-UB953_D3 
b : AR0233-UB953_MARS 
c : AR0820-UB953_LI 
d : UB9xxx_RAW12_TESTPATTERN 
e : UB96x_UYVY_TESTPATTERN 
f : GW_AR0233_UYVY 
Select a sensor above or press '0' to autodetect the sensor : Invalid selection 
. Try again 
0x6 registered sensor drivers
a : IMX390-UB953_D3 
b : AR0233-UB953_MARS 
c : AR0820-UB953_LI 
d : UB9xxx_RAW12_TESTPATTERN 
e : UB96x_UYVY_TESTPATTERN 
f : GW_AR0233_UYVY 
Select a sensor above or press '0' to autodetect the sensor : b
Sensor selected : AR0233-UB953_MARS
LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 1
app_init done
Querying AR0233-UB953_MARS 
   252.989047 s: ISS: Querying sensor [AR0233-UB953_MARS] ... !!!
   252.989297 s: ISS: Querying sensor [AR0233-UB953_MARS] ... Done !!!
WDR mode is supported 
Expsoure control is supported 
Gain control is supported 
obj->aewb_cfg.ae_mode = 0
obj->aewb_cfg.awb_mode = 0
Sensor DCC is enabled 
Sensor width = 1920
Sensor height = 1280
Sensor DCC ID = 233
Sensor Supported Features = 0x178
Sensor Enabled Features = 0x158
   252.989334 s: ISS: Initializing sensor [AR0233-UB953_MARS], doing IM_SENSOR_CMD_PWRON ... !!!
   252.990221 s: ISS: Initializing sensor [AR0233-UB953_MARS], doing IM_SENSOR_CMD_CONFIG ... !!!
[MCU2_0]    252.989142 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY 
[MCU2_0]    252.989209 s: Received Query for AR0233-UB953_MARS 
[MCU2_0]    252.989409 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON 
[MCU2_0]    252.989463 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x2 
[MCU2_0]    252.989533 s: LXC DBG: AR0233_PowerOn, 429 print
[MCU2_0]    252.989575 s: LXC DBG: AR0233_Debug, 795 print
[MCU2_0]    252.989683 s: AR0233 Debug Reg 0 : FRAME_COUNT2, Addr 0x2000, Value 0xabcd 
[MCU2_0]    252.989723 s: AR0233 Debug status =  -1
[MCU2_0]    252.989821 s: AR0233 Debug Reg 1 : FRAME_COUNT, Addr 0x2002, Value 0xabcd 
[MCU2_0]    252.989858 s: AR0233 Debug status =  -1
[MCU2_0]    252.989951 s: AR0233 Debug Reg 2 : FRAME_STATUS, Addr 0x2008, Value 0xabcd 
[MCU2_0]    252.989985 s: AR0233 Debug status =  -1
[MCU2_0]    252.990075 s: AR0233 Debug Reg 3 : CHIP_VERSION_REG, Addr 0x3000, Value 0xabcd 
[MCU2_0]    252.990113 s: AR0233 Debug status =  -1
[MCU2_0]    252.990154 s: LXC DBG: AR0233_Debug, 814 print , status = -1 
[MCU2_0]    252.990289 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG 
[MCU2_0]    252.990347 s: Application requested features = 0x158 
[MCU2_0]  
[MCU2_0]    252.990403 s: UB960 config start 
[MCU2_0]    253.246473 s: End of UB960 config 
[MCU2_0]    253.246531 s: UB960 config start 
[MCU2_0]    253.502423 s: End of UB960 config 
[MCU2_0]    253.502477 s: Configuring camera # 1 
[MCU2_0]    253.502536 s: LXC DBG: AR0233_Config, 274 print
[MCU2_0]    253.502701 s: UB960 config start 
[MCU2_0]    253.506474 s: End of UB960 config 
[MCU2_0]    253.556384 s: ub953 config start : slaveAddr = 0x76 
[MCU2_0]    254.561478 s:  End of UB953 config 
[MCU2_0]    254.611383 s:  Configuring AR0233 imager .. Please wait till it finishes 
   255.591614 s: ISS: Initializing sensor [AR0233-UB953_MARS] ... Done !!!
Creating graph 
Initializing params for capture node 
Initializing params for capture node 
capture_config = 0x0x6e0410 
Creating capture node 
obj->capture_node = 0x0x69ad10 
read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
app_create_viss : sensor_dcc_id = 233 
AEWB Set Reference done
Enabling LDC 
Creating LDC 
[MCU2_0]    255.591381 s:  AR0233 config done
[MCU2_0]    255.591471 s: LXC DBG: AR0233_Config, 367 print , status = 0 
[MCU2_0]    255.591507 s: IM_SENSOR_CMD_CONFIG returning status = 0 
Display Set Target done
vxSetGraphScheduleConfig done
Scaler is disabled
app_create_graph exiting
app_create_graph done


 ==========================
 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:    255.629466 s: ISS: Starting sensor [AR0233-UB953_MARS] ... !!!
[MCU2_0]    255.629582 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON 
[MCU2_0]    255.629654 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x2
[MCU2_0]    255.629689 s: UB960 config start 
[MCU2_0]    255.885472 s: End of UB960 config 
[MCU2_0]    255.885533 s: UB960 config start 
[MCU2_0]    256.141427 s: End of UB960 config 
[MCU2_0]    256.141516 s: LXC DBG: AR0233_StreamOn, 377 print
[MCU2_0]    256.141560 s: LXC DBG: AR0233_Debug, 795 print
[MCU2_0]    256.142870 s: AR0233 Debug Reg 0 : FRAME_COUNT2, Addr 0x2000, Value 0xffff 
[MCU2_0]    256.142921 s: AR0233 Debug status =  0
[MCU2_0]    256.144224 s: AR0233 Debug Reg 1 : FRAME_COUNT, Addr 0x2002, Value 0xffff 
[MCU2_0]    256.144268 s: AR0233 Debug status =  0
[MCU2_0]    256.145570 s: AR0233 Debug Reg 2 : FRAME_STATUS, Addr 0x2008, Value 0x2 
[MCU2_0]    256.145610 s: AR0233 Debug status =  0
[MCU2_0]    256.146911 s: AR0233 Debug Reg 3 : CHIP_VERSION_REG, Addr 0x3000, Value 0x956 
[MCU2_0]    256.146954 s: AR0233 Debug status =  0
[MCU2_0]    256.147001 s: LXC DBG: AR0233_Debug, 814 print , status = 0 
[MCU2_0]    256.157382 s: UB960 config start 
   256.173664 s: ISS: Starting sensor [AR0233-UB953_MARS] ... !!!
[MCU2_0]    256.173477 s: End of UB960 config 
[MCU2_0]    256.173553 s: LXC DBG: AR0233_StreamOn, 395 print , status = 0 
get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/AR0233-UB953_MARS/wdr 


Unsupported command 



 ==========================
 Demo : Single Camera w/ 2A
 ==========================

 p: Print performance statistics

 s: Save Sensor RAW, VISS Output and H3A output images to File System

 e: Export performance statistics

 u: Update DCC from File System


 x: Exit

 Enter Choice: s

RAW file name /opt/vision_apps/test_data/img_0000.raw 
in width =  1920
in height =  1280
in format =  1052672
4915200 bytes written to /opt/vision_apps/test_data/img_0000.raw
YUV file name /opt/vision_apps/test_data/img_viss_0000.yuv 
imgaddr_width = 1920 
imgaddr_height = 1280 
imgaddr_stride = 1920 
width = 1920 
height = 1280 
Written 3686400 bytes 
3686400 bytes written to /opt/vision_apps/test_data/img_viss_0000.yuv
H3A file name /opt/vision_apps/test_data/h3a_0000.bin 
24576 bytes saved from H3A output buffer 
YUV file name /opt/vision_apps/test_data/img_ldc_0000.yuv 
imgaddr_width = 1920 
imgaddr_height = 1080 
imgaddr_stride = 1920 
width = 1920 
height = 1080 
Written 3110400 bytes 
3110400 bytes written to /opt/vision_apps/test_data/img_ldc_0000.yuv


 ==========================
 Demo : Single Camera w/ 2A
 ==========================

 p: Print performance statistics

 s: Save Sensor RAW, VISS Output and H3A output images to File System

 e: Export performance statistics

 u: Update DCC from File System


 x: Exit

 Enter Choice: 
Unsupported command 



 ==========================
 Demo : Single Camera w/ 2A
 ==========================

 p: Print performance statistics

 s: Save Sensor RAW, VISS Output and H3A output images to File System

 e: Export performance statistics

 u: Update DCC from File System


 x: Exit

 Enter Choice: s

RAW file name /opt/vision_apps/test_data/img_0001.raw 
in width =  1920
in height =  1280
in format =  1052672
4915200 bytes written to /opt/vision_apps/test_data/img_0001.raw
YUV file name /opt/vision_apps/test_data/img_viss_0001.yuv 
imgaddr_width = 1920 
imgaddr_height = 1280 
imgaddr_stride = 1920 
width = 1920 
height = 1280 
Written 3686400 bytes 
3686400 bytes written to /opt/vision_apps/test_data/img_viss_0001.yuv
H3A file name /opt/vision_apps/test_data/h3a_0001.bin 
24576 bytes saved from H3A output buffer 
YUV file name /opt/vision_apps/test_data/img_ldc_0001.yuv 
imgaddr_width = 1920 
imgaddr_height = 1080 
imgaddr_stride = 1920 
width = 1920 
height = 1080 
Written 3110400 bytes 
3110400 bytes written to /opt/vision_apps/test_data/img_ldc_0001.yuv


 ==========================
 Demo : Single Camera w/ 2A
 ==========================

 p: Print performance statistics

 s: Save Sensor RAW, VISS Output and H3A output images to File System

 e: Export performance statistics

 u: Update DCC from File System


 x: Exit

 Enter Choice: 
Unsupported command 



 ==========================
 Demo : Single Camera w/ 2A
 ==========================

 p: Print performance statistics

 s: Save Sensor RAW, VISS Output and H3A output images to File System

 e: Export performance statistics

 u: Update DCC from File System


 x: Exit

 Enter Choice: s

RAW file name /opt/vision_apps/test_data/img_0002.raw 
in width =  1920
in height =  1280
in format =  1052672
4915200 bytes written to /opt/vision_apps/test_data/img_0002.raw
YUV file name /opt/vision_apps/test_data/img_viss_0002.yuv 
imgaddr_width = 1920 
imgaddr_height = 1280 
imgaddr_stride = 1920 
width = 1920 
height = 1280 
Written 3686400 bytes 
3686400 bytes written to /opt/vision_apps/test_data/img_viss_0002.yuv
H3A file name /opt/vision_apps/test_data/h3a_0002.bin 
24576 bytes saved from H3A output buffer 
YUV file name /opt/vision_apps/test_data/img_ldc_0002.yuv 
imgaddr_width = 1920 
imgaddr_height = 1080 
imgaddr_stride = 1920 
width = 1920 
height = 1080 
Written 3110400 bytes 
3110400 bytes written to /opt/vision_apps/test_data/img_ldc_0002.yuv


 ==========================
 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: ^C
Clean up and exit while handling signal 2
Application did not close some rpmsg_char devices
root@j7-evm:/opt/vision_apps# [MCU2_0]    315.860488 s: DHCP client timed out. Retrying..... 
[MCU2_0]    483.860492 s: DHCP client timed out. Retrying....

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    手动添加 WDR 相关文件后,日志如下所示:

    root@j7-evm:/opt/vision_apps# 
    root@j7-evm:/opt/vision_apps# ./run_app_single_cam.sh 
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=4) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       160.468064 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       160.469744 s:  VX_ZONE_INIT:Enabled
       160.469774 s:  VX_ZONE_ERROR:Enabled
       160.469779 s:  VX_ZONE_WARNING:Enabled
       160.476655 s:  VX_ZONE_INIT:[tivxInit:71] Initialization Done !!!
       160.476917 s:  VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!!
    Invalid token [
    ]
    sensor_selection = [0]
    Invalid token [
    ]
    ldc_enable = [0]
    Invalid token [
    ]
    num_frames_to_run = [1000000000]
    Invalid token [
    ]
    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 
    tivxImagingLoadKernels done
       160.482160 s: ISS: Enumerating sensors ... !!!
     NETWORK: Opened at IP Addr = 192.168.10.11, socket port=5000!!!
    [MCU2_0]    160.482291 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE 
    [MCU2_0]    160.482408 s: LXC DBG: IssSensor_DeserializerInit, 634 print
    [MCU2_0]    160.482524 s: UB960 config start 
    [MCU2_0]    160.682490 s: End of UB960 config 
    [MCU2_0]    160.682546 s: UB960 config start 
       160.882472 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
       160.882496 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
       160.882518 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
       160.882523 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
       160.882528 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
       160.882533 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
    Select camera port index 0-7 : [MCU2_0]    160.882334 s: End of UB960 config 
    1
    0x6 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : Invalid selection 
    . Try again 
    0x6 registered sensor drivers
    a : IMX390-UB953_D3 
    b : AR0233-UB953_MARS 
    c : AR0820-UB953_LI 
    d : UB9xxx_RAW12_TESTPATTERN 
    e : UB96x_UYVY_TESTPATTERN 
    f : GW_AR0233_UYVY 
    Select a sensor above or press '0' to autodetect the sensor : b
    Sensor selected : AR0233-UB953_MARS
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 1
    app_init done
    Querying AR0233-UB953_MARS 
       167.400481 s: ISS: Querying sensor [AR0233-UB953_MARS] ... !!!
       167.400756 s: ISS: Querying sensor [AR0233-UB953_MARS] ... Done !!!
    WDR mode is supported 
    Expsoure control is supported 
    Gain control is supported 
    obj->aewb_cfg.ae_mode = 0
    obj->aewb_cfg.awb_mode = 0
    Sensor DCC is enabled 
    Sensor width = 1920
    Sensor height = 1280
    Sensor DCC ID = 233
    Sensor Supported Features = 0x178
    Sensor Enabled Features = 0x158
       167.400791 s: ISS: Initializing sensor [AR0233-UB953_MARS], doing IM_SENSOR_CMD_PWRON ... !!!
       167.401743 s: ISS: Initializing sensor [AR0233-UB953_MARS], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]    167.400607 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY 
    [MCU2_0]    167.400673 s: Received Query for AR0233-UB953_MARS 
    [MCU2_0]    167.400853 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON 
    [MCU2_0]    167.400907 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x2 
    [MCU2_0]    167.400975 s: LXC DBG: AR0233_PowerOn, 429 print
    [MCU2_0]    167.401018 s: LXC DBG: AR0233_Debug, 795 print
    [MCU2_0]    167.401123 s: AR0233 Debug Reg 0 : FRAME_COUNT2, Addr 0x2000, Value 0xabcd 
    [MCU2_0]    167.401169 s: AR0233 Debug status =  -1
    [MCU2_0]    167.401297 s: AR0233 Debug Reg 1 : FRAME_COUNT, Addr 0x2002, Value 0xabcd 
    [MCU2_0]    167.401346 s: AR0233 Debug status =  -1
    [MCU2_0]    167.401456 s: AR0233 Debug Reg 2 : FRAME_STATUS, Addr 0x2008, Value 0xabcd 
    [MCU2_0]    167.401496 s: AR0233 Debug status =  -1
    [MCU2_0]    167.401591 s: AR0233 Debug Reg 3 : CHIP_VERSION_REG, Addr 0x3000, Value 0xabcd 
    [MCU2_0]    167.401630 s: AR0233 Debug status =  -1
    [MCU2_0]    167.401675 s: LXC DBG: AR0233_Debug, 814 print , status = -1 
    [MCU2_0]    167.401813 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG 
    [MCU2_0]    167.401861 s: Application requested features = 0x158 
    [MCU2_0]  
    [MCU2_0]    167.401897 s: UB960 config start 
    [MCU2_0]    167.657310 s: End of UB960 config 
    [MCU2_0]    167.657372 s: UB960 config start 
    [MCU2_0]    167.913262 s: End of UB960 config 
    [MCU2_0]    167.913318 s: Configuring camera # 1 
    [MCU2_0]    167.913379 s: LXC DBG: AR0233_Config, 274 print
    [MCU2_0]    167.913548 s: UB960 config start 
    [MCU2_0]    167.917317 s: End of UB960 config 
    [MCU2_0]    167.967221 s: ub953 config start : slaveAddr = 0x76 
    [MCU2_0]    168.972321 s:  End of UB953 config 
    [MCU2_0]    169.022224 s:  Configuring AR0233 imager .. Please wait till it finishes 
       170.002463 s: ISS: Initializing sensor [AR0233-UB953_MARS] ... Done !!!
    Creating graph 
    Initializing params for capture node 
    Initializing params for capture node 
    [MCU2_0]    170.002227 s:  AR0233 config done
    [MCU2_0]    170.002317 s: LXC DBG: AR0233_Config, 367 print , status = 0 
    [MCU2_0]    170.002353 s: IM_SENSOR_CMD_CONFIG returning status = 0 
    capture_config = 0x0x6e0410 
    Creating capture node 
    obj->capture_node = 0x0x69ad10 
    read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
    app_create_viss : sensor_dcc_id = 233 
    AEWB Set Reference done
    Enabling LDC 
    Creating LDC 
    Display Set Target done
    vxSetGraphScheduleConfig done
    Scaler is disabled
    app_create_graph exiting
    app_create_graph done
    
    
     ==========================
     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:    170.048380 s: ISS: Starting sensor [AR0233-UB953_MARS] ... !!!
    [MCU2_0]    170.048496 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON 
    [MCU2_0]    170.048569 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x2
    [MCU2_0]    170.048608 s: UB960 config start 
    [MCU2_0]    170.304315 s: End of UB960 config 
    [MCU2_0]    170.304376 s: UB960 config start 
    [MCU2_0]    170.560269 s: End of UB960 config 
    [MCU2_0]    170.560360 s: LXC DBG: AR0233_StreamOn, 377 print
    [MCU2_0]    170.560408 s: LXC DBG: AR0233_Debug, 795 print
    [MCU2_0]    170.561718 s: AR0233 Debug Reg 0 : FRAME_COUNT2, Addr 0x2000, Value 0xffff 
    [MCU2_0]    170.561770 s: AR0233 Debug status =  0
    [MCU2_0]    170.563075 s: AR0233 Debug Reg 1 : FRAME_COUNT, Addr 0x2002, Value 0xffff 
    [MCU2_0]    170.563120 s: AR0233 Debug status =  0
    [MCU2_0]    170.564424 s: AR0233 Debug Reg 2 : FRAME_STATUS, Addr 0x2008, Value 0x2 
    [MCU2_0]    170.564468 s: AR0233 Debug status =  0
    [MCU2_0]    170.565772 s: AR0233 Debug Reg 3 : CHIP_VERSION_REG, Addr 0x3000, Value 0x956 
    [MCU2_0]    170.565812 s: AR0233 Debug status =  0
    [MCU2_0]    170.565857 s: LXC DBG: AR0233_Debug, 814 print , status = 0 
    [MCU2_0]    170.576223 s: UB960 config start 
       170.592511 s: ISS: Starting sensor [AR0233-UB953_MARS] ... !!!
    [MCU2_0]    170.592320 s: End of UB960 config 
    [MCU2_0]    170.592405 s: LXC DBG: AR0233_StreamOn, 395 print , status = 0 
    
    
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: s
    
    RAW file name /opt/vision_apps/test_data/img_0000.raw 
    in width =  1920
    in height =  1280
    in format =  1052672
    4915200 bytes written to /opt/vision_apps/test_data/img_0000.raw
    YUV file name /opt/vision_apps/test_data/img_viss_0000.yuv 
    imgaddr_width = 1920 
    imgaddr_height = 1280 
    imgaddr_stride = 1920 
    width = 1920 
    height = 1280 
    Written 3686400 bytes 
    3686400 bytes written to /opt/vision_apps/test_data/img_viss_0000.yuv
    H3A file name /opt/vision_apps/test_data/h3a_0000.bin 
    24576 bytes saved from H3A output buffer 
    YUV file name /opt/vision_apps/test_data/img_ldc_0000.yuv 
    imgaddr_width = 1920 
    imgaddr_height = 1080 
    imgaddr_stride = 1920 
    width = 1920 
    height = 1080 
    Written 3110400 bytes 
    3110400 bytes written to /opt/vision_apps/test_data/img_ldc_0000.yuv
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: 
    Unsupported command 
    
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: s
    
    RAW file name /opt/vision_apps/test_data/img_0001.raw 
    in width =  1920
    in height =  1280
    in format =  1052672
    4915200 bytes written to /opt/vision_apps/test_data/img_0001.raw
    YUV file name /opt/vision_apps/test_data/img_viss_0001.yuv 
    imgaddr_width = 1920 
    imgaddr_height = 1280 
    imgaddr_stride = 1920 
    width = 1920 
    height = 1280 
    Written 3686400 bytes 
    3686400 bytes written to /opt/vision_apps/test_data/img_viss_0001.yuv
    H3A file name /opt/vision_apps/test_data/h3a_0001.bin 
    24576 bytes saved from H3A output buffer 
    YUV file name /opt/vision_apps/test_data/img_ldc_0001.yuv 
    imgaddr_width = 1920 
    imgaddr_height = 1080 
    imgaddr_stride = 1920 
    width = 1920 
    height = 1080 
    Written 3110400 bytes 
    3110400 bytes written to /opt/vision_apps/test_data/img_ldc_0001.yuv
    
    
     ==========================
     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: x
    
    [MCU2_0]    193.246330 s: DHCP client timed out. Retrying..... 
    

    输出文件为:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Xianchou、

    我无法访问您附加的文件。 您可以重新上传吗? 几个问题:

    1.屏幕上的图像是否正确?

    2.您使用的是火星模块还是其他一些 AR0233模块?

    3.您是否对 SDK 07_03_00_07的源代码进行了任何更改?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    1.屏幕看不到任何内容。 它看起来像是没有 DP 的信号输出。

    2.我不确定 ar0233是否是火星模块。 它是自定义的第三方

    3.由于 Fusion 板只有一个 ub960,所以我只注释掉下面的一些代码:

    //ti-processor-sdk-rtos-j721e-evm-07_03_00_07/imaging/sensor_drv/src/iss_sensors.c  ImageSensor_RemoteServiceHandler
    
    case IM_SENSOR_CMD_DETECT:
                {
                    uint8_t chId = 0;
                    int32_t probeStatus;
                    uint8_t serializers_detected = 0;
                    memcpy(&channel_mask, cmd_param, sizeof(uint32_t));
    
                    probeStatus = IssSensor_detect_serializer(BOARD_CSI_INST_0, &serializers_detected);
                    if(probeStatus != 0)
                    {
                        printf("LXC: BOARD_CSI_INST_0 = %d\n" , BOARD_CSI_INST_0);
                        issLogPrintf("IssSensor_detect_serializer returned 0x%x \n", probeStatus);
                        return -1;
                    }
    
                    printf("LXC: serializers_detected = 0x%x\n" , serializers_detected);
    
                    // probeStatus = IssSensor_detect_serializer(BOARD_CSI_INST_1, &serializers_detected);
                    // if(probeStatus != 0)
                    // {
                    //     printf("LXC: BOARD_CSI_INST_1 = %d\n" , BOARD_CSI_INST_1);
                    //     issLogPrintf("IssSensor_detect_serializer returned 0x%x \n", probeStatus);
                    //     return -1;
                    // }
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我无法从 PC 上传图片。 错误的方式吗?

    "插入->图像/视频/文件->文件/URL"、然后"不允许插入文件或 URL "

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Xianchao、

    驱动程序通常是特定于模块的。 TI 的驱动程序仅用于 MARS 模块。 您的第三方摄像头可能需要不同的电源/复位序列。 我建议从您的模块供应商处获取串行器和传感器设置并更新驱动程序。

    此致、

    梅扬克

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的,我会尝试它。 谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Mayank、您好、这是我的行照片。 图片中似乎有一些东西、但我看不清。 我尝试了许多分辨率和图像格式、但它不起作用。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您能否连接从单个凸轮应用程序转储的原始帧?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    数据1:

    e2e.ti.com/.../4035.testdata1.tar.gz

    数据2:

    e2e.ti.com/.../6523.testdata2.tar.gz

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    此图像仅包含噪声。 请与您的模块供应商合作、获取摄像头+串行器/解串器设置并更新驱动程序。