- tools/atrf-*/atspi-*.c: renamed to atrf-*.c
- tools/atrf-*/Makefile (MAIN): updated name of program
- tools/atrf-*/*.c: updated path in title comment
- tools/atspi-id/: renamed to atrf-id
- tools/atspi-reset/: renamed to atrf-reset
- tools/atspi-rssi/: renamed to atrf-rssi
- tools/atspi-trim/: renamed to atrf-trim
- tools/atspi-txrx/: renamed to atrf-txrx
- tools/Makefile: renamed directories from atspi-* to atrf-*
e lib/misctxrx.o
- atspi-txrx/atspi-txrx.c (usage): rearranged description of -T
- atspi-txrx/atspi-txrx.c (usage, main): option -f freq to specify the
channel by frequency
- atspi-txrx/atspi-txrx.c (set_power): make enabling the CRC optional
(this is necessary for test mode, which doesn't seem to work if the CRC
is selected)
- atspi-txrx/atspi-txrx.c (test_mode): emit a constant wave in test mode
- atspi-txrx/atspi-txrx.c (usage, main): new option -T <delta> to emit a
constant wave -2 MHz, -0.5 MHz, or +0.5 MHz from the nominal carrier
frequency
- include/atspi.h, lib/atspi.c: new function atspi_test_mode to enter test
mode
- lib/driver.h (struct atspi_driver): add backend function test_mode
- lib/atusb.c (atusb_test_mode), lib/atusb.c (atusb_driver): enter test
mode
- lib/atusd.c (atusd_driver): test mode is not supported
- common/io.h: TST is connected to P0_7
- include/at86rf230.h: added test mode registers REG_CONT_TX_0 (0x36) and
REG_CONT_TX_1 (0x3d), with their values
- atspi/atspi.c (set_test_mode): set or reset TST and the LED
- atspi/atspi.c (reset_rf): leave test mode
- atspi/atspi.c (test_mode): enter test mode
- atspi/atspi.c (main): flash the LED when in test mode
- include/atspi/ep0.h (enum atspi_requests), atspi/ep0.c (my_setup): new
command ATSPI_TEST to enter test mode
- include/atspi/ep0.h (EP0ATSPI_MINOR): bumped protocol to version 0.1
- include/at86rf230.h: corrected comment before TRX_CMD field to indicate
that the register is called TRX_STATE
- atspi-rssid/gui.c (sweep, label_channels): moved geometry values to
#defines
- atspi-rssid/gui.c (CBIG, CSMALL, label_channels): moved color values to
#defines
- tools/Makefile.common: CFLAGS and OBJS can now be target-specific
- tools/atspi-rssi/Makefile: add SDL, SDL_gfx, and the GUI object files
when building on the host
- tools/atspi-rssi/Makefile: set -DHAVE_GFX when building on the host
- tools/atspi-rssi/atspi-rssi.c (usage, main): new option -g to use GUI
mode
- tools/atspi-rssi/atspi-rssi.c (main): rename variable for the number of
sweeps in non-GUI mode from "sweeps" to "arg", since it may have other
uses in the future
- tools/atspi-rssi/digit.h, tools/atspi-rssi/digit.c: draw 7 segment style
digits
- tools/atspi-rssi/zgrid.h, tools/atspi-rssi/zgrid.c: display a surface in
faux 3D with SDL/SDL_gfx
- tools/tools/atspi-rssi/gui.h, tools/atspi-rssi/gui.c: display RSSI scans
as a scrolling 3D profile
- common/io.h: describe the role of PROBE_TERM in version 3
- common/io.h (VERSION_ID): renamed to VERSION_ID1
- common/io.h (VERSION_ID2): added P2_0, and described version number
encoding
- cntr/cntr.h (enum hw_type): added HW_TYPE_V3
- cntr/cntr.c (init_io): decode version 3, flash LED three times, and
configure PROBE_TERM according to version
- cntr/cntr.sch: change input circuit according to ECN0006
- cntr/cntr.sch: make P2_0 yet another version ID input
- cntr/cntr.cmp: surprise, this wasn't checked in either
- cntr/cntr.brd: update for above changes
- cntr/cntr.brd: adjust for resized USB connector
- cntr/cntr.brd: top ground fill was very spotty - removed it
- cntr/cntr.brd: board can now be 100 mil shorter
- cntr/cam/pcb.pl: updated for new board outline
- modules/usb_a_plug_smt.fpd: move the far edge of the signal pads out by
0.2 mm, moving their center by 0.1 mm
- modules/INFO: explain why Molex' calculation seems to be questionable
- cntr/README, ecn/INDEX, ecn/ecn0006.txt: moved discussion of the input
circuit from README to ECN0006
- cntr/cntr.sch: changed pointer from README to ECN0006
- ecn/ecn0006.txt: added more measurements, explanations, and an analysis
of the situation
- tools/cntr/cntr.c (measure, print_f): moved pretty-printing of the
frequency to a separate function
- tools/cntr/cntr.c (count_bursts): print a frequency estimate after each
burst
- tools/cntr/cntr.c (count_bursts): added comment explaining when and where
we take the various samples
- tools/cntr/cntr.c (measure): also stop if ^C is pressed while we're
unsuccessfully trying to communicate with the device
- tools/cntr/cntr.c (main): report a usage error if an argument is given to
-i or -r
- tools/cntr/cntr.c (arm_stop, measure): moveing open-coded arming of the
SIGINT handler to separate function
- tools/cntr/cntr.c (count_bursts, usage, main): added burst counter mode
(cntr -b [timeout_s])
- cntr/cntr.h: new file for variables shared among cntr.c and ep0.c
- cntr/cntr.c (cntr), cntr/ep0.c (cntr): moved to cntr/cntr.h
- fw/common/io.h (VERSION_ID): we can detect the board version by reading
P2_1 (GND on version 1, open on version 2)
- cntr/cntr.c (init_io): added board version detection, board-specific
GPIO initialization, and a LED blink to indicate version 2
- cntr/cntr.h (hw_type), cntr/cntr.c (hw_type), cntr/ep0.c (my_setup),
common/config.h (HW_TYPE): the hardware type is now determined at run
time
- cntr/README: change the name from "Arbitrary-precision counter" to
"Arbitrary-precision frequency counter"
- cntr/README: added list of known hardware issues
- cntr/fw/common/io.h (LED): define version-specific LED pins
- cntr/fw/common/io.h (PROBE_TERM): describe how the role differs between
version 1 and 2
- cntr/fw/common/config.h (PLATFORM_ENTER, PLATFORM_EXIT): add the version
2 LED
- cntr/cam/doit: use cameo
- cntr/cam/pcb.pl (cut): use exact value of pi, to make sure arcs meet
with lines connecting to them
- cntr/cam/pcb.pl (hhole): force cut to be continuous
- cntr/cam/pcb.pl (arc, hhole, pcb): don't compensate for the tool size.
Cameo now does this for us.
- cntr/cam/pcb.pl: switch to 2nd piece position
- cam/Makefile (pcb, spool): generate the job and spool it to the mill
- cam/doit: coordinate transform and format conversions
- cam/pcb.pl: PCB outline and holes
- cntr/cntr.pro, cntr/cntr.brd: reduced PCB edge line width from 15 mil to
5 mil
- cntr/cntr.brd: make edge follow hole for MMCX connector
- cntr/cntr.brd: fill bottom and input area with ground
- cntr/cntr.sch, cntr/cntr.brd (R4): replace 0 Ohm jumper and GND via
P2.1 with vias
- cntr/cntr.pro: added usb_a_plug.lib, mmcx-f-edge.mod, usb_a_plug_smt.mod,
and sot-323.mod
- cntr/cntr.sch, cntr/cntr.brd: reassigned LED and pull GPIO for easier
routing
- cntr/cntr.sch, cntr/cntr.brd: replaced mini-USB receptacle with USB A
plug and removed 0 Ohm resistor previously used for swapping D+/D-
- cntr/cntr.sch, cntr/cntr.brd: changed TVSs on USB from 200 pF 0603 to
100 pF 0402 type
- cntr/cntr.sch, cntr/cntr.brd: replaced basically unterminated 100 mil
header with properly terminated MMCX connector
- cntr/cntr.brd: reduced board width (nominally 15.8 mm) to USB connector
width (16 mm)
- modules/mmcx-f-edge.fpd: swap contacts for compatibility with "BNC"
symbol