Agent skill · NVIDIA
hsb-flash
Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must never be mixed.
What it needs
About 11k tokens when loaded.
What this skill does
HSB FPGA Flash Use this skill when the user wants to flash (upgrade or downgrade) the FPGA firmware on an HSB board connected to a supported NVIDIA devkit. This skill supports two board types: 1. HSB Lattice boards — standalone FPGA board with a Lattice CPNX100 FPGA 2. Leopard Imaging VB1940 — "all-in-one" camera with an integrated Lattice FPGA CRITICAL SAFETY RULE: Never mix board-type commands. Using programleopardcpnx100 on a Lattice board or programlatticecpnx100 on a VB1940 can permanently brick the device. The skill must detect and confirm the board type before any flash operation, and refuse to proceed if the board type is ambiguous or mismatched. This workflow has side effects (it permanently modifies FPGA firmware). Never run it automatically. Only run it when the user explicitly invokes it. Usage warning: This skill flashes the FPGA with new firmware. Before invoking it, ask the user to make sure they have enough Claude Code usage/tokens to complete the workflow. Before you start — required gates (do these first, in order) Gate 1 — Read environment variables. Before doing anything else, check these variables and print their resolved values to the user: SSHTARGET and REMOTEROOT are required. Stop and ask the user for them if either is missing. Gate 2 — Present the flash summary and phase plan. Before taking any action: If the user's request already includes board type, current FPGA version, and target FPGA version, state the following before the phase plan: flash tool (programlatticecpnx100 for Lattice, programleopardcpnx100 for VB1940 — never mix), manifest release and filename, CLI flags (--force --accept-eula), whether the procedure is single-step or two-step via gateway 2412. For VB1940, also state that no v2.0.0 interim repo is needed. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills NVIDIA/hsb-flash