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

Can't interact with OpenOCD/GDB using dm_debug.cfg script. #99

Open
yandaweixx opened this issue Nov 9, 2020 · 0 comments
Open

Can't interact with OpenOCD/GDB using dm_debug.cfg script. #99

yandaweixx opened this issue Nov 9, 2020 · 0 comments

Comments

@yandaweixx
Copy link

Hi, I used two scripts for testing, and here is the result:
 
1)dm_compliance_test.cfg
Info : 1828 5144 riscv-013.c:3855 riscv013_test_compliance(): ALL TESTS PASSED

2)dm_debug:
Debug: 860 5699 riscv.c:1935 riscv_set_current_hartid(): setting hartid to 0, was 0
Debug: 861 5699 riscv.c:1081 riscv_poll_hart(): polling hart 0, target->state=2
Debug: 862 5700 riscv-013.c:379 scan(): 41b r 00000000 @11 -> + 00000000 @11
Debug: 863 5702 riscv-013.c:379 scan(): 41b - 00000000 @11 -> + 00030382 @11
Debug: 864 5702 riscv-013.c:390 scan(): -> allresumeack anyresumeack allhalted anyhalted authenticated version=2
Debug: 865 5702 riscv.c:1120 riscv_openocd_poll(): no harts just halted, target->state=2
User : 867 5702 server.c:740 handle_shutdown_command(): shutdown command invoked
Debug: 868 5702 riscv.c:274 riscv_deinit_target(): riscv_deinit_target()
Debug: 869 5702 riscv-013.c:1332 deinit_target(): riscv_deinit_target()
Debug: 870 5702 target.c:1973 target_free_all_working_areas_restore(): freeing all working areas
Info : 871 5702 remote_bitbang.c:120 remote_bitbang_quit(): remote_bitbang interface quit

The hardware module seems to have received the debugging request, and "halted_alighed" has also been set high, but I still cannot use telnet to connect.

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