WCH沁恒单片机
直播中

杨静

7年用户 1443经验值
私信 关注
[问答]

Debug时一直报错怎么解决?

Error: Failed to read priv register.
Warn : Failed to read memory via abstract access.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000e4)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
Error: Failed to read priv register.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000e5)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
Error: Failed to read priv register.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000e6)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
Error: Failed to read priv register.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000e7)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
Error: Failed to read priv register.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000e8)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
Error: Failed to read priv register.
Error: Target riscv.cpu.0: Failed to read memory (addr=0x200000ea)
Error:? ?progbuf=skipped (target not halted), sysbus=skipped (unsupported size), abstract=failed
你好,这个是什么问题?单片机型号是:CH32V203F6P6
同样是V182版本,两台电脑,一台让我切换到2.6,一台让我切换到2.7
  
  

回帖(1)

李富贵

2022-10-8 09:28:22
您好,该问题可能是芯片读保护开启了导致的,可关闭读保护后再次调试。MRS V182在安装最新的芯片开发组件(计算机联网后会获取组件更新推送,支持自动下载安装)后即可使用V2. 7版本WCH-Link固件。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分