Skip to content
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

What prevents to reach debug memory debug region while running in Machine mode? #1827

Open
omerguzelelectronicguy opened this issue Oct 1, 2024 · 0 comments

Comments

@omerguzelelectronicguy
Copy link

I am running spike in machine mode. It creates access fault when a program reach the debug region during an instruction fetch or a memory load. I couldn't understand what prevents to reach that side. In my program, PMP doesn't protect that side. I thought that PMA doesn't protect that region too because Spike can run in debug mode which loads the instruction around 0x300 and 0x800. Did I miss something on the RISCV spec?

When I gave the debug rom memory region in the input side, it runs without giving access fault. What am I changing (arranging) in the RISCV spec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant