运行get_sif_data 有1/4概率发生TIME OUT错误

运行get_sif_data时有大约1/4的概率发生TIME OUT错误。

这颗sensor是MIPI接口,上电就出流的,不需要驱动,图像格式是640*512@50fps,raw14

不报错的时候抓出来的raw图确认是正常的。

root@x3sdbx3-samsung2G-3200:/app# ./get_sif_data

Horizon Robotics Sensor Test Tools V1.0

********************** Sensor Lists *************************

0 – IMX415

1 – M3384

2 – F37

*************************************************************

Please select :1

set_sensor_param

bus_num 2

bus_type 0

sensor_name m3384

reg_width 8

sensor_mode 1

sensor_addr 0x40

serial_addr 0x0

resolution 512

hb sensor init success…

hb mipi init success…

devId: 0 snsinfo.sensorInfo.entry_index:1

camera_info->mipi_attr.mipi_host_cfg.channel_num: 1

[ERROR][“vio_devop”][utils/dev_ioctl.c:280] [1878.075181]dev_get_buf_timeout[280]: pipe(0)TIME OUT ,sec(1878)usec(75181)!

[ERROR][“vio_devop”][utils/dev_ioctl.c:283] [1878.075310]dev_get_buf_timeout[283]: pipe(0)Get buf sem_timedwait failed Connection timed out!

[ERROR][“vin”][vin/hb_vin_api.c:1381] [1878.075460]HB_VIN_GetDevFrame[1381]: devId 0 GetDevFrame BUFFER_OUT_DONE timeout

HB_VIN_GetDevFrame error!!!

********************** Command Lists *************************

q – quit

g – get one frame

l – get a set frames

h – print help message

Command: Command: [ERROR][“vio_core”][commom_grp/binding_main.c:1025] [1880.272846]comm_dq_no_data[1025]: G0 MIPI_SIF_MODULE module dq too much timeout error_detail -3

[ERROR][“vio_core”][commom_grp/binding_main.c:1025] [1880.473088]comm_dq_no_data[1025]: G0 MIPI_SIF_MODULE module dq too much timeout error_detail -3

[ERROR][“vio_core”][commom_grp/binding_main.c:1025] [1880.673318]comm_dq_no_data[1025]: G0 MIPI_SIF_MODULE module dq too much timeout error_detail -3

正常的log,如下

root@x3sdbx3-samsung2G-3200:/app# ./get_sif_data

Horizon Robotics Sensor Test Tools V1.0

********************** Sensor Lists *************************

0 – IMX415

1 – M3384

2 – F37

*************************************************************

Please select :1

set_sensor_param

bus_num 2

bus_type 0

sensor_name m3384

reg_width 8

sensor_mode 1

sensor_addr 0x40

serial_addr 0x0

resolution 512

hb sensor init success…

hb mipi init success…

devId: 0 snsinfo.sensorInfo.entry_index:1

camera_info->mipi_attr.mipi_host_cfg.channel_num: 1

normal pipe_id (0)type(9)frame_id(1)buf_index(0)w x h(640x512) data_type 9 img_format 0

stride_size(1120) w x h640 x 512 size 573440

pipe(0)dump normal raw frame id(1),plane(1)size(573440)

filedump(pipe0_plane0_640x512_frame_001.raw, size(573440) is successed

dumpToFile raw cost time 8 ms

********************** Command Lists *************************

q – quit

g – get one frame

l – get a set frames

h – print help message

Command: Command: q

系统软件版本:X3M_SDK_BR22_20230128

问题描述:

在SDK/sample/get_sif_data程序中添加新sensor,运行get_sif_data时有大约1/4的概率发生TIME OUT错误。

这颗sensor是MIPI接口,上电就出流的,不需要驱动,图像格式是640*512@50fps,raw14

不报错的时候抓出来的raw图确认是正常的。