0% found this document useful (0 votes)
216 views

HackRF Firmware Updating

This document provides steps to update the firmware on a HackRF device. It involves putting the device into DFU mode, then flashing various files including the DFU, USB, and CPLD firmware files. Finally a test is done to check that the HackRF works properly both on its own and together with a PortaPack device.

Uploaded by

agregatzavod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
216 views

HackRF Firmware Updating

This document provides steps to update the firmware on a HackRF device. It involves putting the device into DFU mode, then flashing various files including the DFU, USB, and CPLD firmware files. Finally a test is done to check that the HackRF works properly both on its own and together with a PortaPack device.

Uploaded by

agregatzavod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

HackRF firmware updating:

USB Led is not on when you just connect hackrf alone in your computer. Please do not worry
about it, after we flash the modified firmware (e.g., portapack-h1_h2-mayhem_skip_1.4.3.bin), the
hackrf can not be recognized by your computer when you input command “hackrf_info”, and the
USB Led of hackrf is not on. Do not worry about it, it does not affect the using of hackrf and
portapack H2 together. If you want to switch to the normal firmware version, you can first go into
hackRF's DFU mode and update it.
You need to have an Ubuntu system before you can make firmware updates. We suggest you use
DragonOS ISO (https://sourceforge.net/projects/dragonos-focal/) to make a live system USB flash
disk. About the details, please refer to
https://itsfoss.com/create-live-usb-of-ubuntu-in-windows/

Step 1:DFU file updating

Flash hackrf_one_usb.dfu file when your hackrf has entered into the DFU mode (Hold down the
DFU button and insert the USB, after inserting the USB, release the DFU button)
In the terminal of your Linux system or Ubuntu System, please run the following command (In
your system, the dfu-util software needs to be installed via command, sudo apt-get install dfu-

dfu-util --device 1fc9:000c --alt 0 --download hackrf_one_usb.dfu

util):

Step 2:USB firmware updating

Flash hackrf_one_usb.bin file, run the following command,

hackrf_spiflash -w hackrf_one_usb.bin
Step 3: cpld file updating

hackrf_cpldjtag -x hackrf_cpld_default.xsvf

Flash hackrf_cpld_default.xsvf file, run the following command,

Step 4:Test hackrf

hackrf_info

Test the hackrf via hackrf_info command,


you can see the similar messages:
hackrf_info version: XXXX
libhackrf version: XXXX (0.5)
Found HackRF
Index: 0
Serial number: 0000000000000000################
Board ID Number: 1 (HackRF One)
Firmware Version: XXXX (API:XXXX)
Part ID Number: 0x######## 0x########

Step 5: Flash firmware suitable for hackrf and portapack

together working

Flash the firmware suitable for hackrf and portapack working together, i.e., portapack-h1_h2-
mayhem_skip_1.4.3.bin (you can download this bin file via this link:

hackrf_spiflash -w portapack-h1_h2-mayhem_skip_1.4.3.bin

https://workupload.com/file/3fVzHk9J2vm),
Step 6: Test hackrf and portapack together working

install portapack into hackrf, click the knob button to turn on the device.

You might also like