-
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
How to use trace action in RISC-V target triggers? #1182
Comments
Hi @Alan-19950616, In riscv-openocd, there are currently no commands that would set up triggers with trace actions for you. Still, you can set up such a trigger manually:
|
@Alan-19950616 also see here: #1158 |
@JanMatCodasip @aap-sc Thanks for your replies. The method you propose does successfully configure TRACE_ON/TRACE_OFF, but OpenOCD does not know that these Triggers are being used as TRACE_ON/TRACE_OFF functions, and therefore will conflict with normal hardware breakpoints. |
@Alan-19950616 have you tried `riscv reserve_trigger mentioned by @JanMatCodasip ? That command is designed to address this issue. |
Thanks. I will close this. |
In the current OpenOCD code, the trace related action is not used.
The text was updated successfully, but these errors were encountered: