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.7image.png

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


现在报的错误:

Error: Hart isn't halted before single step!

Error: unable to step rtos hart


您好,请问一下下载会有问题么,任一程序Debug都会出现该问题还是特定程序会有这问题,若方便可以把出问题程序发我邮箱(lzs@wch.cn)这边测试复现一下,后续问题也可继续通过邮箱和我沟通,这样更方便一些。


程序已经发你邮箱了,麻烦了


您好,已邮件回复你,请注意查收。当使用MounRiver进行仿真的时候,需要注意代码中最好不要包含有FLASH的操作,不要有开启看门狗或低功耗模式操作。


只有登录才能回复,可以选择微信账号登录