amba调试总结

i2c调试
#用i2cdetect检测有几组i2c总线在系统上:
i2cdetect -l
#检测i2c总线上挂载的设备
i2cdetect -r -y 1
#I2C 设备的位置显示为UU或者表示设备地址的数值,UU表示该设备在 driver 中被使用。
#查看所有器件寄存器的值
i2cdump -f -y 0 0x2f
    
i2cset -f -y 0 0x2f 0xf0 0x02
i2cset -f -y 0 0x2f 0x01 0x00
i2cset -f -y 0 0x2f 0x00 0x00 0x00 0x0b


DSP日志

起不来之后,用# dsplog_cap -m all -l 1 -r 0 -o /tmp/dsplog1.bin 然后ctrl+c结束
然后用                    dsplog_cap -i /tmp/dsplog1.bin -f /tmp/dsplog.txt


测试VIN

amba_debug -w 0xed1c8000 -d 0x1000&&amba_debug -r 0xed1c0000 -s 0x120&&amba_debug -r 0xed1c0800

抓图
test_encode -i0 --hdmi 720p --raw-cap 1
test_yuvcap -R -f 1.raw

查找命令使用:find / -name osd_server_tiny_yolov3

发布了28 篇原创文章 · 获赞 6 · 访问量 1510

猜你喜欢

转载自blog.csdn.net/lx123010/article/details/103902938