188 字
1 分钟
Upgrading HackRF Firmware on Win/Lin (2021.03.1)

Updating the firmware#

Install the tools#

Windows#

First install GNURadio Windows, and add the installation directory /bin to path.

Linux#

apt install hackrf

Check the connection#

Run hackrf_info. If information appears, it’s connected, and you can also see the current version number. As of now, the latest Release is hackrf-2021.03.1.

Download the Release#

https://github.com/mossmann/hackrf/releases

Update#

After extracting, enter the firmware-bin directory.

Terminal window
#更新flash
hackrf_spiflash -Rw hackrf_one_usb.bin

If your hackrf_spiflash doesn’t have a -R option, just remove it; its only purpose is to reboot after writing the new firmware.

Many firmware update articles online are from 2017 and 2018 and require flashing both the flash and CPLD packages. But the latest version no longer needs the CPLD package, so you only need to flash a single file.

CPLD bitstreams are now included in and loaded automatically by the firmware. There is no longer a need to update the CPLD separately. ---Github Release(2021.03.1)发行说明

Then run hackrf_info again, and you can see it has been updated to 2021.03.1.

Updating the software#

First install the packages needed for compilation: sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev. Then enter the host directory

Terminal window
mkdir build&cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig
Upgrading HackRF Firmware on Win/Lin (2021.03.1)
https://tski.uk/blog/en/hackrf-upgrade-firmware/
作者
Tokisaki Galaxy
发布于
2021-07-23
许可协议
CC BY