9 Diagnose firmware update in Windows
gullradriel edited this page 2024-10-16 21:13:10 +02:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

If you cant get firmware to update/install on your device do these steps.

Try boot into DFU mode by:

  1. Plug device into computer
  2. Press and HOLD the DFU button, While still holding the DFU button, press and release the reset button (WHILE STILL HOLDING THE DFU BUTTON).

Note : in some particular H2 (ex H2R4 with battery ), reset button does not make a proper reset , it just freeze the screen , and do not allow you to enter in DFU . In that case, unplug it from the computer, switch off the unit with two short pushes to the big encoder knob button (power off). And then keep pressing DFU button , a short push button to the encoder knob button (power on) leads you into a proper DFU Mode. And now you can plug it through USB cable to the computer, and continue with process.

  1. Check Windows device manager and see if you have LPC showing up

image

  1. If it shows up then make sure you download the latest version of mayhem_vx.x.x_FIRMWARE.zip from GitHub here https://github.com/portapack-mayhem/mayhem-firmware/releases/latest. You can then run "dfu_hackrf_one.bat". Now double check the file name as they look quite similar.
  2. Once it opens, press enter on your keyboard and you should see the following:

image

  1. Once that is done, you need to check device manager and see if you can now see a new device showing up

image

  1. If this device is showing up, then you can now run "flash_portapack_mayhem.bat" and press enter. You should now see the following:

image

  1. Once that is done, you should be able to press the reset button and your device will boot up. If not, then please refer to the wiki here: [Won't boot](https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot

Unknown device

If you see Unknown device then you will need to install your device drivers.

image

1. Download Zadig for USB driver installation

Go to the Zadig website and download the latest version of Zadig. Zadig is a tool that allows you to install the necessary drivers for USB devices like the HackRF.

2. Connect your HackRF device

Plug in your HackRF device into a USB port on your computer.

3. Run Zadig

Open Zadig as an administrator (right-click and choose "Run as administrator"). In Zadig, go to Options > List All Devices.

4. Select the HackRF device

From the dropdown list, select HackRF One or HackRF. If you can't find it, look for USB devices and match the HackRF device by its USB ID (usually its something like 1d50:6089).

5. Install WinUSB driver

Once you have selected the HackRF device, set the driver to WinUSB (this is usually the default driver). Click Install Driver or Replace Driver if there is already a driver installed. Wait for the installation to complete.

6. Verify Installation

After the driver installation, you can confirm that the HackRF device is working by using tools like SDR# (SDRSharp) or GNU Radio. Download SDR# from AirSpy to test your HackRF and ensure it's detected properly.

7. Install HackRF Tools (Optional)

If you want to use the HackRF command-line utilities, you can download the official HackRF tools from the Great Scott Gadgets GitHub. Extract the tools and add the folder to your system's PATH to use the commands like hackrf_info, hackrf_transfer, etc. After following these steps, your HackRF device should be ready to use on Windows 11.