How to compile librtlsdr on Windows

 Author:   Posted on:   Comments

Librtlsdr is the backend used by most SDR applications compatible with the well-known RTL2832U demodulator. Using librtlsdr, you can get raw I/Q samples from RTL2832U chip, thus turning a cheap TV stick into a software defined radio (SDR).

Librtlsdr source code can be found on GitHub. It compiles easily on Linux hosts using instructions from Osmocom project. Compiling librtsdr on Windows is not that easy, mostly because the only two required libraries (libusb and pthreads) cannot be located using the same methods as on Linux (pkgconfig).

Compile librtlsdr on Windows - cmd screenshot

Make a buffered JTAG adapter (Wiggler)

 Author:   Posted on:   Comments

JTAG is an in-circuit programming and debugging interface. It specifies the use of a dedicated debug port implementing a serial communications interface for low-overhead access without requiring direct external access to the system address and data buses. The interface connects to an on-chip test access port (TAP) that implements a stateful protocol to access a set of test registers that present chip logic levels and device capabilities of various parts.

JTAG interface is supported by many devices as a convenient way of rewriting firmware (specially boot loaders) when other methods fail. Using JTAG, the ROM memory can be directly written without desoldering it from PCB to program it using a specific programmer.

In most cases, you will need JTAG access to a device with a no longer working bootloader. Otherwise, if the bootloader runs, there should be easier ways of debricking the deice. Most of the times, a device with corrupt bootloader will not display any signs of working (i.e. no LEDs turned on in case of routers, no display on front panel of set-top-boxes). Nor any ports of the device will work (i.e. no serial port response, no network detected).

Buffered JTAG adapter (Wiggler)

QSS syntax highlight in Qt Creator

 Author:   Posted on:   Comments

Qt Creator is the IDE (integrated development environment) used by Qt SDK. It is a powerful piece of software that runs on Linux, Windows and macOS. Qt SDK is able to style built applications using QSS styles, something similar to CSS standard.

Qt Creator supports not only C/C++ syntax highlighting, but basically any language through Kate Editor Syntax Highlighting files. These are XML files that define lists of specific keywords. In this way, the Text Editor of Qt Creator is able to style these keywords using a color scheme.

Qt Creator doesn't have a default QSS syntax highlight configuration file. And neither Kate. But there are two ways to add QSS syntax highlighting to Qt Creator.

QSS syntax highlight in Qt Creator

Generate radio coverage maps with SPLAT!

 Author:   Posted on:   Comments

SPLAT! is a cross-platform, open-source software that can be used to analyze a radio link between two locations and to generate coverage maps of RF transmitters. Coverage maps are calculated using Longley-Rice Irregular Terrain Model (ITM) algorithm. SPLAT! can predict RF coverage for any frequencies between 20 MHz and 20 GHz. It is thus useful for ham radio, broadcast radio, terrestrial television and wireless networks.

To use SPLAT!, you need to know some parameters of the transmitter. These are the exact location (coordinates), antenna height, transmission frequency, polarization and effective radiated power (ERP). SPLAT! can then compute coverage maps. The procedure of installing SPLAT! is described in a previous article. You can generate two kind of maps. There is the regional coverage analysis mode that will output line-of-sight coverage map assuming all waves propagate in a straight line. There is also the path loss analysis mode that uses the ITM algorithm to compute either a field strength map or a received signal strength map.

Install Sky Digital Key (AverMedia A867) on PC

 Author:   Posted on:   Comments
Sky Digital Key is an USB DVB-T tuner designed to be used with this provider's satellite receivers. There are two variants, one with green LED and the other with blue LED, the last being an AverMedia device with Maxlinear MxL5007T tuner and Afatech AF9035 USB demodulator.

The DVB-T key can be installed on PC too. However the driver installation is not quite straightforward. The device is a copy of AverMedia AverTV Volar HD Nano with two small differences: there is no remote control sensor on Sky key although the PCB has the pads for it and USB IDs are different for the two devices. This aspect makes drivers installation difficult.

This article will describe the installation procedure on Linux and Windows. The USB tuner can be used to receive DVB-T signals with BDA compatible software on Windows (such as ProgDVB) and Kaffeine on Linux.

Install Sky Digital Key (AverMedia A867) on PC
AverMedia A867 - Sky Digital Key