Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verilator + openocd + gdb simulation issue #25

Open
kidonglee opened this issue Oct 21, 2020 · 0 comments
Open

verilator + openocd + gdb simulation issue #25

kidonglee opened this issue Oct 21, 2020 · 0 comments

Comments

@kidonglee
Copy link

I have some problem when running simulation with "verilator+openocd+gdb".
'step' or 'continue' command in gdb do not work well. (there is no next gdb prompt after the commands)
I don't know what the problem is.
Please help me.

Actually, I run the test as below,
- run simulation in terminal A
fusesoc run --target=sim swervolf --jtag_vpi_enable
- run openocd in terminal B
openocd -f $SWERVOLF_ROOT/data/swervolf_sim.cfg
- run gdb in terminal C (hello.elf is build in sw folder)
riscv64-unknown-elf-gdb ./hello.elf
- gdb commands
(gdb) set remotetimeout 50000
(gdb) target remote localhost:3333
(gdb) load
(gdb) s
--> no response forever

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant