This document out lines a standard architecture for external debug support on RISC-V platforms. This architecture allows a variety of implementations and tradeo s, which is complementary to the wide range of RISC-V implementations. At the same time, this speci cation de nes common, This document outlines a standard architecture for external debug support on RISC-V platforms. This architecture allows a variety of implementations and tradeoffs, which is complementary to the wide range of RISC-V implementations.
RISC-V External Debug Support Version 0.13 3 Accessing hardware on the system without a working CPU. Accessing custom registers that could be added to aid in hardware debug, system bringup, etc. Writing code and data to memory, e.g. boot code and manufacturing constants. Analyzing low-level performance issues using pro ling and sampling techniques.
RISC-V External Debug Support | Five EmbedDev 5 RISC-V Debug Modifications to the RISC-V core to support debug are kept to a minimum. There is a special execution mode (Debug Mode) and a.
RISC-V External Debug Support 4 Debug Module ( DM) The Debug Module implements a translation interface between abstract debug operations and their specific implementation.
RISC-V External Debug Support Version 0.14.0-DRAFT Editors: Ernie Edgar , SiFive, Inc. Tim Newsome , SiFive, Inc. Contributors to all versions of the spec in alphabetical order (please contact editors to suggest corrections): Bruce Ableidinger, Krste Asanovi?, Peter Ashenden, Allen Baum, Mark Beal, Alex Bradbury, Chuanhua.
8 RISC-V External Debug Support Version 0.14.0-DRAFT instead of the RISC-V Debug Specification 0.14.0-DRAFT. A single DM can debug up to 220harts. 3.1 Debug Module Interface (DMI) Debug Modules are slaves to a bus called the Debug Module Interface (DMI).
24 rows · RISC-V External Debug Support | Five EmbedDev 6 Trigger Module Triggers can cause