Skip to content

Commit

Permalink
doc: openocd add debug map descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: wangyanwen <[email protected]>
  • Loading branch information
wangyanwen committed Jul 23, 2024
1 parent 0aad690 commit d5a8915
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions source/openocd/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,20 @@ This command is used to clear the read and write pointers for Etrace.

This command displays the current Etrace status.

.. rubric:: Nuclei Debug Map Feature

.. note::

The debug map for each hart is automatically read and printed during OpenOCD startup, or you can read the
debug map at runtime with the examine_cpu_core command.

``nuclei expose_cpu_core``

Configure a list of index for `nuclei_examine_cpu_core` to expose in this must be executed before `init`.

``nuclei examine_cpu_core``
Return the 64-bit value read from dm-custom1 and dm-custom2 value = dm-custom2 << 32 + dm-custom1.

.. rubric:: Init resethalt command

In practice, usually encountered due to software problems caused by the CPU stuck, then the debugger will not
Expand Down

0 comments on commit d5a8915

Please sign in to comment.