2022-04-04 19:13:12 -04: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-20 22:52:35 -04:00
|
|
|
|
|
|
|
REM Check if the firmware file exists
|
2024-11-24 10:24:14 -05:00
|
|
|
if not exist portapack-mayhem-firmware.bin (
|
|
|
|
echo The firmware file "portapack-mayhem-firmware.bin" does not exist.
|
2023-05-20 22:52:35 -04:00
|
|
|
echo Please ensure that you have downloaded the latest release from:
|
2024-01-10 03:13:43 -05:00
|
|
|
echo https://github.com/portapack-mayhem/mayhem-firmware/releases/
|
2023-05-20 22:52:35 -04:00
|
|
|
echo.
|
|
|
|
pause
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
2024-11-24 10:24:14 -05:00
|
|
|
"utils/hackrf_update.exe" portapack-mayhem-firmware.bin
|
2022-04-04 19:13:12 -04:00
|
|
|
echo.
|
2024-01-10 03:13:43 -05:00
|
|
|
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 01:26:37 -04:00
|
|
|
echo.
|
2022-04-04 19:13:12 -04:00
|
|
|
pause
|