Photonicat TTL,Watchdog,Recovery说明: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 22: | Line 22: | ||
* conf文件在本仓库 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/files/pcat-manager.conf | * conf文件在本仓库 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/files/pcat-manager.conf | ||
* c文件在:https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master/src | * c文件在:https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master/src | ||
如果不运行openwrt,可以自行编译此软件: | |||
https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master | |||
<pre> | |||
meson build | |||
cd build | |||
meson compile | |||
</pre> | |||
然后运行 | |||
<pre> | |||
pcat-manager --distro -D | |||
</pre> | |||
===uboot 关闭喂狗=== | ===uboot 关闭喂狗=== | ||
apply 这个patch,关闭watchdog | apply 这个patch,关闭watchdog | ||
参考 https://github.com/photonicat/rockchip_rk3568_linux_mainline/blob/master/patches/u-boot/314-rockchip-rk3568-Add-support-for-photonicat.patch | 参考 https://github.com/photonicat/rockchip_rk3568_linux_mainline/blob/master/patches/u-boot/314-rockchip-rk3568-Add-support-for-photonicat.patch | ||
===具体喂狗协议=== | ===具体喂狗协议=== |
Revision as of 12:12, 18 August 2023
ttl debug位置
为了方便调试,PCBA中预留了TTL的UART,console debug,速率: 1500000
此处为3个pin,需要自行焊接一个调试口,可以使用 picocom / PuTTY
链接,参数: 1500000bps, 8N1, No Flow Control.
mcu watchdog disable位置
默认有watchdog,在没有喂狗的情况下会重启。短路即可关闭狗。位置如下:
通过 软件 喂狗、或关闭喂狗
也可以通过软件来喂狗或关闭喂狗。
user level 关闭喂狗
参考 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/Makefile
- conf文件在本仓库 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/files/pcat-manager.conf
- c文件在:https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master/src
如果不运行openwrt,可以自行编译此软件: https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master
meson build cd build meson compile
然后运行
pcat-manager --distro -D
uboot 关闭喂狗
apply 这个patch,关闭watchdog 参考 https://github.com/photonicat/rockchip_rk3568_linux_mainline/blob/master/patches/u-boot/314-rockchip-rk3568-Add-support-for-photonicat.patch