-
Notifications
You must be signed in to change notification settings - Fork 228
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
[OCD] add option to select DM legacy mode #677
Conversation
+ hardware cleanups and optimizations
I think the "legacy" mode is working fine now - at least on my test setup. It would be great if you could test that with your setup, too. 😉 |
[OCD] add option to select DM legacy mode [stnolting#677](stnolting#677)
Just letting you know: this also works for me. Tested legacy v0.13 as well as v1.0 and successfully could debug the core.
Nice cleanups! Once this merges I can provide an updated version of the Intel specific DTM in the |
Also works with my setup (v 0.13). However, the error "Error: unable to halt hart 0" I think was due to missing IMEM in configuration. 1.7.9 forced me to enable it (I have not connected any system bus yet), while latest version does not. Running this PR with the same configuration (no IMEM) gives the same error, which disappeared after enabling IMEM. |
Thanks for the feedback!
That would be very cool! 😉
So the debugger does not work if there is absolutely no memory available (no internal memories and no external ones)? At least the bootloader ROM should be there... So I think this can be merged, right? |
[OCD] add option to select DM legacy mode [stnolting#677](stnolting#677)
Triggered by @stokdam in #463 (comment)
This PR adds a new generic to the processor's top entity that allows to "downgrade" the on-chip debugger's debug module (DM) back to version 0.13.
DM_LEGACY_MODE = false
: DM is compatible to debug spec. version 1.0DM_LEGACY_MODE = true
: DM is compatible to debug spec. version 0.13 (legacy mode)This PR also provides some clean-ups and optimizations for the on-chip debugger modules (DTM & DM).