- 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
- AUTHORS, modules/INFO, modules/Makefile, modules/sot-323.fpd: footprint
for SOT-323 package with clockwise (normal) or counter-clockwise
(transistors) pin numbering
- BOOKSHELF: added MMST3904 NPN small signal transistor
- AUTHORS, components/INFO, components/usb_a_plug.lib,
components/usb_a_plug.dcm: added symbol for USB A plug
- AUTHORS, modules/INFO, modules/usb_a_plug_smt.fpd: added footprint for
USB A plug
- BOOKSHELF: added Molex 0480371000 USB A plug for SMT
- AUTHORS: corrected type in file extension of modules/xtal-4.fpd (was .fpg)
- atusb/atrf.sch (C6, C7): use canonical name 820fF instead of 0.82pF
- atusb/usb.sch (VR1, VR2, VR3): changed value from 5V6 to 5V5 for
compatibility with selected part
- atusb/atusb.sch: commit noise
- atusb/atusb.brd: reloaded for value changes
- atrf/: rename to atusb/
- atrf/wpan-atrf.pro, atrf/wpan-atrf.sch, atrf/wpan-atrf.brd,
atrf/wpan-atrf.cmp: rename to atusb.*
- atrf/Makefile: change ben-wpan to atusb
- atrf/atusb.pro (LastNetListRead): update for name change
- tools/Makefile.common (CFLAGS): change fw/ include location from atrf/
to atusb/
- cntr/cntr.sch (VR1, VR2, VR3): reverted change to 0402, because this
would be too difficult to route with current board
- cntr/cntr.sch (VR1, VR2, VR3): change voltage from 5.6 V to 5.5 V,
for compatibility with selected part
- cntr/cntr.brd: updated for value change
- bom/Makefile: simplify atusd.ord and atusd.par rule by using $^
- bom/Makefile: use pattern rule for atusd.ord and atusd.par
- bom/Makefile: since we can't have more than one percent sign on a
dependency, add vpath
- bom/Makefile: use pattern rule for show-atusd. We also have to remove
show-atusd from .PHONY because implicit rules are not applied to phony
targets.
- term/Makefile: "make qucs" shortcut for invoking qucs
- term/term.sch: disable switch to .dpl page after simulation
- term/term.sch: changed R3 from 50 Ohm to the more common 47 Ohm
- term/term.sch: changed C2 from 22 pF to 330 pF to match TVS
- term/term.sch: renamed Vin to Vdst and put graph in diagram on top
- term/term.sch: added more annotations
- cntr/cntr.sch: LED part number is LTST-C190KRKT, not LTST-C190KTKR
- cntr/cntr.sch: changed Vdc of VR4 from 5.6 V to 5.5 V (to match EPCOS
CT0603M4G
- cntr/cntr.sch: changed VR1 through VR3 to 0402 for lower capacitance
- usrp/step: the default number of runs (10) can now be overridden on the
command line
- usrp/step: usrp2_rx_cfile.py likes to busy loop from time to time. Add
a CPU time limit to prevent this from getting out of hand.
- usrp/d.c: reduce the number of data points in a file produced by
usrp2_rx_cfile.py and print them as text suitable for gnuplot
- usrp/p.c: determine the peak amplitude in a series of transmissions,
filtering noise and artefacts at the beginning of the data file
- usrp/step: step through all channels and measure TX power (for antenna
tuning)
- usrp/Makefile: built "p" and "d"
if it differs by more than 0.01 dBm from the level specified
- tools/atspi-txrx/Makefile (LDLIBS): added -lm, for fabs()
- tools/atspi-txrx/atspi-txrx.c (transmit, usage, main): add optional
command-line argument with the number of times to send the message
- tools/atspi-txrx/atspi-txrx.c (receive, transmit, die, main): return and
clean up on ^C
- tools/tools/lib/misctxrx.c (wait_for_interrupt) return and raise SIGINT
for the caller's signal handler on ^C