Files
mayhem-firmware/flashing/flash_portapack_mayhem.bat
T
jLynx 25556428a7 Update HackRF flashing utilities for Windows (#3067)
* Update flasher for windows

* Updated scripts

* Fix echo statement formatting in flash script

* Fix echo statement formatting in flash script
2026-03-04 07:22:19 +00:00

33 lines
1019 B
Batchfile

@echo off
echo *** Re-flash the HackRF with PortaPack firmware ***
echo.
echo Connect your HackRF One to a USB port on your computer.
echo.
echo If using a PortaPack, put the PortaPack in HackRF mode by selecting
echo the "HackRF" option from the main menu.
echo.
pause
echo.
REM Check if the firmware file exists
if not exist portapack-mayhem-firmware.bin (
echo The firmware file "portapack-mayhem-firmware.bin" does not exist.
echo Please ensure that you have downloaded the latest release from:
echo https://github.com/portapack-mayhem/mayhem-firmware/releases/
echo.
pause
exit /b
)
"utils/hackrf_spiflash.exe" -w portapack-mayhem-firmware.bin
echo.
echo "If your device never boot after flashing, please refer to won't boot article"
echo.
echo "click-to-open url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won%%27t-boot"
echo "or"
echo "copy-and-paste url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot"
echo.
pause