diff --git a/boards/common/gd32v/dist/openocd.cfg b/boards/common/gd32v/dist/openocd.cfg index d7af3c59b7..d7488d353d 100644 --- a/boards/common/gd32v/dist/openocd.cfg +++ b/boards/common/gd32v/dist/openocd.cfg @@ -19,9 +19,12 @@ $_TARGETNAME configure -event reset-assert { # after the write happens, which fails when the core is in reset. riscv set_mem_access abstract - # Go! + # Reset the Hart $_TARGETNAME mww 0xe0042008 0x1 # Put the memory access mode back to what it was. riscv set_mem_access progbuf + + # Continue execution + resume }