Skip to content

Linux how to flash airspy firmware

Benjamin Vernoux edited this page Mar 21, 2017 · 6 revisions

Flash airspy firmware with USB firmware mode

Prerequisites to build & install host tools in order to use host tools & flash firmware:

Flash airspy firmware

    1. Connect AirSpy with USB to your computer
    1. Open a shell and type following commands:
cd ~
airspy_spiflash -w ./airspy_fw/airspy_rom_to_ram/airspy_rom_to_ram.bin
    1. Disconnect AirSpy from USB computer
    1. Connect AirSpy with USB to your computer, now you can use your favorite software

Flash airspy firmware with USB DFU/Recovery mode

Prerequisites to flash firmware with USB DFU:

cd ~
git clone git://git.code.sf.net/p/dfu-util/dfu-util
cd dfu-util
./autogen.sh
./configure
make
sudo make install

Flash airspy firmware with USB DFU

To flash firmware (from airspy_fw/airspy_rom_to_ram/airspy_rom_to_ram.bin) with DFU:

make clean
make
chmod +x dfuprog.sh
./dfuprog.sh airspy_rom_to_ram.bin 

It will flash with USB DFU the firmware airspy_fw_v1.0.0-rc4 included in archive (you can replace airspy_rom_to_ram.bin with an other firmware if you want to test other firmware).

    1. Disconnect AirSpy from USB computer
    1. Set Jumper on P5 to position 2-3 (Boot SPIFI) then close the AirSpy case
    1. Connect AirSpy with USB to your computer, now you can use your favorite software

Note: Tested with success on Xubuntu with dfu-util 0.8