-
Hello world :-) Does BlackMagic support RISC-V debug? :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, current The in-tree support supports talking to any JTAG-connected 32-bit RISC-V device and has provisional support for 64-bit ones. This includes support for scan, attach, breakpoints, watchpoints and other major debugging requirements. Support for Flashing parts requires target-specific support being written but all the major parts necessary for that should already exist.
|
Beta Was this translation helpful? Give feedback.
The support is indeed for the v0.13 spec w/ some small amounts of support for the v1.0 spec though obviously we can't actually support that yet as it's not ratified. v0.11 is a whole headache that is on the roadmap to deal with but not yet.
The listed SoCs should all do JTAG, so BMP v2.3 hardware + either a custom firmware build that enables the RISC-V support, or any BMDA build based on latest
main
will work and should provide full generic RISC-V 32-bit debug.It's neither a module nor a library - rather, it's done with layers, like the target layer, architecture layer, etc - see the guide on adding a new target for some more information on what target support looks like - note the envir…