-
-
Notifications
You must be signed in to change notification settings - Fork 568
Update firmware troubleshooting
One of the main sources of problems while updating the firmware is the quality of the USB cable. Try with several ones just to be sure before trying any other solution.
If you get a black or white screen after updating, please check the wiki here: Won't boot
Maybe an update in the application settings broke the settings file for the app. Just go in the SETTINGS folder at the root of the SD card and delete the related settings file. As an example lets take the audio app: if we follow the previously mentioned method, then we just go and delete the rx_audio.ini file in SETTINGS directory. This will force a new settings file to be generated with all new needed parameters at the next attempt to launch the app.
If an app is missing entirely, or greyed out, make sure that apps are placed in the APPS folder of the SD card and that their version matches that of the firmware. Many apps have been moved from flash ROM to the SD card to make room for new apps.
For Ubuntu and Mint user: Ubuntu based distro never maintains their repo for hackrf package. You’ll face a lot of weird problems if your hackrf is R9.
To resolve these, please compile hackrf package yourself, or use other distro.
This is a special mode to update the firmware in case of problems. To enable this, you should reset your device holding the RESET and DFU buttons at the same time, while doing this, release RESET, and then release DFU. The leds should be ON and the screen wont show anything.
Sometimes it’s tricky to entering DFU mode, here are some ways to entering it if you have no luck with the method above:
W1. Press and holding DFU button, then plug the USB cable, then release the DFU button.
W2. Press and holding DFU button, then single press the knob, then release the DFU button, then plug the USB cable.
W3. Plug in USB. Press and hold DFU button and unplug USB. Release DFU button and plug USB back in.
If you are in Windows, from the release package double click dfu_hackrf_one.bat
and follow the instructions. Do not disconnect or reset your PortaPack after that procedure, continue in the step 3 of the normal procedure.
DFU Utils CLI tools for MacOS available through MacPorts or Homebrew
- If necessary, install the DFU tools:
brew install dfu-util
- Connect the device via USB
- Switch to DFU mode as per the section above: DFU
- Upload the firmware with
dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset
- Reboot the device
DFU Utils CLI tools for Linux available in standard repositories
- If necessary, install the DFU tools (example for Debian/Ubuntu variants):
sudo apt install dfu-util
- Connect the device via USB
- Switch to DFU mode as per the section above: DFU
- Upload the firmware with
dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset
- Reboot the device
You may be able to try in a virtual environment, completely isolated from your current OS:
- Download http://eu2-dist.gnuradio.org/ and burn the ISO and boot from it, select the LIVE Image
- Once in the environment, Open a Command Prompt and type:
sudo apt-get install dfu-util
- Connect your device to your computer
- Press RESET and DFU buttons at the same time, and while doing this, release RESET, and then release DFU
- Open a terminal and type
dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset
- After that, without disconnecting it, you can upload the firmware with
hackrf_spiflash -w new_firmware_file.bin
If you have an existing HackRF One and you've acquired a Portapack separately (from third party suppliers), do the following:
- Make sure you flash the HackRF One first before attempting anything with the HackRF One + Portapack combo. The code to run Portpack comes from the HackRF One firmware as flashed.
- If you don't flash the HackRF One and just plugged in the Portapack and powered up the setup, the screen on the Portapack will flash and nothing else will be seen. This does not mean that the Portapack is faulty.
- After flashing the HackRF One, you can plug in the Portapack and when the setup is powered up. you will see the screen show the UI for the version of the firmware that was flashed into the HackRF One.
The following video explains all possible outcomes while trying to update the firmware and possible mitigations: https://www.youtube.com/watch?v=_zx4ZvurgOs
There is another very good video about the general overview, also including the update procedure: https://www.youtube.com/watch?v=kjFB58Y1TAo
If you still experience problems after reading this and checking the video, submit an issue.
Also, there is a lot more details on the HackRF wiki.
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.
How to collaborate
How to ask questions correctly
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
- Troubleshooting
- Applications
-
Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes