Run mayhem_flasher.bat and follow the prompts to select your device and action (flash Mayhem, DFU unbrick, or restore factory firmware). Read https://github.com/portapack-mayhem/mayhem-firmware/wiki/Update-firmware for more detailed information.