portapack-mayhem/flashing/flash_portapack_mayhem.bat

29 lines
840 B
Batchfile
Raw Normal View History

2022-04-04 23:13:12 +00:00
@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.
2023-05-21 02:52:35 +00:00
REM Check if the firmware file exists
if not exist portapack-h1_h2-mayhem.bin (
echo The firmware file "portapack-h1_h2-mayhem.bin" does not exist.
echo Please ensure that you have downloaded the latest release from:
echo https://github.com/portapack-mayhem/mayhem-firmware/releases/
2023-05-21 02:52:35 +00:00
echo.
pause
exit /b
)
"utils/hackrf_update.exe" portapack-h1_h2-mayhem.bin
2022-04-04 23:13:12 +00:00
echo.
echo If your device never boot after flashing, please refer to https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot
2023-04-26 05:26:37 +00:00
echo.
2022-04-04 23:13:12 +00:00
pause