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.
在运行脚本时,自动选择sensor drivers会选择UB9xxx_RAW12_TESTPATTERN,应该并不是和我们的摄像头匹配的sensor drivers,以下是我们在运行demo时的log信息:
J7EVM@QNX:/ti_fs/vision_apps# run_app_single_cam.sh
APP: Init QNX ... !!!
appIpcInit: IPC: Init QNX ... !!!
appIpcInit: IPC: Init ... Done !!!
32.504971 s: REMOTE_SERVICE: Init ... !!!
32.505107 s: REMOTE_SERVICE: Init ... Done !!!
32.505135 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
32.505165 s: VX_ZONE_INIT:Enabled
32.505178 s: VX_ZONE_ERROR:Enabled
32.505191 s: VX_ZONE_WARNING:Enabled
32.505437 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
32.505478 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[tsdl]: ===========cfg_file_name: /ti_fs/vision_apps/app_single_cam.cfg===========
sensor_selection = [0]
ldc_enable = [0]
num_frames_to_run = [1000000000]
is_interactive = [1]
32.509251 s: ISS: Enumerating sensors ... !!!
33.009216 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
33.009290 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
33.009306 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
33.009321 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
33.009337 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
33.009353 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
Select camera port index 0-7 : 2
6 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
6 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 : 0
Sensor selected : UB9xxx_RAW12_TESTPATTERN
LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 1
Querying UB9xxx_RAW12_TESTPATTERN
53.025763 s: ISS: Querying sensor [UB9xxx_RAW12_TESTPATTERN] ... !!!
53.026129 s: ISS: Querying sensor [UB9xxx_RAW12_TESTPATTERN] ... Done !!!
53.026151 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN], doing IM_SENSOR_CMD_PWRON ... !!!
53.026749 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN], doing IM_SENSOR_CMD_CONFIG ... !!!
[MCU2_0] 53.026558 s: rawtestpat_PowerOn : Read 0x7a from register 0x0 on slave device 0x3d
53.656005 s: ISS: Initializing sensor [UB9xxx_RAW12_TESTPATTERN] ... Done !!!
read_test_image_raw : Unable to open file /ti_fs/vision_apps/test_data/img_test.raw
app_create_viss : sensor_dcc_id = 9702
Enabling LDC
Creating LDC
Invalid DCC size for LDC. Disabling DCC
Scaler is enabled
53.723003 s: ISS: Starting sensor [UB9xxx_RAW12_TESTPATTERN] ... !!!
54.236004 s: ISS: Starting sensor [UB9xxx_RAW12_TESTPATTERN] ... !!!
==========================
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
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
x: Exit
Enter Choice: s
RAW file name /ti_fs/vision_apps/test_data/img_0000.raw
YUV file name /ti_fs/vision_apps/test_data/img_viss_0000.yuv
imgaddr_width = 3840
imgaddr_height = 2160
imgaddr_stride = 3840
width = 3840
height = 2160
Written 12441600 bytes
H3A file name /ti_fs/vision_apps/test_data/h3a_0000.bin
YUV file name /ti_fs/vision_apps/test_data/img_msc_0000.yuv
imgaddr_width = 1920
imgaddr_height = 1080
imgaddr_stride = 1920
width = 1920
height = 1080
Written 3110400 bytes
YUV file name /ti_fs/vision_apps/test_data/img_ldc_0000.yuv
imgaddr_width = 1920
imgaddr_height = 1080
imgaddr_stride = 1920
width = 1920
height = 1080
Written 3110400 bytes
==========================
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
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
x: Exit
Enter Choice:
您好,我们已收到您的问题并升级到英文论坛寻求帮助,链接如下,如有答复将尽快回复您:
e2e.ti.com/.../tda4vm-connecting-the-sg5-ox05bir-camera-on-the-fusion1-expansion-board-will-not-boot
您好,
请参阅以下note,其中有关于如何在成像框架中添加新的传感器驱动程序:
如果您在上面的menu选项中选择option"0",它会尝试自动检测传感器和串行器/解串器组合。在这种情况下,由于传感器不受支持,这个就很可能是从 ub960选择测试模式输出的原因。
请您按照以上链接添加新的传感器,然后从sensor selection menu中选择该传感器。