-
Notifications
You must be signed in to change notification settings - Fork 335
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
Use "riscv set_ir dtmcs 0x20000" command can't trigger dmihardreset? #1052
Comments
Are you sure that your target implements it? Seems like many implementations do not or, at least, did not in the past: It may help to capture and attach a verbose Note that |
I'm sure this feature is implemented on my hardware, the current debug version of the hardware is 0.13 Attaching the log file later |
Are you assuming that this:
sets the actual value of
suggests that it's for setting the IR value or effectively the "address" of the relevant register in the DTM? |
Is that my misunderstanding. How do I write the dtmcs registers correctly? Via configuration file |
@Alan-19950616, you can use the following:
|
You can get |
A bit of ellaboration:
|
Thanks for the reply, my problem has been solved. I'll close issue. |
I'm debugging a RISCV CPU and I noticed that I can't trigger a dmihardreset using OpenOCD's command, is there a problem here?
This is part of the configuration
The text was updated successfully, but these errors were encountered: