/hpm-mfgtool-helper:hpm-otp-read-programfrom hpm-mfgtool-helper
Reads and programs OTP (One-Time Programmable) memory on HPM chips using hpm-mfgtool-ctl. Handles OTP inspection, configuration checks, VID/PID, key digests, and lifecycle 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 时先读取并执行
环境与设备连接。
所有 OTP 操作固定使用 memoryId=0x20000。OTP 每次只能读取一个 4 字节 word:每次
rom.read_memory 都固定传入 length=4。读取多个 word 时,从起始地址开始按 +4
递增地址并逐次调用,任一分块失败立即停止。先判断请求是只读还是编程,只执行对应分支。
targetId、4 字节对齐的 OTP 起始 address 和 word 数量。涉及具名配置项时,
使用对应 SoC 资料确定地址和数量;资料不足时请求用户提供,不套用其他芯片的布局。i 个 word 调用 rom.read_memory,传入 memoryId=0x20000、
address = 起始地址 + 4 × i、length=4。按地址顺序逐个读取,全部成功后再汇总报告
地址范围和每个 word 的实际值。只读请求到此结束,不请求编程授权,也不调用 rom.write_memory。
targetId、4 字节对齐的 OTP 起始 address、十六进制 data 和配置目的。
每个十六进制字是一个 4 字节 word。涉及 VID/PID、SRK HASH、KEK、生命周期或锁定位
时,要求用户提供对应 SoC 资料或已经确认的最终值。data 的 word 数量执行上述分块读取:第 i 次使用
address = 起始地址 + 4 × i、length=4。全部成功后展示每个 word 的当前值、目标值
和差异;任一读取失败时停止。rom.write_memory:保持相同 targetId 和 address,设置
memoryId=0x20000,传入上述 data。只调用一次;失败后停止且不自动重试。rom.read_memory,每次仍传
length=4,逐字报告实际值。完成标准是写入成功且所有回读 word 与目标一致。OTP 不支持 verify-checksum,因此编程后的再次读取是本流程的验证步骤。
具体 SoC 决定可编程位方向、锁定和生命周期转换规则。资料不足时保持未执行状态,不根据 其他芯片或示例值推断。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
hpm, otp, one-time-programmable, chip-configuration, mfg-tool
Other plugins' skills for the same job
5 skills in this plugin
/hpm-image-flash将已有镜像或用户数据烧写到 HPM 芯片的 XPI NOR、eMMC/SDXC,或通过串行启动加载到 RAM,并按需执行写后校验。用于“烧写镜像”“下载固件”“写入用户数据”;不创建、签名或加密镜像。/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-rom-firmware-session加载 HPM Bootloader 扩展固件,在自动复位后重新发现设备并确认扩展 ROM 命令可用。用于启用 verify-checksum 等扩展能力、切换签名/非签名固件,或处理加载固件后的断连与重连。npx claudepluginhub hpmicro/hpmicro-ai-tools --plugin hpm-mfgtool-helper