← 返回 Skills 市场
276
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install framebuffer-dump
功能描述
Dump the current STM32 LCD framebuffer via J-Link and convert it to PNG for visual comparison with Figma. Use when user asks to export, snapshot, dump, or ca...
使用说明 (SKILL.md)
Framebuffer Dump (J-Link → PNG)
Export the actual on-device rendered frame directly from SDRAM framebuffer and convert to PNG.
Default parameters (PRO2)
- Device:
STM32H747XI_M7 - FB base:
0xD0000000 - Resolution:
604x1024 - Pixel format:
RGB888(3 bytes/pixel) - Dump size:
604*1024*3 = 1,855,488 (0x1C5000)
One-shot workflow
1) Create J-Link command file
Use scripts/dump_fb.jlink.template and replace placeholders:
{{DEVICE}}{{SPEED_KHZ}}(e.g.12000){{OUT_BIN}}(absolute path){{FB_ADDR}}(e.g.0xD0000000){{FB_SIZE}}(e.g.0x1C5000)
2) Dump raw framebuffer
JLinkExe -NoGui 1 -CommandFile /tmp/jlink_dump_fb.jlink > /tmp/jlink_dump_fb.log 2>&1
3) Convert raw to PNG
python3 scripts/dump_fb.py \
--in /path/to/fb_dump.bin \
--out /path/to/fb_dump_604x1024.png \
--width 604 --height 1024 --stride 3
Troubleshooting
- If output bin is 0 bytes: check J-Link connection / path permissions.
- If colors look wrong: verify pixel format is RGB888 (not BGR / RGB565).
- If image shifted/corrupt: verify width/height match current display mode.
- If command hangs too long: make sure dump size is correct (
0x1C5000for 604x1024 RGB888).
Notes
- This method captures real framebuffer pixels (no camera distortion).
- Best for Figma-vs-device pixel comparison and regression snapshots.
安全使用建议
This skill is coherent and appears safe to inspect and run if you need to capture an STM32 framebuffer. Before installing or running: ensure you have SEGGER J-Link (JLinkExe) on PATH and Python with Pillow; verify or create the missing scripts/dump_fb.jlink.template referenced in the docs; run only on devices you trust because the J-Link dump reads raw SDRAM (which may contain sensitive data); check file paths and permissions for the output .bin/.png; and inspect the included scripts locally (dump_fb.py is short and only converts local bytes to an image — it performs no network I/O).
功能分析
Type: OpenClaw Skill
Name: framebuffer-dump
Version: 1.0.0
The skill bundle provides a legitimate utility for embedded developers to capture STM32 framebuffer data via J-Link and convert it to PNG. The Python script (scripts/dump_fb.py) uses standard libraries (Pillow, pathlib) safely to process binary data, and the SKILL.md instructions are transparent and consistent with the stated purpose of hardware debugging and UI verification.
能力评估
Purpose & Capability
The name/description match the included scripts and instructions: the SKILL.md/README explain using J-Link to dump SDRAM framebuffer and the included Python converts the raw bytes to PNG. Minor inconsistency: the registry metadata lists no required binaries, but the README/SKILL.md clearly require SEGGER J-Link (JLinkExe) and Python+Pillow.
Instruction Scope
Runtime instructions are narrowly scoped to creating a J-Link command file, running JLinkExe to read memory, and converting the resulting .bin to PNG with the bundled script. This is coherent with the purpose. Two notes: (1) SKILL.md/README reference scripts/dump_fb.jlink.template but that template is not present in the file manifest — the user/agent must supply or create it; (2) dumping device memory is inherently sensitive (the workflow reads raw SDRAM) so running this against an untrusted device or a device containing secrets could expose sensitive data — this is expected behavior, not malicious scope creep.
Install Mechanism
No install spec; it is instruction-only with a small helper script included. This is low-risk: nothing is downloaded or installed automatically by the skill.
Credentials
The skill does not request credentials or environment variables. The only required external tools are JLinkExe and Python with Pillow (not declared in registry metadata), which are proportionate to the stated task.
Persistence & Privilege
The skill does not request persistent/always-on privileges and contains no install-time hooks. Autonomous invocation is allowed by platform defaults but not combined with other risky properties.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install framebuffer-dump - 安装完成后,直接呼叫该 Skill 的名称或使用
/framebuffer-dump触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — J-Link framebuffer dump for STM32 LCD to PNG
元数据
常见问题
Framebuffer Dump 是什么?
Dump the current STM32 LCD framebuffer via J-Link and convert it to PNG for visual comparison with Figma. Use when user asks to export, snapshot, dump, or ca... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 276 次。
如何安装 Framebuffer Dump?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install framebuffer-dump」即可一键安装,无需额外配置。
Framebuffer Dump 是免费的吗?
是的,Framebuffer Dump 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Framebuffer Dump 支持哪些平台?
Framebuffer Dump 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Framebuffer Dump?
由 ylongw(@ylongw)开发并维护,当前版本 v1.0.0。
推荐 Skills