Menu
Posted by5 years ago
Jul 10, 2013 With the latest releases of SDR# and everyone getting their HackRF One’s from kickstarter, it appears this article is out of date. I haven’t tested it but some chatter on the HackRF mailing list say that you should still grab the SDR# Nightly build, but there is no need to download the hackrf dll’s or editing the config file. Aug 16, 2016 Purpose: To install a working copy of GNURadio (and GNURadio Companion) that can be used with a HackRF One. This process will go through how to install with PyBOMBS. Reason for this post, aka RANT: HackRF Wiki states to use a Pentoo image of Linux that already made.
Archived
Ok, so has anyone gotten the HackRF working on Windows w/ SDR#? I have to assume so, since it's supported there, but plugging in the HackRF, I've had nothing but troubles with how it was detected. Right now, I think, I have it detected as a libusb-win32 device called HackRF One, but when trying to open in SDR#, I get an error that 1 matching device was found, but is busy. Trying to run the compiled hackrf-tools from http://superfro.org/setting-up-hackrf-in-windows-with-sdr/, I get a HACKRF_ERROR_NOT_FOUND (-5). I've tried setting up the build env for cmake/mingw, but not having luck (still working).
Hackrf One Install Windows
Hopefully someone has the magic key, as I can't find it so far!
11 comments
We recommend getting started by watching the Software Defined Radio with HackRF video series. This series will introduce you to HackRF One, software including GNU Radio, and teach you the fundamentals of Digital Signal Processing (DSP) needed to take full advantage of the power of Software Defined Radio (SDR). Additional helpful information follows.
Try Your HackRF with Pentoo Linux
The easiest way to get started with your HackRF and ensure that it works is to use Pentoo, a Linux distribution with full support for HackRF and GNU Radio. Download the latest Pentoo .iso image from one of the mirrors listed at http://pentoo.ch/download/. Then burn the .iso to a DVD or use UNetbootin to install the .iso on a USB flash drive. Boot your computer using the DVD or USB flash drive to run Pentoo. Do this natively, not in a virtual machine. (Unfortunately high speed USB operation invariably fails when people try to run HackRF from a virtual machine.)
Once Pentoo is running, you can immediately use it to update firmware on your HackRF or use other HackRF command line tools. For a walkthrough, watch SDR with HackRF, Lesson 5: HackRF One.
To verify that your HackRF is detected, type
hackrf_info
at the command line. It should produce a few lines of output including 'Found HackRF board.' The 3V3, 1V8, RF, and USB LEDs should all be illuminated and are various colors.You can type
startx
at the command line to launch a desktop environment. Accept the 'default config' in the first dialog box. The desktop environment is useful for GNU Radio Companion and other graphical applications but is not required for basic operations such as firmware updates.Now you can use programs such as gnuradio-companion or gqrx to start experimenting with your HackRF. Try the Examples below. If you are new to GNU Radio, an excellent place to start is with the SDR with HackRF video series or with the GNU Radio guided tutorials.
Alternative: GNU Radio Live SDR Environment
The GNU Radio Live SDR Environment is another nice bootable Linux .iso with support for HackRF and, of course, GNU Radio.
Software Setup
As mentioned above, the best way to get started with HackRF is to use Pentoo Linux. Eventually you may want to install software to use HackRF with your favorite operating system.
If your package manager includes the most recent release of libhackrf and gr-osmosdr, then use it to install those packages in addition to GNU Radio. Otherwise, the recommended way to install these tools is by using PyBOMBS.
See the Operating System Tips page for information on setting up HackRF software on particular Operating Systems and Linux distributions.
If you have any trouble, make sure that things work when booted to Pentoo. This will allow you to easily determine if your problem is being caused by hardware or software, and it will give you a way to see how the software is supposed to function.
Examples
A great way to get started with HackRF is the SDR with HackRF video series. Additional examples follow: Calendar event reminder for pc.
Testing the HackRF
Hackrf One Linux Install
- Plug in the HackRF
- run the hackrf_info command
$ hackrf_info
If everything is OK, you should see something similar to the following:
hackrf_info version: 2017.02.1
libhackrf version: 2017.02.1 (0.5)
Found HackRF
Index: 0
Serial number: 0000000000000000################
Board ID Number: 2 (HackRF One)
Firmware Version: 2017.02.1 (API:1.02)
Part ID Number: 0x######## 0x########
Honey singh new songs 2014 mp3 download.
libhackrf version: 2017.02.1 (0.5)
Found HackRF
Index: 0
Serial number: 0000000000000000################
Board ID Number: 2 (HackRF One)
Firmware Version: 2017.02.1 (API:1.02)
Part ID Number: 0x######## 0x########
Honey singh new songs 2014 mp3 download.
FM Radio Example
This Example was derived from the following works:
Hackrf One Install Windows
- How To Build an FM Receiver with the USRP in Less Than 10 Minutes
Hackrf One Install
- Run the file
$ python ./fm_radio_rx.py