portapack-mayhem/flashing/flash_portapack_mayhem.bat
jLynx 28ed16d50b
Updated flashing folder layout (#1020)
* Updated layout

* Moved normal hackRF flashing to utils as should not normally be needed
2023-05-21 14:59:50 +12:00

29 lines
820 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-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/eried/portapack-mayhem/releases/
echo.
pause
exit /b
)
"utils/hackrf_update.exe" portapack-h1_h2-mayhem.bin
echo.
echo If your device never boot after flashing, please refer to https://github.com/eried/portapack-mayhem/wiki/Won't-boot
echo.
pause