烧录 FPGA SRAM
fpga_flash_sramBurn a .sbit bitstream into FPGA SRAM after verifying the expected IDCODE. Requires explicit confirmation before writing to silicon.
Instructions
烧 .sbit 到 FPGA SRAM。危险动作:必须 confirm=true,且内部先 scan 并校验 expectIdcode。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 远程执行设备 id(pango-mcp.config.json 的 hosts;省略=本机)。远程时 .sbit 推到该设备后在其上烧录。 | |
| port | No | cdt_js 端口,默认来自配置或 65420 | |
| sbit | Yes | .sbit 绝对路径 | |
| confirm | No | 必须为 true 才实际烧录 | |
| pdsVersion | No | 可选 PDS 版本/标签 | |
| timeoutSec | No | 超时秒数,默认 120 | |
| deviceIndex | No | JTAG 设备索引,默认 0 | |
| expectIdcode | Yes | 期望 IDCODE 或别名(PG2L100H/PG2L200H/GW/TG)。比较时忽略 IDCODE 高 4 位硅版本。 |