芯片为DM8148 ,想问一下,这个i2c_rdwr.out有没有源码。也不知这个如何使用。是接在任何一个I2C端口上的设备都可用这个来探测么? 如 I2C0 端口。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
./ 运行即可,会提示你如何使用的。可以用于I2C0端口的。 你具体看看帮助信息吧,很容易的
源码位置
\dvr_rdk\mcfw\src_linux\utils
调试 i2c 也可以借助 i2c tools,在dm8148的rdk 的文件系统里面有提供,你可以直接使用 i2cdetect / i2cdump / i2cget / i2cset 这几个工具来调试的;