Skip to content
Development
Skill

/segger-rtt-integration

Use when integrating, configuring, or debugging SEGGER RTT logs, J-Link real-time terminal I/O, RTT control blocks, buffers, blocking modes, or embedded debug output

From plugin
aix-skills
3876 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill segger-rtt-integration --agent claude-code

SKILL.md

segger-rtt-integration.SKILL.md
name: segger-rtt-integration
description: Use when integrating, configuring, or debugging SEGGER RTT logs, J-Link real-time terminal I/O, RTT control blocks, buffers, blocking modes, or embedded debug output

SEGGER RTT Integration

Overview

Use this skill to integrate SEGGER RTT as a low-intrusion debug channel. Prove the RTT control block, buffer configuration, J-Link connection, and blocking policy before relying on RTT logs in timing-sensitive firmware.

When To Use

Use this skill when:

  • The user wants SEGGER RTT logs or terminal input on an MCU.
  • RTT Viewer/J-Link cannot find the control block, logs are missing, output blocks, or input commands fail.
  • The task involves RTT buffers, up/down channels, blocking modes, J-Link, SystemView, or debug builds.

Do not use this skill when the debug probe cannot connect. Use architecture or flashing debug skills first.

First Questions

Ask for:

  • MCU/core, debug probe, J-Link software version, and IDE/toolchain.
  • RTT source files/config and whether `SEGGER_RTT_Init()` is called.
  • Output mode: blocking, no-block-skip, or no-block-trim.
  • Buffer sizes and channels used.
  • Whether caches, MPU, low power, or secure/non-secure memory are involved.

Integration Checklist

1. Include RTT sources once. Avoid duplicate control blocks from multiple copies of RTT source.

1. Place control block in accessible RAM. J-Link must be able to locate and read the RTT control block.

1. Configure buffer policy. Blocking output can disturb real-time behavior; choose mode intentionally.

1. Verify host tooling. RTT Viewer, J-Link console, IDE plugin, or SystemView must attach to the correct target.

1. Handle cache and low power. Cacheable memory and deep sleep can hide or disrupt RTT buffers.

Common Failures

  • Control block optimized out or duplicated.
  • RTT logs block because host is disconnected and blocking mode is used.
  • Buffers too small for burst logs.
  • J-Link scans wrong RAM region.
  • Cache prevents host from seeing updated data on some cores.

Verification

Before claiming RTT works:

  • State probe, RTT source/config, buffer sizes, and blocking mode.
  • Confirm host tool sees the control block.
  • Confirm one output channel and one input channel if input is needed.
  • Confirm behavior with host disconnected if product timing matters.

Example

User:

SEGGER RTT Viewer 连上了但没有日志。

Agent:

1. Asks for RTT config, init path, J-Link target, and map/control block placement. 1. Checks duplicate RTT sources and buffer mode. 1. Verifies a minimal early boot RTT print.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
38
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about segger-rtt-integration.

Which coding agents can use segger-rtt-integration?
segger-rtt-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.