Skip to content

Preserve RA8P1 trace state during debug preparation - #7

Merged
thorstendb-ARM merged 1 commit into
mainfrom
codex/ra8p1-trace-preparation
Nov 18, 2026
Merged

thorstendb-ARM merged 1 commit into
mainfrom
codex/ra8p1-trace-preparation

Conversation

@thorstendb-ARM

Copy link
Copy Markdown
Owner

RA8P1 debug preparation could clear PRCR permission bits 4/5 and stop a running
trace clock with a different source/divider. Preserve every permission bit and
reject clock conflicts before register writes, while retaining an already
matching running clock.

The skill now checks source/preview conflicts before runtime edits, preserves
custom CPU0 settings, and validates both the installed pyOCD transport consumer
and all generated pyTS register groups. Preparation uses a normal file copy;
the vendor pack, 8 MHz CPU baseline and SWO file/CSV workflow remain unchanged.

Validation:

  • 337 host checks with the installed pyOCD YAML parser/interpreter, including
    both entry sequences, all PRCR permission combinations and both error modes.
  • Bundled pyTS: six CPU0 references, both DWT symbols resolved, no CPU1 accesses;
    missing-symbol negative case and repeated-generation hash checks passed.
  • Skill, common YAML structure, 133 local documentation links and diff checks passed.

No firmware source changes or new hardware capture. Hardware acceptance of the
revised sequences and the previously documented capture-integrity checks remain
open; this PR stays Draft.

Related to #6.

@thorstendb-ARM
thorstendb-ARM marked this pull request as ready for review November 18, 2026 09:35
@thorstendb-ARM
thorstendb-ARM merged commit 31adb89 into main Nov 18, 2026
9 checks passed
@thorstendb-ARM
thorstendb-ARM deleted the codex/ra8p1-trace-preparation branch November 18, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant