Using vcs tool to simulate rocket-chip failure through jtag

Hi, I am using vcs to simulate downloading the program from jtag. I used openocd and jtag_vpi.v.

When I tried to run openocd scripts, I got the following error.

Info : only one transport option; autoselect ‘jtag’
Info : Set server port to 5555
Info : Set server address to 127.0.0.1
Info : Set server port to 5555
Before init
Info : Connection to 127.0.0.1 : 5555 succeed
Info : This adapter doesn’t support configurable speed
Info : JTAG tap: riscv.cpu tap/device found: 0x00000001 (mfg: 0x000 (), part: 0x0000, ver: 0x0)
Error: failed write at 0x10, status=1
Error: failed write at 0x10, status=1
Error: failed write at 0x10, status=1
Error: failed read at 0x10, status=1
Info : Listening on port 3333 for gdb connections
after init
Error: Target not examined yet