导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    MIPI有信号输出了,cmerademo读数据读不上来

    其它全志芯片讨论区
    1
    2
    1388
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • I
      inomec LV 5 最后由 编辑

      平台V536H,系统tinaLinux4.9
      大哥大姐大嫂们 谁能指点一下,下一步怎么调试;

      I 1 条回复 最后回复 回复 引用 分享 0
      • I
        inomec LV 5 @inomec 最后由 inomec 编辑

        @inomec
        log 如下

        root@inomec:/home/jamo# ./camerademo
        [CAMERA]**********************************************************
        [ 1983.710648] [MT9J003]sensor_power
        [CAMERA]*                                                        *
        [CAMERA]*              this is camera test.                 [ 1983.719571] [MT9J003]PWR_ON!
             *
        [CAMERA]*                                                        *
        [CAMERA]********************************************[ 1983.740686] [MT9J003]sensor_init
        **************
        [CAMERA]**********************************************************
        [CAMERA] open /dev/video1!
        [CAMERA]********[ 1983.748619] [MT9J003]sensor_detect
        **************************************************
        [CAMERA]**********************************************************
        [CAMERA][ 1983.764284] [MT9J003]MT9J003 ID is detect:0x2c01
         The path to data saving is /tmp.
        [CAMERA] The number of captured photos is 5.
        [CAMERA] save bmp format
        [CAMERA] do not use w[ 1983.780345] [VIN_ERR]vin is not support this pixelformat:12307
        atermarks
        [ 1983.797592] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.805089] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.811761] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.818410] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.825078] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.831772] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.838439] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.845109] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.851781] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.858444] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.865116] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.871789] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.878437] [VIN_ERR]vin is not support this pixelformat:12307
        [ 1983.885107] [VIN_ERR]vin is not support this pixelformat:12307
        [CAMERA]**********************************************************[ 1983.892256] [MT9J003]sensor_g_mbus_config
        
        [CAMERA] Using format parameters SGBRG8.
        [CAMERA] camera pixelformat: SGBRG8
        [CAMERA] Resolution size : 906 * 640
        [CAMERA] [ 1983.902306] [MT9J003]sensor_ioctl
        The photo save path is /tmp.
        [CAMERA] The number of photos taken is 5.
        [CAMERA] Camera capture framerate is 10/1
        [ 1983.918023] alloc_contig_range: [59120, 591af) PFNs busy
        [CAMERA] VIDIOC_S_FMT succeed
        [CAMERA] fmt.type = 9
        [CAMERA] fmt.fmt.pix_mp.width = 906
        [ 1983.933571] alloc_contig_range: [59120, 591bf) PFNs busy
        
        [CAMERA] fmt.fmt.pix_mp.pixelformat = SGBRG8
        [CAMERA] fmt.fmt.pix_mp.field = 1
        [ 1983.950637] alloc_contig_range: [59140, 591cf) PFNs busy
        [ 1983.963666] alloc_contig_range: [59140, 591df) PFNs busy
        [ 1983.970041] alloc_contig_range: [59140, 591ef) PFNs busy
        [ 1983.976437] alloc_contig_range: [59140, 591ff) PFNs busy
        [ 1983.982835] alloc_contig_range: [59180, 5920f) PFNs busy
        [ 1983.989208] alloc_contig_range: [59180, 5921f) PFNs busy
        [ 1983.995623] alloc_contig_range: [591a0, 5922f) PFNs busy
        [ 1984.002767] alloc_contig_range: [59120, 591af) PFNs busy
        [ 1984.010749] [MT9J003]sensor_g_mbus_config
        [ 1984.015263] [VIN]__sensor_get_parameter, flags=8, mbus_code=12307
        [ 1984.022358] [MT9J003]sensor_s_stream on = 1, 906*640 fps: 10 code: 3013
        [ 1984.029790] [MT9J003]sensor_reg_init
        [ 1984.073994] [MT9J003]sensor_reg_init
        [ 1984.091222] [MT9J003]0x3040 = 0x41
        [ 1984.095141] [MT9J003]0x202 = 0xb8
        [ 1984.098961] [MT9J003]0x104 = 0x1
        [ 1984.102717] [MT9J003]0x3002 = 0x72a
        [ 1984.106731] [MT9J003]0x3004 = 0x5d0
        [ 1984.110768] [MT9J003]0x34e = 0x280
        [ 1984.114686] [MT9J003]0x3006 = 0x9a9
        [ 1984.118702] [MT9J003]0x34c = 0x38a
        [ 1984.122642] [MT9J003]0x3008 = 0x959
        [ 1984.126657] [MT9J003]0x340 = 0x310
        [ 1984.130592] [MT9J003]0x104 = 0x0
        [ 1984.134315] [MT9J003]sensor_s_exp_gain
        [ 1984.138526] [MT9J003]sensor_set_gain exp = 637, 12544 Done!
        [ 1984.144803] [MT9J003]s_fmt set width = 906, height = 640
        [CAMERA] stream on succeed
        [ISP]video device name is vin_video1
        [ 1984.156722] [MT9J003]sensor_ioctl
        cutils:D/AWIspApi: F:awIspGetIspId, L:48, video1 --> isp0
        >>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
        [ISP]version:V1.00
        [ISP]tag   : isp-500-520-v2.00
        [ISP]branch: a50_merge
        [ISP]commit: 924456a4a4b18b614a8273f282b25ad4ee59f417
        [ISP]date  : Tue Feb 12 17:03:31 2019 +0800
        [ISP]author: zhengjiangwei
        --------------------------------------------------------
        
        [ISP]register sensor entity is MT9J003
        [ISP]open isp device[0] success!
        [ISP_WARN]open /mnt/isp0_ctx_saved.bin success!!!
        [ISP_WARN]cannot find MT9J003_906_640_10_0 isp config, use default!!!
        [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
        [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
        [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
        [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
        [ISP_ERR] func: __AwbBuildLightCurve, line: 437,__AwbBuildLightCurve error temp_low = 0, temp_high = 0!
        [ISP]create isp0 server thread!
        [CAMERA] capture num is [0]
        [CAMERA_ERR] select timeout,end capture thread![ 1986.175172] [MT9J003]sensor_s_stream on = 0, 906*640 fps: 10 code: 3013
        
        [CAMERA] Capture thread finish
        [ISP_ERR] func: events_loop, line: 162,isp0 event select timeout
        [ISP_WARN]open /mnt/isp0_ctx_saved.bin success!!!
        [ 1987.182439] [MT9J003]sensor_power
        [CAMERA] close /dev/video1
        [ 1987.190003] [MT9J003]PWR_OFF!
        [CAMERA_ERR] capture_photo return error
        
        
        
        1 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策