I am trying to debug a C program following the steps mentioned in https://github.com/riscv/riscv-isa-sim .
Files used for debugging are
In first shell when I use
$spike --rbb-port=9824 -m0x10000000:0x20000 rot13-64
it is listening to remote bitbang connection on port 9824
In second shell when I use
$ openocd -f spike.cfg
I get something like
remote bitbang interface quit, which prevents me from debugging my program
My questions are
- what does Error: failed read (NOP) at 0x11, status=2 this error mean ?
- Do I need to make any changes in spike.cfg file?