Upload Mode
In Upload Mode, H1 enumerates as a USB CDC (serial) device instead of a keyboard. This lets the HiveFusion Lab IDE connect to it and transfer a compiled script:
Compile
The IDE checks your script for errors and compiles it to bytecode.
Connect
It connects to H1 over the serial connection.
Transfer
It transfers the bytecode, and H1’s onboard Upload Engine verifies the data and writes it to flash.
No reprogramming or reflashing of the firmware is needed to load a new script — you’re writing your compiled bytecode into a reserved flash area that the Attack Mode firmware reads from.
Last updated on