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

Debug support re-using existing blocks #42

Open
likewise opened this issue Jul 11, 2021 · 1 comment
Open

Debug support re-using existing blocks #42

likewise opened this issue Jul 11, 2021 · 1 comment

Comments

@likewise
Copy link

likewise commented Jul 11, 2021

It would be very nice to have GDB debug support over JTAG using the existing work in DM/DMI/OpenOCD. A good example where the RISC-V debug module was added to the Ibex RV32IMC can be found in these last three commits:

https://github.com/majbthrd/ibex/commits/add_debug

Specifically:

majbthrd/ibex@371c4bc

It is very nice to build/upload and visually start debugging (for example VSCode) within 1 second.

@BrunoLevy
Copy link
Owner

Yes it is a nice option to add. It will probably require to add some logic in the processor, I am not familiar with how debugging works with RISC-V, but it is something I may add in the future (once I understand how it works !). Is there a tutorial / explanation somewhere I could start from ?

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

2 participants