-
Notifications
You must be signed in to change notification settings - Fork 307
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
The method of burning program to SoC: PB, SBA, AC in external debug #1057
Comments
@zhangdujiao your question is more about debug spec than OpenOCD. To double-check it's better to ask this question there: https://github.com/riscv/riscv-debug-spec. My understanding of the situation is below.
Few additional notes:
|
Thank you very much for your detailed answers and corrections. |
Yes. If the |
many thanks :) |
For the external debug, before debugging starts, GDB needs to load the program into memory or flash. At this time, is it also done through the three methods mentioned: PB, SBA, AC. However, PB needs to work together with AC to access memory, and AC can only be used when the core enters the debug mode (during program burning, the core should not have entered the debug mode, right?).
So, in this scenario, can the program only be burned through SBA?
The text was updated successfully, but these errors were encountered: