智能公元论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2019|回复: 6

xr-50a 摄像头跑不起来

[复制链接]

1

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
发表于 2021-9-5 15:24:06 | 显示全部楼层 |阅读模式

[VEDIO_DBG][F:camera_get_image][L:108] start to capture image...
[CSI_JPEG] excption
[CAMERA ERR] CAMERA_CsiJpegIrq():126, csi jpeg excption
[CAMERA ERR] CAMERA_GetImage():163, sem wait fail
[CAMERA ERR] HAL_CAMERA_CaptureImage():451, capture fail...
[VEDIO_DBG][F:camera_get_image][L:118] capture image failed


按照jpeg里的程序写了一个,循环抓取一张图片,出现这些打印事什么问题?jpeg的 online模式,开启psram。


回复

使用道具 举报

1

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
 楼主| 发表于 2021-9-5 15:25:23 | 显示全部楼层
use default flash chip mJedec 0x0
[FD I]: mode: 0x4, freq: 96000000Hz, drv: 0
PMA: mode select:e

wlan information ===================================================
firmware:
    version : R-XR_C10.08.52.64_01.80 Jul  6 2019 20:05:10-P01.00.30
    buffer  : 12
driver:
    version : XR_V02.05
====================================================================

low_pwr_disable=1
PMA: wlan mode:a

platform information ===============================================
XRADIO Skylark SDK 1.1.1 Sep  5 2021 14:35:23

sram heap space [0x20ba50, 0x25fc00), total size 344496 Bytes
psram heap space [0x140f300, 0x1800000), total size 4132096 Bytes

cpu  clock 384000000 Hz
HF   clock  40000000 Hz

sdk option:
    XIP           : enable
    PSRAM         : enable
    INT LF OSC    : enable

mac address:
    efuse         : 00:00:00:00:00:00
    in use        : 68:36:4f:89:29:64
====================================================================

这个是初始启动的时候的打印
回复

使用道具 举报

1

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
 楼主| 发表于 2021-9-5 21:18:17 | 显示全部楼层
use default flash chip mJedec 0x0
[FD I]: mode: 0x4, freq: 48000000Hz, drv: 0

wlan information ===================================================
firmware:
    version : R-XR_C10.08.52.64_01.80 Jul  6 2019 20:05:10-P01.00.30
    buffer  : 12
driver:
    version : XR_V02.05
====================================================================


platform information ===============================================
XRADIO Skylark SDK 1.1.1 Sep  5 2021 17:21:52

sram heap space [0x209e3c, 0x25fc00), total size 351684 Bytes
psram heap space [0x140f2e0, 0x1800000), total size 4132128 Bytes

cpu  clock 240000000 Hz
HF   clock  40000000 Hz

sdk option:
    XIP           : enable
    PSRAM         : enable
    INT LF OSC    : enable

mac address:
    efuse         : 00:00:00:00:00:00
    in use        : 68:36:4f:89:29:64
====================================================================

[VEDIO_DBG][F:camera_mem_create][L:178] malloc addr: 0x1740010 -> 0x17db010
GC0308 chip id read success 0x9b
GC0308 Init Done
[VEDIO_DBG][F:camera_get_image][L:108] start to capture image...
[CSI_JPEG] csi:2 jpe:400004
[CSI_JPEG] excption
[CAMERA ERR] CAMERA_CsiJpegIrq():126, csi jpeg excption
[CAMERA ERR] CAMERA_GetImage():163, sem wait fail
[CAMERA ERR] HAL_CAMERA_CaptureImage():451, capture fail...
[VEDIO_DBG][F:camera_get_image][L:118] capture image failed
[VEDIO_DBG][F:camera_get_image][L:108] start to capture image...
[CSI_JPEG] csi:2 jpe:400004
[CSI_JPEG] excption
[CAMERA ERR] CAMERA_CsiJpegIrq():126, csi jpeg excption
[CAMERA ERR] CAMERA_GetImage():163, sem wait fail
[CAMERA ERR] HAL_CAMERA_CaptureImage():451, capture fail...
[VEDIO_DBG][F:camera_get_image][L:118] capture image failed
[VEDIO_DBG][F:camera_get_image][L:108] start to capture image...
回复

使用道具 举报

0

主题

9

帖子

64

积分

注册会员

Rank: 2

积分
64
发表于 2021-9-6 10:47:55 | 显示全部楼层
没接摄像头吧?
回复

使用道具 举报

1

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
 楼主| 发表于 2021-9-6 13:05:25 | 显示全部楼层
ly 发表于 2021-9-6 10:47
没接摄像头吧?

不是的,接了摄像头
回复

使用道具 举报

0

主题

9

帖子

64

积分

注册会员

Rank: 2

积分
64
发表于 2021-9-6 13:50:03 | 显示全部楼层
world_all 发表于 2021-9-6 13:05
不是的,接了摄像头

你跑example目录下的jpeg有这问题吗?
回复

使用道具 举报

1

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
 楼主| 发表于 2021-9-6 18:58:04 | 显示全部楼层
ly 发表于 2021-9-6 13:50
你跑example目录下的jpeg有这问题吗?

也有同样问题,我用的这个地址的代码https://github.com/XradioTech/xradio-skylark-sdk
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|智能公元论坛 ( 粤ICP备19147158 )

GMT+8, 2024-9-17 03:15 , Processed in 0.063894 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表