12112
- 收藏
- 点赞
- 分享
- 举报
hi3516d + ar0237
Hi!
I have such camera
[img=600,600]https://gd3.alicdn.com/bao/uploaded/i3/23791004/TB2BSFruXXXXXc1XXXXXXXXXXXX_!!23791004.jpg_600x600.jpg[/img]
It is hi3516d + ar0237, seems it is XM company production.
I try to deploy my software, but I can`t get CMOS works, it doesn`t send any frames :(
I use following parameters for init, also I am linking my code with -lsns_ar0237
and it reports me that ar0237 inited ok
[code]combo_dev_attr_t HISPI_4lane_SENSOR_AR0237_12BIT_1080p_NOWDR_ATTR =
{
/* input mode */
.input_mode = INPUT_MODE_HISPI,
{
.lvds_attr = {
.img_size = {1920, 1080},
HI_WDR_MODE_NONE,
LVDS_SYNC_MODE_SOL,
RAW_DATA_12BIT,
LVDS_ENDIAN_LITTLE,
LVDS_ENDIAN_LITTLE,
.lane_id = {0, 1, 2, 3, -1, -1, -1, -1},
.sync_code = {
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane0
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane1
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane2
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane3
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane0
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane1
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane2
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane3
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
}
}
}
};
VI_DEV_ATTR_S DEV_ATTR_LVDS_BASE =
{
/* interface mode */
VI_MODE_LVDS,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFFF00000, 0x0},
/* progessive or interleaving */
VI_SCAN_PROGRESSIVE,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_YUYV,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1280, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 720, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/* use interior ISP */
VI_PATH_ISP, //VI_PATH_BYPASS, //VI_PATH_ISP,
/* input data type */
VI_DATA_TYPE_RGB,
/* bRever */
HI_FALSE,
/* DEV CROP */
{0, 0, 1920, 1080}
};
[/code]
My rootfs is based on last buildroot and last hi3516a/d SDK (V100R001C01SPC050).
I have downloaded original camera module firmware/software, there is strange init:
loadmod:
[code]cd /usr/lib/modules/
./load3516a -i -sensor ov4689 -osmem 50
. /usr/etc/loadpublic
cd /
[/code]
So, they init modules with sensor ov4689, but camera has ar0237.
Anyway my question is how to get this sensor to send me frames. For example with hi3516a+imx178 everything works ok.
I have such camera
[img=600,600]https://gd3.alicdn.com/bao/uploaded/i3/23791004/TB2BSFruXXXXXc1XXXXXXXXXXXX_!!23791004.jpg_600x600.jpg[/img]
It is hi3516d + ar0237, seems it is XM company production.
I try to deploy my software, but I can`t get CMOS works, it doesn`t send any frames :(
I use following parameters for init, also I am linking my code with -lsns_ar0237
and it reports me that ar0237 inited ok
[code]combo_dev_attr_t HISPI_4lane_SENSOR_AR0237_12BIT_1080p_NOWDR_ATTR =
{
/* input mode */
.input_mode = INPUT_MODE_HISPI,
{
.lvds_attr = {
.img_size = {1920, 1080},
HI_WDR_MODE_NONE,
LVDS_SYNC_MODE_SOL,
RAW_DATA_12BIT,
LVDS_ENDIAN_LITTLE,
LVDS_ENDIAN_LITTLE,
.lane_id = {0, 1, 2, 3, -1, -1, -1, -1},
.sync_code = {
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane0
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane1
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane2
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane3
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane0
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane1
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane2
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
{{ 0x3, 0x7, 0x1, 0x5 }, //PHY0_lane3
{0x043, 0x047, 0x041, 0x045},
{0x023, 0x027, 0x021, 0x025},
{0x083, 0x087, 0x081, 0x085}},
}
}
}
};
VI_DEV_ATTR_S DEV_ATTR_LVDS_BASE =
{
/* interface mode */
VI_MODE_LVDS,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFFF00000, 0x0},
/* progessive or interleaving */
VI_SCAN_PROGRESSIVE,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_YUYV,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1280, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 720, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/* use interior ISP */
VI_PATH_ISP, //VI_PATH_BYPASS, //VI_PATH_ISP,
/* input data type */
VI_DATA_TYPE_RGB,
/* bRever */
HI_FALSE,
/* DEV CROP */
{0, 0, 1920, 1080}
};
[/code]
My rootfs is based on last buildroot and last hi3516a/d SDK (V100R001C01SPC050).
I have downloaded original camera module firmware/software, there is strange init:
loadmod:
[code]cd /usr/lib/modules/
./load3516a -i -sensor ov4689 -osmem 50
. /usr/etc/loadpublic
cd /
[/code]
So, they init modules with sensor ov4689, but camera has ar0237.
Anyway my question is how to get this sensor to send me frames. For example with hi3516a+imx178 everything works ok.
文件: rootfs.tar
下载
我来回答
回答23个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-10-06 13:16:37
-
2019-04-25 15:37:44
-
2016-08-22 22:42:48
-
2021-03-05 17:09:29
-
2016-10-12 11:17:17
-
2016-11-17 20:05:13
-
2017-12-15 18:15:02
-
2019-01-21 14:38:49
-
2019-01-21 14:39:11
-
2020-11-12 11:17:09
-
2021-01-02 10:29:54
-
2016-09-28 17:41:41
-
252015-01-23 01:53:02
-
2016-10-12 16:08:22
-
2016-07-18 10:01:59
-
2018-01-12 09:31:18
-
2017-08-15 22:55:23
-
2016-12-20 15:08:01
-
2016-12-12 11:07:53
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认