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
Hi there! I compiled and uploaded the template code(which uses the debug pin PD1) to the MCU and I found that I couldn't upload other code to the MCU any more. So I tried to unbrick it using command minichlink -u but it stuck at Connection starting for a while and failed. The log is shown below.
minichlink -u
Found WCH Link
Entering Unbrick Mode
Connection starting
Programmer wasn't initialized? Fixing
DMStatus After Halt: /0/ffffffff
Fault on op (DMABSTRACTS = ffffffff) (-1) (Other Error) DMSTATUS: ffffffff
Unknown chip type. Report as bug with picture of chip.
Vendored: ffffffff
marchid : ffffffff
HARTINFO: ffffffff
Chip Type: 0
Fault on op (DMABSTRACTS = ffffffff) (-1) (Other Error) DMSTATUS: ffffffff
Unknown chip type. Report as bug with picture of chip.
Vendored: ffffffff
marchid : ffffffff
HARTINFO: ffffffff
Error: Flash is not unlocked (CTLR = ffffffff)
Error: Flash is not unlocked (CTLR = ffffffff)
Error: Flash is not unlocked (CTLR = ffffffff)
However, after reinstalling the WCH vendor driver and using "Clear All Code Flash-By Power Off" in the WCH-Link Utility, the MCU was unbricked successfully.
btw, the connection between MCU and WCH-LinkE programmer as well as the version of WCH-LinkE and WCH-Link Utility is shown below:
Hi there! I compiled and uploaded the template code(which uses the debug pin PD1) to the MCU and I found that I couldn't upload other code to the MCU any more. So I tried to unbrick it using command
minichlink -u
but it stuck atConnection starting
for a while and failed. The log is shown below.However, after reinstalling the WCH vendor driver and using "Clear All Code Flash-By Power Off" in the WCH-Link Utility, the MCU was unbricked successfully.
btw, the connection between MCU and WCH-LinkE programmer as well as the version of WCH-LinkE and WCH-Link Utility is shown below:
The text was updated successfully, but these errors were encountered: