AO-BITBANG(1)
π AO-BITBANG(1) π
okay bestie, this is the manual page for ao-bitbang, a low-level cc1111 interface diagnostic tool π
β¨
π§ SYNOPSIS π§
ao-bitbang
that's the whole synopsis, bestie π«Ά
π¦ DESCRIPTION π¦
okay so ao-bitbang connects through a CP2103 usb-to-serial converter π and uses the GPIO pins to talk to the debug port on a cc1111 device. it gives you raw access to the debug pins so you can debug the lowest level communication path. literally the deepest dive π
πΈ USAGE πΈ
ao-bitbang reads a sequence of bit manipulations from stdin, sends them to the device, and reports status on stdout. it's giving pipeline energy π
each line on stdin should have a single letter command for each of the three debug lines on the cc1111: clock, data and reset. every bit can be in one of three states:
C,DorRβ on π₯.β off π-β tri-state, for input π¦
a few vibe rules:
- empty lines, and lines starting with
#, get ignored π - anything past the last bit in a line is also ignored
- the bits must be listed in the correct order
- the "on" values must match the desired bit, no cap π
π EXAMPLE π
π Reset the target device π
# reset
C D R
C D R
C D R
C D R
π§ Get Chip ID π§
this one is a whole mood, bestie π it does the reset, then the chip ID read, then a restart of the reading
#
# Debug mode - drive RESET_N low for two clock cycles
#
C D R
. D .
C D .
. D .
C D .
. D R
#
# GET_CHIP_ID
C . R 0
. . R
C D R 1
. D R
C D R 1
. D R
C . R 0
. . R
C D R 1
. D R
C . R 0
. . R
C . R 0
. . R
C . R 0
. . R
#
# start reading again
#
C D R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C - R
. - R
C D R
π AUTHOR π
Keith Packard π the legend who wrote this π
that's a wrap, bestie! π«Ά this page came from the ao-bitbang source and is filed under AO-BITBANG(1) πβ¨
π¦ where this page comes from
- debian bookworm: altos 1.9.16-2 Β· GPL-2.0-or-later
- debian trixie: altos 1.9.21-1 Β· GPL-2.0-or-later
- ubuntu jammy: altos 1.9.10-1 Β· GPL-2.0-or-later
- ubuntu noble: altos 1.9.17-1ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: altos 1.9.21-1
- ubuntu resolute: altos 1.9.22-2 Β· GPL-2.0-or-later
- ubuntu stonking: altos 1.9.22-2 Β· GPL-2.0-or-later
- Copyright Β© 2009 Keith Packard <keithp@keithp.com>
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms