-
Notifications
You must be signed in to change notification settings - Fork 331
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 issue : failed to read misa #1145
Comments
As always, the first step is to collect and upload a verbose |
output.log |
You're using a very old version of OpenOCD:
You should probably try a build of the latest sources. |
but we have successfully debugged our reference soc system with same version. and when we try to make new soc , by mimicing the integration and adding new peripheral, this issue comes |
I would still recommend using a build of the latest OpenOCD as there have been so many changes to the RISC-V (and general) OpenOCD support since the version that you're using. In any case it's going to be difficult to find people prepared to investigate issues with such an old version. |
sure. defnitely do that |
btw are you familiar with debug module struction. in the latest spec, there is a debug slave which we attach on system bus,what is its purpose? and where is exactly the program buffer,in dm master or dm slave? |
Sorry - I'm not really up to date on the latest specs. |
okey. thank you so much!! |
While debugging a SoC with a 64-bit RISC-V processor and a Debug Module (Spec 1.00), we're encountering connectivity issues with OpenOCD. The error indicates a failure to read the MISA register, suggesting the target hasn't been examined yet. Upon reviewing the OpenOCD source code, we suspect that failure in accessing the progbuffer might be the underlying issue. However, we're uncertain about the progbuffer's location - is it within the Debug Master Module or the Debug Slave attached to the AXI bus? Could the integration of these components or any other peripheral in bus be the root cause of the issue, or are there other potential reasons for this failure?
The text was updated successfully, but these errors were encountered: