diff --git a/flashing/Check for firmware updates.url b/flashing/Check for firmware updates.url new file mode 100644 index 00000000..bb321246 --- /dev/null +++ b/flashing/Check for firmware updates.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://github.com/eried/portapack-mayhem/releases diff --git a/flashing/How to update the firmware.url b/flashing/How to update the firmware.url new file mode 100644 index 00000000..99cd950b --- /dev/null +++ b/flashing/How to update the firmware.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://github.com/eried/portapack-mayhem/wiki/Update-firmware diff --git a/flashing/README.txt b/flashing/README.txt new file mode 100644 index 00000000..f22ea845 --- /dev/null +++ b/flashing/README.txt @@ -0,0 +1 @@ +Plug HackRF+Portapack, set it in HackRF mode, launch flash_portapack_mayhem.bat \ No newline at end of file diff --git a/flashing/dfu_hackrf_one.bat b/flashing/dfu_hackrf_one.bat new file mode 100644 index 00000000..a6bf293b --- /dev/null +++ b/flashing/dfu_hackrf_one.bat @@ -0,0 +1,19 @@ +@echo off + +echo *** Run HackRF firmware in RAM via LPC DFU *** +echo. +echo This is used to "unbrick" your HackRF, if you are no longer able to use +echo HackRF tools to flash or operate your HackRF. +echo. +echo Connect your HackRF One to a USB port on your computer. +echo. +echo Hold down both the DFU and RESET buttons on the HackRF. +echo Then release the RESET button (closest to the edge). +echo Then release the DFU button. +echo. +pause + +echo. +dfu-util-static.exe --device 1fc9:000c --download hackrf_one_usb.dfu --reset +echo. +pause diff --git a/flashing/driver/dpinst.xml b/flashing/driver/dpinst.xml new file mode 100644 index 00000000..2e7747a7 --- /dev/null +++ b/flashing/driver/dpinst.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/flashing/driver/hackrf_one.inf b/flashing/driver/hackrf_one.inf new file mode 100644 index 00000000..cb45479f Binary files /dev/null and b/flashing/driver/hackrf_one.inf differ diff --git a/flashing/driver/hackrf_one_amd64.cat b/flashing/driver/hackrf_one_amd64.cat new file mode 100644 index 00000000..e736e11c Binary files /dev/null and b/flashing/driver/hackrf_one_amd64.cat differ diff --git a/flashing/driver/lpc_dfu.inf b/flashing/driver/lpc_dfu.inf new file mode 100644 index 00000000..d95f77c7 Binary files /dev/null and b/flashing/driver/lpc_dfu.inf differ diff --git a/flashing/driver/lpc_dfu_amd64.cat b/flashing/driver/lpc_dfu_amd64.cat new file mode 100644 index 00000000..31234fe0 Binary files /dev/null and b/flashing/driver/lpc_dfu_amd64.cat differ diff --git a/flashing/flash_hackrf_one.bat b/flashing/flash_hackrf_one.bat new file mode 100644 index 00000000..b18bafff --- /dev/null +++ b/flashing/flash_hackrf_one.bat @@ -0,0 +1,15 @@ +@echo off + +echo *** Re-flash the HackRF with HackRF 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. +hackrf_update.exe hackrf_one_usb.bin +echo. +pause diff --git a/flashing/flash_portapack_mayhem.bat b/flashing/flash_portapack_mayhem.bat new file mode 100644 index 00000000..e7a68199 --- /dev/null +++ b/flashing/flash_portapack_mayhem.bat @@ -0,0 +1,15 @@ +@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. +hackrf_update.exe portapack-h1_h2-mayhem.bin +echo. +pause diff --git a/flashing/hackrf_one_usb.bin b/flashing/hackrf_one_usb.bin new file mode 100644 index 00000000..6e7935ec Binary files /dev/null and b/flashing/hackrf_one_usb.bin differ diff --git a/flashing/hackrf_one_usb.dfu b/flashing/hackrf_one_usb.dfu new file mode 100644 index 00000000..be690312 Binary files /dev/null and b/flashing/hackrf_one_usb.dfu differ