阅读:4132回复:0

全志平台寄存器调试

楼主#
更多 发布于:2020-09-02 15:50
写寄存器:
cd /sys/class/misc/sunxi-reg/rw
ls
compare dump write

echo 0x52000000 0x00000001 > write
可将0x52000000寄存器的值设置为:0x00000001


读寄存器:
cd /sys/class/misc/sunxi-reg/rw

echo 0x52000000 > dump
cat dump
0x00008019
If you have nothing to lose, then you can do anything.
游客

返回顶部