Return to site

Hackrf One Firmware Update Windows

broken image


Hackrf

*** UPDATE ***

HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral capable of transmission or reception of radio signals from 1MHz to 6 GHz. Designed to enable test and development of modern and next generation radio technologies, HackRF One is an open source hardware platform that can be used as a USB peripheral or programmed for stand. We would like to show you a description here but the site won't allow us.

Vanilla

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. It should just work after that. So it's a little simpler now.

/*** UPDATE ***

I already got my HackRF working in linux with GNU Radio, but I dual boot my laptop into windows too and sometimes its nice to have access to other programs anyway. Besides, I can't seem to get it working inside a linux VM while in windows (Keep getting libusb IO errors, puuuh!). So on with it.

USB Driver

First thing we need is a driver. Grab the latest Zadig, I'm using 2.0.1.160. Un-7zip the file, run the installer and select your HackRF device to install the usb driver.

Hackrf One Firmware

Application

Grab the latest _DEV_ version of SDR# here. As of writing this I'm using 1135.

Unzip SDR# to your drive under your favorite naming convention (i.e. c:sdrsharp)

Plugin

Next grab a copy of the HackRF plugin from Zefie's site. Here is a link to v1.3 which is what I used.

Extract the HackRF plugin to your sdrsharp directory (i.e. c:sdrsharp)

Open up SDRSharp.exe.Config and find the line '', and add

preferably directly after ''

Save and close SDRSharp.exe.Config.

Last few bits


Grab a copy of hackrf-tools for windows here generously compiled by Zefie again. Extract this somewhere, you might need this. How about c:sdrsharphackrf-tools. Copy libhackrf.dll and pthreadVC2.dll from hackrf-tools 32 bit dir to the sdrsharp directory.

Welcome to fabulous las vegas font. Finally you may need the Microsoft Visual C++ 2012 Redistributable package. I didn't because I already had it, but in case you don't have it you can grab it here.

That should be all you need to get up and running. I did notice some issues like my feed would stop every once in awhile, I just did a stop then start in SDR# and it got going again. This is probably due to the fact everything is beta

Hackrf Tools Download Windows

Happy SDRing.

Hi,
Hackrf

*** UPDATE ***

HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral capable of transmission or reception of radio signals from 1MHz to 6 GHz. Designed to enable test and development of modern and next generation radio technologies, HackRF One is an open source hardware platform that can be used as a USB peripheral or programmed for stand. We would like to show you a description here but the site won't allow us.

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. It should just work after that. So it's a little simpler now.

/*** UPDATE ***

I already got my HackRF working in linux with GNU Radio, but I dual boot my laptop into windows too and sometimes its nice to have access to other programs anyway. Besides, I can't seem to get it working inside a linux VM while in windows (Keep getting libusb IO errors, puuuh!). So on with it.

USB Driver

First thing we need is a driver. Grab the latest Zadig, I'm using 2.0.1.160. Un-7zip the file, run the installer and select your HackRF device to install the usb driver.

Hackrf One Firmware

Application

Grab the latest _DEV_ version of SDR# here. As of writing this I'm using 1135.

Unzip SDR# to your drive under your favorite naming convention (i.e. c:sdrsharp)

Plugin

Next grab a copy of the HackRF plugin from Zefie's site. Here is a link to v1.3 which is what I used.

Extract the HackRF plugin to your sdrsharp directory (i.e. c:sdrsharp)

Open up SDRSharp.exe.Config and find the line '', and add

preferably directly after ''

Save and close SDRSharp.exe.Config.

Last few bits


Grab a copy of hackrf-tools for windows here generously compiled by Zefie again. Extract this somewhere, you might need this. How about c:sdrsharphackrf-tools. Copy libhackrf.dll and pthreadVC2.dll from hackrf-tools 32 bit dir to the sdrsharp directory.

Welcome to fabulous las vegas font. Finally you may need the Microsoft Visual C++ 2012 Redistributable package. I didn't because I already had it, but in case you don't have it you can grab it here.

That should be all you need to get up and running. I did notice some issues like my feed would stop every once in awhile, I just did a stop then start in SDR# and it got going again. This is probably due to the fact everything is beta

Hackrf Tools Download Windows

Happy SDRing.

Hi,
As you know, I am a spectrum freak. There are two implementations already for the HackRF One:
  • qspectrumanalyzer - works well under Linux, but crashes right away under Windows
  • hackrf-spectrum-analyzer - works on Windows, but crasshes frequently when changing settings
Both are fairly limited in terms of functionality, but they show something impressive: the HackRF One is capabale to show a very high resolution spectrum over the whole supported frequency range (1MHz-6GHz). And the speed is incredible!
This motivated me to do a preliminary hack to see if the HackRF One could be used with my VMA Simple Spectrum Analyser software and the results are very promising:
Live spectrum (10MHz to 1000MHz)

Average Trace

Live, Min and Max Traces

Solid render of Live Trace

3D spectrum mode
The implementation is totally hacked and with errors:
  • I am not reading out the data correctly and there is some unfixed bug, which is why there is a blank on the right side of the spectrum in the above images
  • The frequency values are wrong
  • The frequency range cannot be set, nor can any other setting, as I have not implemented the protocol, yet

Hackrf One Software


However, all other measurement functionality works and speed is fantastic! This could be a dream come true.
But there is a LOT of work required to get this to work and sadly I won't be able to manage it by myself.
First things first - the TODO list:
  • Better understand the hackrf_sweep protocol
  • Implement correct start/end frequency setting
  • Implement correct bin_width setting (FFT frequency resolution)
  • Implement num_samples setting (number of samples per frequency)
  • Implement interpretation of sweep output
  • Implement way to change current start/end frequency and other parameters (*)
(*) This is the crucial part: as it is, the hackrf_sweep.exe needs to be stopped with CTRL+C and restarted with new settings. This is not ideal, as it causes a significant pause.
Worse than that, under Windows, every CTRL+C crashes the HackRF One and a resume requires to press the physical RESET button.
Instead of having a hackrf_sweep.exe tool running in a shell outputting the sweep data to the console (from where I am reading it right now), I would prefer a TCP/IP communication to receive the sweep data and to send any new setting.
Unfortunately this requires to change the C++ sources of the hackrf_tools, something I am not literate to do.
If you know how to program VC++ and are interested in this project, please contact me!
Regards,

Hackrf Sdr Software






broken image