/hpm-mfgtool-helper:hpm-image-flashfrom hpm-mfgtool-helper
Flashes pre-built images or user data to HPM chip XPI NOR, eMMC/SDXC, or loads to RAM via serial boot, with optional post-write verification. For firmware download and data write operations.
Ships in hpm-mfgtool-helper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
使用 hpm-mfg-tool-ctl 和经过探测的 targetId。没有可用 Target 时先读取并执行
环境与设备连接。烧写外部存储器前读取
ROM 命令序列中的“外部存储器参数”。
memoryId=0、address=0x200;eMMC 缺少暂存信息时请求用户提供。rom.query_rte 确认 verify-checksum 可用;不可用时读取并
执行 Bootloader 扩展固件会话,然后使用新
targetId 继续。按顺序调用以下 MCP 工具;每一步 success=true 后才进入下一步:
rom.write_memory:把配置字写入 ILM 或 DLM。
memoryId:ILM 使用 0,DLM 使用 1address:XPI NOR 默认使用 0x200;不得默认使用 0x0data:用户确认的 FLASH 或 eMMC 配置字rom.config_memory:使用上一步的配置字初始化外部存储器。
memoryId:目标 XPI NOR 或 SDXC/eMMCaddress:与第一步完全相同的配置字暂存地址rom.write_memory_from_file:烧写镜像。
memoryId:与第二步完全相同address:XPI NOR 烧写地址或 eMMC 起始扇区索引filePath:镜像绝对路径rom.verify_checksum_from_file。
memoryId、address、filePath 与第三步完全相同任一步失败立即停止,并报告尚未执行的后续命令。前三步全部成功才算烧写完成;第四步成功 才可报告“烧写并校验成功”。
RAM 串行启动镜像直接使用 rom.load_image,不执行上述三步。如果当前会话已加载
Bootloader 扩展固件,先把 reset 和重新建链纳入预执行摘要;复位并取得新 targetId
后再加载普通 RAM 镜像。
输入路径必须为不含空白或控制字符的绝对路径。Bootloader 扩展固件使用专用 skill, 不当作普通 RAM 镜像加载。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub hpmicro/hpmicro-ai-tools --plugin hpm-mfgtool-helper5 skills in this plugin
/hpm-memory-read-erase查询、读取、导出或校验 HPM 芯片的 ILM、DLM、XPI NOR 和 eMMC/SDXC,并擦除 XPI NOR。用于内存查看、转储、备份、镜像比较、快速校验、区域擦除或整片擦除;OTP 操作使用 hpm-otp-read-program。/hpm-mfgtool-setup检查 HPM 镜像烧写 CMD 配置,发现串口或 HID 设备并创建经过真实探测的 ROM Target。用于环境检查、连接故障、设备枚举或获取 targetId;不执行 ROM 数据操作。/hpm-otp-read-program读取 HPM 芯片 OTP 内容,或在明确授权后编程 OTP 字并回读确认。用于 OTP 查看、配置检查、VID/PID、密钥摘要和生命周期操作;普通镜像及易失或外部存储器使用其他 skill。/hpm-rom-firmware-session加载 HPM Bootloader 扩展固件,在自动复位后重新发现设备并确认扩展 ROM 命令可用。用于启用 verify-checksum 等扩展能力、切换签名/非签名固件,或处理加载固件后的断连与重连。