Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    1. Home
    2. hmj
    3. Posts
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 20
    • Best 0
    • Groups 0

    Posts made by hmj

    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      问题是程序没改动过, 以前二个月里都没动过,也能跑出图,就昨天开始就不行了
      触发模式一直是外触发, 外触发信号也是合乎要求.
      相机设置应该也是断电不保存的.

      出厂值后,出现如下错误
      [ 57.016386] mvcam 7-003b: camera_common_mclk_enable: no device power rail
      [ 57.525021] mvcam 7-003b: camera_common_mclk_disable: no device power rail
      [ 57.531930] mvcam 8-003b: camera_common_mclk_enable: no device power rail
      [ 58.040414] mvcam 8-003b: camera_common_mclk_disable: no device power rail
      [ 58.047311] mvcam 7-003b: camera_common_mclk_enable: no device power rail
      [ 58.555198] mvcam 7-003b: csi2_try format
      [ 58.555205] mvcam 7-003b: mvcam_csi2_get_fmt_idx_by_code success
      [ 58.613896] video4linux video0: tegra_channel_s_ctrl: 10100856 set vi timeout disable 1

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      我们买的一款相机现在不出图了,排除了其他原因,应该和相机相关. 从dmesg中可以看到如下log

      [ 33.578643] mvcam 7-003b: camera_common_mclk_enable: no device power rail
      [ 34.087223] mvcam 7-003b: camera_common_mclk_disable: no device power rail
      [ 34.094119] mvcam 8-003b: camera_common_mclk_enable: no device power rail
      [ 34.602642] mvcam 8-003b: camera_common_mclk_disable: no device power rail
      [ 34.609562] mvcam 7-003b: camera_common_mclk_enable: no device power rail

      这是啥问题?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm said in jetson nano 2GB无法识别相机 MV-MIPI-IMX264M:

      gamma

      gamma设置不需要对相机做关闭操作吧,只要在不拍照的时刻进行配置即可?
      lut的文件,请问这个文件怎么 修改

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      相机有没有调节对比度的api, 我们目前发现图片在拍黑白图案(相机标定)时候,图片质量没有国外相机明显.

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      我们现在基本测试已经通过,现在有个棘手的问题,由于jetson nano的mipi驱动在kernel image中,我目前的做法是直接替换官方的.

      我们目前项目中添加了许多其他功能, 因此修改了内核的许多地方.所以为了替换之前的老相机,必须拿到你们kenrel源码和DTS, 再整合进我们目前的内核中,才能无缝完成项目的迁移.

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      感谢,问题解决~

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      ./mv_mipi_i2c.sh -r -f maxfps
      r maxfps @ current setting is 35.84 fps
      ./mv_mipi_i2c.sh -r -f fps
      r fps is 30.00 fps

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm said in jetson nano 2GB无法识别相机 MV-MIPI-IMX264M:

      trgcount

      pt@dpt-desktop:./mv_mipi_i2c.sh -r -f version
      version is C 01.34 and L 02.00
      dpt@dpt-desktop: ./mv_mipi_i2c.sh -r -f trgnum
      r trigger num is 1
      dpt@dpt-desktop: ./mv_mipi_i2c.sh -r -f trginterval
      r trginterval is 0
      dpt@dpt-desktop:./mv_mipi_i2c.sh -r -f trgdelay
      r trgdelay is 0
      dpt@dpt-desktop:./mv_mipi_i2c.sh -r -f trgedge
      r trg edge is 0
      dpt@dpt-desktop: ./mv_mipi_i2c.sh -r -f trgfilter_enable
      r trgfilter enable is 0
      dpt@dpt-desktop: ./mv_mipi_i2c.sh -r -f trgfilter_time
      r trgfilter time is 1 us
      dpt@dpt-desktop:./mv_mipi_i2c.sh -r -f trgexp_delay
      r trigger exposure delay is 0 us
      dpt@dpt-desktop:./mv_mipi_i2c.sh -r -f trgcount
      r trigger count 156, trigger lost 0

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm

      ./mv_mipi_i2c.sh -r -f version
      version is C 01.34 and L 02.00
      貌似已经是最新固件,与网站上6月5日是同一版, 无需再升级

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      我现在又遇到一个问题,如果我把相机曝光设置为10000(2432*2048), 查询GET_FPS,帧率大约为38.84,那么帧周期为27902, 在此基础上用硬触发(周期为28000的脉冲,其中高电平维持10000,站空比为5:7)去拍, 比如发送10个脉冲, 那么只能收到5图,如果把触发周期改成34000以上, 那么10图都能接受到.

      我现在需要保证相机尽量快速取图,哪边还需要再配置才能获地高速?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      也就是说,在nano平台, 关于roi这组参数,可以忽略i2c层面配置,只有v4l那边配置就可以了?
      这么做是真实硬件ROI, 会带来FPS得提升吧?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm

      假设jetson上电后得预配置时[0,0,2432,2048],正在正常按节奏取图,
      这时UI 给了一个[128, 16, 1024, 256] 这么一个需求,
      如何配置驱动,才能让用户无感无缝切换图片.
      (配置时候,可以接受暂时停流, 不接受重启上层应用或重启jetson设备)

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      关于ROI, 有几个问题请教一下
      1:X,Y,W,H中的W应该多少字节对齐合适? 全画面下文档建议是64x, X的起始位置应为多少字节对其合适?参考代码中是8
      2:ROI重配置是否需要对/dev/video0设备关闭重新打开?
      3:ROI的设置有2部分重叠, I2C那边有设置参数, V4L2也有设置参数.是否要重配置
      如果我需一起哦截取的位置是 [256,256, 512,512] 那么V4L2那边的具体参数该怎么配置,从0,0开始(应为I2C已经配过了), 还是(256,256)开始?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      v4l2-ctl --set-ctrl trigger_mode=1
      v4l2-ctl --set-ctrl trigger_src=1
      v4l2-ctl -d /dev/video0 --set-fmt-video=width=2432,height=2048,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=raw.raw

      我用gpio触发, 硬件链接没问题, 量到正常电平,但是并没有获取到图片,还需要哪些设置?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm

      如果用作硬触发模式,如何设置,相机的曝光时间?

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      我需要一个C的开发手册, 方便开发应用,谢谢!

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      @veye_xumm
      我先把整个 /boot 压缩备份,
      用浏览器在github上下载zip包, 提取的tegra210-p3448-0003-p3542-0000.dtb,
      md5sum /tmp/tegra210-p3448-0003-p3542-0000.dtb
      e82e10f334ffc7b881e1549a1b100437 /tmp/tegra210-p3448-0003-p3542-0000.dtb

      直接拷贝覆盖/boot的那个同名文件,同时不确定是否到位, 也同步替换/boot//boot/kernel_tegra210-p3448-0003-p3542-0000.dtb.

      最后reboot

      posted in Jetson App Software
      H
      hmj
    • RE: jetson nano 2GB无法识别相机 MV-MIPI-IMX264M

      ls /proc/device-tree/host1x/i2c@546c0000/
      '#address-cells' clock-frequency compatible iommus phandle resets '#size-cells'
      avdd_dsi_csi-supply clock-names ina3221x@40 linux,phandle reg scl-gpio status
      bus-pullup-supply clocks interrupts name reset-names sda-gpio

      ls /sys/bus/i2c/drivers
      bq27xxx-battery i2c-ds90ub954 imx477 lp855x mvcam pca953x rt5659 tegra_edid veye327
      cs53l30 imx219 ina219x lt6911uxc nct1008_nct72 pca954x rtc-rx8025 tmpm32xi2c veyecam
      cssc132 imx268 ina230x max77620 ov10823 pca9570 sgtl5000 tps65132 veye_imx335
      csx307 imx318 ina3221x max9295 ov23850 'PEX9749 thermal sensor' stepper_pca ucsi_ccg
      dummy imx390 lc898212 max9296 ov9281 rt5640 tas2552 usb3503

      posted in Jetson App Software
      H
      hmj