Upload Mode
In Upload Mode, Mantis enumerates as a USB CDC (serial) device instead of a keyboard. This lets the Karvi Labs 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 Mantis over the serial connection.
Transfer
It transfers the bytecode, and Mantis’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