CH32V203G6U6 debug出现的问题

image.png

想问一下下 一进dubug就卡在这一句是为什么

Open On-Chip Debugger 0.11.0+dev-02215-gcc0ecfb6d-dirty (2022-09-28-11:32)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

Ready for Remote Connections

Started by GNU MCU Eclipse

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : WCH-Link-CH549  mod:RV version 2.7 

Info : wlink_init ok

Info : This adapter doesn't support configurable speed

Info : JTAG tap: riscv.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)

Warn : Bypassing JTAG setup events due to errors

Info : [riscv.cpu.0] datacount=2 progbufsize=8

Info : Examined RISC-V core; found 1 harts

Info :  hart 0: XLEN=32, misa=0x40901105

[riscv.cpu.0] Target successfully examined.

Info : starting gdb server for riscv.cpu.0 on 3333

Info : Listening on port 3333 for gdb connections

Info : accepting 'gdb' connection on tcp/3333

Info : device id = 0x35d7abcd

Info : flash size = 32kbytes

Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"

Info : JTAG tap: riscv.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)

Warn : Bypassing JTAG setup events due to errors

semihosting is enabled


Info : JTAG tap: riscv.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)

Warn : Bypassing JTAG setup events due to errors

Error: OpenOCD only supports Debug Module version 2 (0.13) and 3 (1.0), not 9 (dmstatus=0x80080039). This error might be caused by a JTAG signal issue. Try reducing the JTAG clock speed.

Info : JTAG tap: riscv.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)

Warn : Bypassing JTAG setup events due to errors

===== RISC-V Registers



您好,按照下图注意一下工程的配置,若配置正常,debug应该不会有问题的,后续若有问题,可通过邮箱和我沟通(lzs@wch.cn)

image.png

image.png


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