You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
fxsheep edited this page Feb 26, 2022
·
6 revisions
Unsupported yet:
Flash operations
Bugs/partial support:
Full/Real reset.
Current reset has no effect at chip level (peripherals). WCH's RISC-V implementation is
more like Cortex-M. Similar to AIRCR in ARM's NVIC, the system can be reset by writing
to PFIC_CFGR, i.e mww 0xe000e048 0xbeef0080.
However, once reset with this, the debug logic will also be reset. Since this is against
the spec except for the DM and any logic required to access the DM., OpenOCD will be
too surprised to see DM stop responding, and WCH-Link is too dumb to reconnect by itself, requiring the user to manually
power-cycle WCH-Link.