软件无线电 | 更新hackrf one 固件到2017.02

hackrf one 的开发者在他的教程中,有提到怎么升级固件,今天就实际操作了一下,成功了。

实验背景:linux 16.04 LTS,hackrf one

中文版教程看这里:http://v.youku.com/v_show/id_XMTY2NTA1ODU2NA==.html?spm=a2h0j.8191423.playlist_content.5!5~5~5~A&&f=27430456&from=y1.2-3.4.5

没有更新之前的硬件信息:软件无线电 | 更新hackrf one 固件到2017.02_第1张图片

首先下载最新的固件信息,https://github.com/mossmann/hackrf/releases,hackrf-2017.02.1.tar.xz 

1.更新hackrf 固件

进入firmware-bin目录下,在终端执行hackrf_spiflash -Rw hackrf_one_usb.bin

接下来,执行hackrf_cpldjtag -x hackrf_cpld_default.xsvf,更新cpld;


软件无线电 | 更新hackrf one 固件到2017.02_第2张图片

在执行hackrf_info,看到Firmware Version已经是2017.02

软件无线电 | 更新hackrf one 固件到2017.02_第3张图片

2.更新hackrf软件

进入hackrf-2017.02.1下的host文件,在终端执行sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev

软件无线电 | 更新hackrf one 固件到2017.02_第4张图片

make build

cd build

cmake .. 执行结果如下:

软件无线电 | 更新hackrf one 固件到2017.02_第5张图片

make,结果如下:

软件无线电 | 更新hackrf one 固件到2017.02_第6张图片

sudo make install,执行结果如下:

软件无线电 | 更新hackrf one 固件到2017.02_第7张图片

 

sudo ldconfig,执行结果如下:

至此,全部更新完成。

软件无线电 | 更新hackrf one 固件到2017.02_第8张图片

你可能感兴趣的:(软件无线电 | 更新hackrf one 固件到2017.02)