Buttons
Mantis has two onboard buttons.
Upload button
- Located closest to the STM32 chip.
- Held down while plugging in Mantis → boots into Upload Mode.
- Released, or not pressed at all when Mantis boots → boots into Attack Mode.
- During script execution, this same button is read by the
WAIT_FOR_BUTTON_PRESSinstruction, so a script can pause and wait for a physical press before continuing.
Reset button
- Restarts the device in place, without unplugging and replugging it.
- On restart, Mantis re-checks the Upload button state — hold Upload and press Reset to jump into Upload Mode without unplugging.
Last updated on