-
Notifications
You must be signed in to change notification settings - Fork 353
target/riscv: active dm before get nextdm #1252
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
base: riscv
Are you sure you want to change the base?
Conversation
959583d
to
8391810
Compare
Ubuntu 20.04 is no longer available. See actions/runner-images#11101 Checkpatch-ignore: BAD_SIGN_OFF Change-Id: I0ec3e3342f9212a2a79d8dca6274e7db62ecedab Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
8391810
to
508ac6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Only minor suggestions
508ac6f
to
3f14acc
Compare
3f14acc
to
579c41b
Compare
@en-sc The return value of the check_dbgbase_exists function is bool type. If returning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution. Overall it looks all right. I have some smaller comments.
a18fb6b
to
be7cef1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few last comments, otherwise it looks fine.
be7cef1
to
9736c96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one request, please, take a look.
when Debug Module is inactive, accesses to the nextdm may fail. Specifically, nextdm might not return correct data.
9736c96
to
a68695b
Compare
when Debug Module is inactive, accesses to the nextdm may fail. Specifically, nextdm might not return correct data.
When I want to debug a target form a specific DM, the config is as flows:
openocd can not get correct nextdm Due to DM with DMI base address = 0x0 is inactive.