Skip to content

Add EK-RA8P1 CPU0 target and update tool defaults - #6

Merged
thorstendb-ARM merged 5 commits into
mainfrom
feature/ek-ra8p1-target
Nov 17, 2026
Merged

thorstendb-ARM merged 5 commits into
mainfrom
feature/ek-ra8p1-target

Conversation

@thorstendb-ARM

@thorstendb-ARM thorstendb-ARM commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Adds the Renesas EK-RA8P1 Cortex-M85 CPU0 target to the shared RTX5 trace demo. The target uses internal MRAM/SRAM0 and the 8 MHz MOCO reset clock, with ULINKplus SWO file capture and automatic RAW-to-CSV conversion on debug pause/end.

The board layer includes CMSIS startup/core support with recorded provenance and pinned RA_DFP 6.6.0. A declarative, CPU0-only debug-run.yml supplies the DFP's missing CPU0/AP0 mapping and SWO clock/pin sequences.

Debug preparation is explicit after the final build/refresh: the optional repository skill prepare-ra8p1-trace copies the versioned description with the existing CMake executable and generates the normal trace runtime with installed pyTS. The same shell command and Trace Generation view work without an AI agent. The common CProject has no custom preparation hook and matches main. No Ruby, separate YAML library, interpreter installation or project-specific executable script is required; the former preparation script and trace override have been removed.

CI includes EK-RA8P1 in the ordinary build matrix and checks the explicit copy separately, without an agent.

The first commit also contains pre-existing configuration changes requested for inclusion: unpinned build-tool requirements, an unversioned GCC compiler selection, and ULINKpro selection for the L552 target set named ULINKplus.

Validation:

  • A fresh source snapshot in a path containing spaces passed the normal active-target build with GCC 15.3.2, without .cmsis/tools-environment.yml and with a shim that rejects Ruby invocations. The build retained its ordinary generated run description.
  • The explicit CMake command copied the template byte for byte. Standard pyTS generated all six CPU0 trace references without missing symbols; trace register operations matched the existing runtime, without CPU1 accesses.
  • Debug-template semantics are unchanged. Changed YAML, skill frontmatter, local documentation links and git diff checks passed; the common CProject matches main.
  • Earlier hardware validation reached main and ran RTX at 8 MHz with zero ITM drops at inspection. Automatic CSV creation on pause was verified with DWT, ITM1 and PC sampling.
  • GitHub Actions passed all nine build contexts, including the separate explicit RA8P1 debug-preparation check.

Known limitations:

  • debug-run.yml and the preparation skill are temporary for RA_DFP 6.6.0. Remove them together when the DFP/tool flow supplies the required behavior natively and has been validated.
  • Build, refresh or target changes can replace the prepared run description. Repeat preparation after the final such operation and before Enter Debug.
  • Capture integrity remains open: startup packet errors and an incomplete packet at the pause/EOF boundary were observed. Debug-end capture integrity and repeated launch/reset remain unverified.
  • CPU1 is outside the application target; AP2 discovery can still report WAIT ACK.
  • No new hardware capture is claimed for the preparation change: the current debug session could not read the core and its server previously reported No such device.

Generated build files, RAW/CSV captures, probe IDs and host-specific VS Code settings are excluded.

@thorstendb-ARM
thorstendb-ARM marked this pull request as ready for review November 17, 2026 15:16
@thorstendb-ARM
thorstendb-ARM merged commit 4166b56 into main Nov 17, 2026
9 checks passed
@thorstendb-ARM
thorstendb-ARM deleted the feature/ek-ra8p1-target branch November 17, 2026 15:18
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