Skip to content

Commit

Permalink
Merge pull request #746 from silabs-oysteink/silabs-oysteink_um-debug…
Browse files Browse the repository at this point in the history
…-note

Update to debug description
  • Loading branch information
Silabs-ArjanB authored Dec 22, 2022
2 parents fdd7ad3 + 20de5f4 commit aa34a2a
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions docs/user_manual/source/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,6 @@ cycle(s) after ``rst_ni`` has been deasserted and ``fetch_enable_i`` has been sa
core will transition between having its ``debug_halted_o`` or ``debug_running_o`` pin asserted depending whether the core is in debug mode or not.
Exactly one of the ``debug_havereset_o``, ``debug_running_o``, ``debug_halted_o`` is asserted at all times.

:numref:`debug-running` and show :numref:`debug-halted` show typical examples of transitioning into the ``running`` and ``halted`` states.

.. figure:: ../images/debug_running.svg
:name: debug-running
:align: center
:alt:

Transition into debug ``running`` state

.. figure:: ../images/debug_halted.svg
:name: debug-halted
:align: center
:alt:

Transition into debug ``halted`` state

The key properties of the debug states are:

Expand All @@ -154,6 +139,10 @@ The key properties of the debug states are:
point in time, then the |corev| might transition through the ``running`` state on its ways to the ``halted`` state.
* If ``debug_req_i`` is asserted during the ``running`` state, the core will eventually transition into the ``halted`` state (typically after a couple of cycles).

.. note::
Due to ``debug_req_i`` being level sensitive, it is not guaranteed that a short pulse on ``debug_req_i`` will cause |corev| to enter its ``halted`` state in any of the bullets above.
To achieve (eventual) transition into the ``halted`` state, ``debug_req_i`` must be kept asserted until ``debug_halted_o`` has been asserted.

.. _ebreak_behavior:

EBREAK Behavior
Expand Down

0 comments on commit aa34a2a

Please sign in to comment.