AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Openocd Jlink Stlink Debug

skill-easyzoom-aix-skills-openocd-jlink-stlink-debug · by easyzoom

Use when debugging OpenOCD, J-Link, ST-Link, CMSIS-DAP, probe connection, reset scripts, flash algorithms, GDB attach, semihosting, RTT, or SWD/JTAG failures

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-easyzoom-aix-skills-openocd-jlink-stlink-debug

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-easyzoom-aix-skills-openocd-jlink-stlink-debug)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Openocd Jlink Stlink Debug? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

OpenOCD J-Link ST-Link Debug

Overview

Use this skill to debug probe sessions by separating physical wiring, probe firmware, target voltage, reset strategy, transport, target script, flash algorithm, and GDB behavior. Probe failures are often reset or adapter issues.

When To Use

Use this skill when:

  • The user cannot connect, halt, reset, flash, erase, verify, or attach with

OpenOCD, J-Link, ST-Link, CMSIS-DAP, pyOCD, or GDB.

  • The issue involves SWD/JTAG wiring, adapter speed, reset config, target

scripts, flash loaders, protected devices, semihosting, RTT, or multicore.

  • The same firmware behaves differently under debugger and standalone boot.

Do not use this skill for application fault analysis after a stable debug session exists. Use the architecture-specific debug skill then. For flash download failures focused on erase/program/verify, use mcu-flashing-debug.

First Questions

Ask for:

  • Probe model, firmware version, debugger tool, target MCU/SoC, board, and OS.
  • Wiring: VTref, GND, SWDIO/TMS, SWCLK/TCK, reset, SWO, and power ownership.
  • Exact command, config scripts, adapter speed, transport, and full log.
  • Reset mode, boot pins, readout protection, low-power state, and external flash.
  • Whether connect-under-reset, halt-after-reset, or attach-to-running is needed.

Debug Workflow

  1. Prove physical connection.

Check target voltage, ground, cable length, pinout, reset line, and whether the probe powers or only senses the target.

  1. Lower the adapter speed.

Start slow, then increase only after IDCODE, halt, reset, and memory reads are stable.

  1. Pick the right reset strategy.

Test software reset, hardware reset, connect-under-reset, and boot pin modes.

  1. Validate target scripts.

Confirm transport, chip family, TAP/SWD IDs, flash bank, work area, and multicore selection.

  1. Separate attach from flash.

First connect and halt, then read memory/registers, then erase/program/verify.

  1. Add extras last.

Enable semihosting, SWO, RTT, trace, or external flash loaders only after the base debug path is reliable.

Common Failures

  • VTref is missing, so the probe cannot sense target voltage.
  • Adapter speed is too high for early boot, low-power state, or long wires.
  • Reset line is not connected but the script assumes hardware reset.
  • Device is readout-protected or locked.
  • OpenOCD target script selects the wrong flash bank or work-area RAM.
  • External flash programming needs a board-specific loader, not a generic one.

Verification

Before claiming the debug path works:

  • State probe, tool, command, transport, adapter speed, and reset mode.
  • Confirm IDCODE or target detection, halt, register read, and memory read.
  • Confirm erase/program/verify when flashing is part of the requirement.
  • Confirm standalone boot still works after debugger-specific settings.

Example

User:

OpenOCD 连 STM32 一直 timeout。

Agent:

  1. Checks VTref, ground, SWD pins, reset line, and adapter speed.
  2. Tries connect-under-reset with the correct STM32 target script.
  3. Separates connection evidence from flash-programming errors.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.