Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

HI3516D I2C与it6801驱动调试记录

一:解决I2C问题 以前用HI3520D是使用的软件模拟的I2C,今天在弄3516时发现SDK里已经改为硬件I2C的方式了,说明SDK已经做过内核驱动. 到/bin目录里一看,还有i2c_read之类的文件. 然后 板子上的IT6801连接的是I2C0,尝试一下 i2c_read 0x00 0x90 0x02 返回为I2C错误,由于身边没……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

内核调试笔记

一:dmesg 当我们没有使用串口连到板子上时.可以使用dmesg命令查看内核打印的信息.详细的 dmesg用法https://linux.cn/article-3587-1.html 二:驱动崩溃查询 如图所示,应该是在it6604driver 开始崩溃 ,利用反汇编工具查找(objdump) bfa9203c以及bfa990c8所指向……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97