-
Notifications
You must be signed in to change notification settings - Fork 135
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
OpenOCD target for ESP32-C6 is missing RISC-V CSRs (IDFGH-12420) (OCD-930) #320
Comments
Some of these CSRs don't seem to exist in ESP32-C6 (referring to the TRM), but we'll add those which do! |
@robotman2412 Thanks for reporting this. I will be looking at the missing registers. Some of them are read only. We will need to add a flag to disable store/restore option during the algorithm run. |
@robotman2412 I am adding the missing regs which are mentioned in the TRM.
The others (medeleg, mtinst) are not documented so I am leaving them out. |
Completed via 15867d6 |
Actually, according to the RISC-V privileged specification, If |
@robotman2412 you are right. I have added the |
Answers checklist.
General issue report
For low-level debugging purposes, I would like to be able to read RISC-V CSRs like
mie
andmip
. Unfortunately, theesp32c6-builtin.cfg
target does not expose these CSRs.I need to be able to access the following CSRs:
These CSRs exist in any RISC-V core and I need to see them but they're not available either through GDB or directly with monitor commands.
The text was updated successfully, but these errors were encountered: