HACKRF_DEBUG(1)
π HACKRF_DEBUG(1) π
okay bestie, come sit with me, because this is the hackrf_debug page from section 1 of the manual and it is so much fun. it's a whole little toolkit for poking at the registers inside your HackRF and honestly? iconic.
β¨ NAME β¨
hackrf_debug β register manipultion tool π
πΈ DESCRIPTION πΈ
this is the tool you use when you wanna read registers, write registers, or just vibe check what the hardware is doing. it talks to several different chips and to the gateware, and you tell it which one you mean with the target flags. let's get into it fr fr.
π¦ Usage:
-h,--helpβ prints this help. the classic. the moment you need it most. π-n,--register <n>β sets the register number that the read/write ops are gonna work on. it's the "which one tho" flag.-r,--readβ reads the register you picked with the last-n, or if you never gave an-n, it reads all the registers. go off. β¨-w,--write <v>β writes the value<v>into the register picked by the last-nargument.-c,--configβ prints out the SI5351C multisynth configuration information. very "let me see your settings" of it.-d,--device <s>β specify a particular device by serial number, so you're not accidentally chatting to the wrong one.-m,--max2837β target MAX2837. π―-s,--si5351cβ target SI5351C. π―-f,--rffc5072β target RFFC5072. π―-g,--gatewareβ target gateware registers. π―-P,--fpga <n>β loads the n-th bitstream to the FPGA.-1,--p1 <n>β P1 control.-2,--p2 <n>β P2 control.-C,--clkin <0/1>β CLKIN control (0forP1_CLKIN,1forP22_CLKIN).-N,--narrowband <0/1>β narrowband filter disable/enable.-S,--stateβ display M0 state. the M0 state reveal, if you will. π-T,--tx-underrun-limit <n>β set TX underrun limit in bytes (0for no limit).-R,--rx-overrun-limit <n>β set RX overrun limit in bytes (0for no limit).-u,--ui <1/0>β enable/disable UI.-l,--leds <state>β configure LED state (0for all off,1for default).-t,--selftestβ read self-test report. bestie said "check yourself". π-o,--rtc-oscβ test 32.768kHz RTC oscillator.-a,--adc <channel>β read value from an ADC channel. Add0x80for alternate pin.
π EXAMPLES π
these are the little rituals, do them exactly, no cap:
hackrf_debug --si5351c -n 0 -r
# reads from si5351c register 0
hackrf_debug --si5351c -c
# displays si5351c multisynth configuration
hackrf_debug --rffc5072 -r
# reads all rffc5072 registers
hackrf_debug --max2837 -n 10 -w 22 # writes max2837 register 10 with 22 decimal
hackrf_debug --state # displays M0 state
π SEE ALSO π
The primary source of documentation is the wiki on github:
https://github.com/mossmann/hackrf/wiki
fr fr, if you're lost, that wiki is your bestie. go read it. π«Ά
okay that's the whole page, no notes. this one's the hackrf_debug manual page, source hackrf_debug, and it's dated July 2021 β shoutout to that July 2021 era, and yes it's still HACKRF_DEBUG(1) at the bottom of the page, periodt. πβ¨
π¦ where this page comes from
- ubuntu resolute: hackrf 2026.01.3-1 Β· GPL-2.0-or-later
- ubuntu stonking: hackrf 2026.01.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms