If you're working with J-Link probes and need to flash firmware, read RTT logs, or debug ARM targets without leaving your editor, this handles the full workflow. It wraps JLink.exe, JLinkGDBServerCL, and arm-none-eabi-gdb into a unified interface with JSON output. You can halt execution, step through instructions, set breakpoints by address, or drop into source-level GDB sessions when you have an ELF file. The config setup is two-tier: tool paths live in the skill directory, device parameters (chip model, SWD vs JTAG, speed) live in your workspace. It won't guess your chip type or auto-select probes, which is the right call when a wrong guess bricks something.
- skills.sh installs
- 712
- GitHub stars
- 791
- last updated
- Aug 21, 2026
Install
$ npx -y skills add zhinkgit/embeddedskills --skill jlink --agent claude-codeInstalls into .claude/skills of the current project.
Files
J-Link 下载与在线调试
本 skill 提供 J-Link 探针的设备探测、固件烧录、内存读写、寄存器查看、目标复位、RTT 日志读取,以及轻量在线调试和 GDB 源码级调试能力。
配置
环境级配置(skill/config.json)
skill 目录下的 config.json 包含环境级配置(工具路径、端口号等),首次使用前确认 exe 路径正确:
{
"exe": "C:\\Program Files\\SEGGER\\JLink\\JLink.exe",
"gdbserver_exe": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe",
"rtt_exe": "C:\\Program Files\\SEGGER\\JLink\\JLinkRTTClient.exe",
"gdb_exe": "C:\\Program Files\\Arm\\GNU Toolchain mingw-w64-x86_64-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
"serial_no": "",
"rtt_telnet_port": 0,
"swo_command": [],
"operation_mode": 1
}
exe:JLink.exe 完整路径(必填)gdbserver_exe:JLinkGDBServerCL.exe 路径,RTT 和 GDB 调试需要rtt_exe:JLinkRTTClient.exe 路径gdb_exe:arm-none-eabi-gdb 路径,GDB 源码级调试需要serial_no:默认探针序列号,多探针场景下使用rtt_telnet_port:RTT 端口,0 表示使用工具默认值swo_command:可选,完整 SWO viewer 命令数组,供jlink_swo.py包装operation_mode:1直接执行 /2输出风险摘要但不阻塞 /3执行前确认
工程级配置(.embeddedskills/config.json)
设备参数(device/interface/speed)统一在工作区的 .embeddedskills/config.json 中管理:
{
"jlink": {
"device": "STM32F407VG",
"interface": "SWD",
"speed": "4000"
}
}
Sponsors
Details
- Repository
- github.com/zhinkgit/embeddedskills
- First seen
- Jun 3, 2026
