adding an inductor to the clock line.
- ecn/INDEX, ecn/ecn0005.txt: new ECN discussing the switch to a
capacitative clock voltage divider. With frequency measurements.
- atusd/tests/send-20100910: measurement of transceiver performance when
placing an inductor in the 16 MHz clock line.
- atrf/fw/include/atspi/ep0.h enum atspi_requests), atrf/fw/atspi/ep0.c
(my_setup): new command ATSPI_POLL_INT to poll IRQ_RF
- atrf/fw/atspi/ep0.c (my_setup): ATSPI_BUILD sent one byte too many
- tools/lib/atusb.c (atusd_interrupt, atusb_driver): implemented interrupt
polling
- tools/lib/atusd.c: added section title for the RF interrupt function
- tools/atspi-rssi/atspi-rssi.c: removed unnecessary inclusion of
atspi/ep0.h
- tools/atspi-rssi/atspi-rssi.c (sweep): instead of fixed delay, wait for
the PLL lock interrupt
- tools/atspi-rssi/atspi-rssi.c (die, main): catch SIGINT to exit cleanly
- tools/atspi-rssi/atspi-rssi.c (main): shut down properly when done
- tools/atspi-rssi/atspi-rssi.c (usage): print "usage:" before the program's
name
- tools/atspi-txrx/atspi-txrx.c: cleaned up includes - we need stdint.h but
we don't need atspi/ep0.h
- tools/atspi-txrx/atspi-txrx.c (wait_for_interrupt),
tools/include/misctxrx.h (wait_for_interrupt), tools/lib/Makefile (OBJS),
tools/lib/misctxrx.c (wait_for_interrupt): moved wait_for_interrupt from
atspi-txrx to the atspi library, so that we can share it
- tools/atspi-txrx/atspi-txrx.c (receive, wait_for_interrupt): moved wait
for interrupt logic to separate function and made it more versatile
- tools/atspi-txrx/atspi-txrx.c (init_txrx, receive): clear interrupts in
init_txrx now, so that also transmit has a clear interrupt register
- tools/atspi-txrx/atspi-txrx.c (set_channel): since we're in TRX_OFF,
don't wait for PLL lock
- tools/atspi-txrx/atspi-txrx.c (receive): wait for PLL lock interrupt
after activating receiver
- tools/atspi-txrx/atspi-txrx.c (transmit): wait for PLL lock interrupt
after activating the PLL
- tools/atspi-txrx/atspi-txrx.c (transmit): wait for TRX_END interrupt
after sending a frame
- tools/atspi-txrx/atspi-txrx.c (receive): report the Energy Density (ED)
after receiving a frame
- tools/atspi-txrx/atspi-txrx.c (main): shut down the board with
atspi_close, so that we can hot-swap safely
issues.
- atusd/ERRATA: work around the clock instability by replacing the
resistive divider with a capacitative divider
- atusd/ERRATA: a ground plane under the clock circuit would also be good to
have
- atusd/ERRATA: via near pin 1 is too close to the chip if we need to cut
wires (in DIY boards)
- atusd/sim/cdiv.sch: simulation of the capacitative divider
- atusd/ERRATA: added errata section for version 20100908
- atusd/cam/doit: increase tool clearance from 1.5 mm to 2 mm
- atusd/cam/pcb.pl (cut): cutting counter-clockwise did not reduce burr.
Removed reversal of cutting direction.
- atusd/cam/pcb.pl: made area selection formulas easier to understand
- tools/lib/atusd.c (spi_send_partial, spi_send): removed the old spi_send
and renamed spi_send_partial to spi_send
- tools/lib/atusd.c (atusd_cycle, spi_send, spi_recv, atusd_open): updated
for removal of SLP_TR and split of MxSx into MOSI and MISO
- tools/lib/atusd.c (atusd_reset_rf, atusd_open): added delays to precharge
the capacitors
- tools/lib/atusd.c (atusd_reset, spi_data_in, spi_data_out, spi_finish):
removed functions for obsolete hardware features
- tools/lib/atusd.c (atusd_reg_read): removed calls to removed functions
- tools/lib/atusd.c (atusd_buf_write, atusd_buf_read, atusd_driver): new
buffer read/write functions
- tools/atspi-txrx/atspi-txrx.c (init_txrx): set the internal osciallator
trim only in the USB version. Switch to the external oscillator in the
uSD version.
- tools/atspi-rssi/atspi-rssi.c (sweep), tools/atspi-txrx/atspi-txrx.c
(set_channel): wait for the PLL to settle after setting the channel
- tools/include/atspi.h, tools/lib/atspi.c (atspi_interrupt),
tools/lib/driver.h (struct atspi_driver), tools/lib/atusd.c
(atusd_interrupt): new function to poll the interrupt line
- tools/atspi-txrx/atspi-txrx.c (receive): only read REG_IRQ_STATUS if
there is a pending interrupt
- tools/atspi-id/atspi-id.c (usage): print "usage:" as well
- tools/Makefile (upload): upload the atspi tools to the Ben
board.
- atusd/atusd.sch, atusd/atusd.brd: separate MISO and MOSI and free the
extra signal we need by no longer connecting SLP_TR to the host
- atusd/atusd.sch, atusd/atusd.cmp, atusd/atusd.brd: removed reset circuit
Power-on reset seems to be sufficient.
- atusd/atusd.brd: improved AVDD ground plane
- cam/pcb.pl (rot): cut counter-clockwise to reduce burr
- cam/pcb.pl: advanced origin for 2nd run
- tools/lib/atusd.c (atusd_cycle): we never turned power back on ?
- tools/atspi-id/atspi-id.c (main): call atspi_close on exit
- tools/lib/atusd.c (atusd_cycle, wait_for_power): moved power on delay to
separate function
- tools/lib/atusd.c (atusd_open): wait for power to stabilize
- tools/lib/atusd.c (atusd_open): need to reset the board to bring it
up properly
- tools/Makefile.common: set CC to the target-specific compiler
- tools/atspi-id/atspi-id.c: exclude everything USB if HAVE_USB is not set
- tools/atspi-id/atspi-id.c (atspi_usb_handle): rearrange to use a "struct
atspi_dsc *" argument, so that we don't expose an USB dependency
- tools/lib/Makefile: $(F32XBASE)/lib/usb.o is target-specific. Moved it
from OBJS to OBJS_host.
- tools/lib/Makefile (clean): remove objects of all targets
- atusd/tools/lib/atusd.c: moved to tools/lib/
- atusd/tools/lib/atusd.h: removed, we can now use tools/include/atspi.h
- tools/lib/atusd.c: added copyright header
- tools/lib/atusd.c: updated for driver API
- tools/lib/Makefile: added atusd.o
- tools/Makefile.common: moved common elements from all other makefiles in
tools/*/ here
- tools/Makefile.common: added target-specific compiler and flags
- tools/atspi-id/Makefile, tools/atspi-reset/Makefile,
tools/atspi-rssi/Makefile, tools/atspi-trim/Makefile,
tools/atspi-txrx/Makefile, tools/lib/Makefile: used Makefile.common
- tools/lib/Makefile: differentiate USB and uSD build
- tools/atspi-id/atspi-id.c, tools/atspi-reset/atspi-reset.c,
tools/atspi-rssi/atspi-rssi.c, tools/atspi-trim/atspi-trim.c,
tools/atspi-txr/atspi-txr.c: updated for driver-agnostic API
- tools/atspi-id/atspi-id.c, tools/atspi-reset/atspi-reset.c,
tools/atspi-rssi/atspi-rssi.c, tools/atspi-trim/atspi-trim.c,
tools/atspi-txr/atspi-txr.c: corrected AF86RF230 typo in title
- tools/include/atspi.h, tools/lib/atspi.c, tools/lib/driver.c,
tools/lib/atusb.c: brought back support for atspi_error and
atspi_clear_error
- tools/atspi-id/atspi-id.c (atspi_get_protocol): renamed to get_protocol,
to make it clear that it's not from libatspi
- tools/atspi-id/atspi-id.c (atspi_get_build): renamed to get_build, to
make it clear that it's not from libatspi
- tools/include/atspi.h, tools/lib/atspi.c (atspi_usb_handle): new function
to obtain a driver's USB device handle (or NULL if the driver doesn't use
USB)
- tools/include/atspi.h: API is now driver-independent
- tools/lib/driver.h: API between driver and frontend
- tools/lib/atspi.c: renamed to atusb.c and updated for driver API
- tools/lib/atspi.c: frontend functions for the driver API
- tools/lib/Makefile: added atusb.o
- atrf/tools/: moved to tools/
- tools/Makefile: updated path to Makefile.recurse
- tools/atspi-id/Makefile, tools/atspi-reset/Makefile,
tools/atspi-rssi/Makefile, tools/atspi-trim/Makefile,
tools/atspi-txrx/Makefile, tools/lib/Makefile: updated paths to f32xbase
and to atrf/fw/include
- atusd/ERRATA: one more problem: the transistor footprint is wrong
- atusd/tools/lib/atusd.c (atusd_cycle, atusd_reset): added power cycling and
hardware reset
- atusd/tools/lib/atusd.h: be nice and make a header file
- atusd/tools/try.c: be nice and use header files (caught a bug as well)
- atusd/ERRATA: variations of the circuit being debugged from the design
- tools/Makefile, tools/try.c, tools/lib/atusd.c: user-space tool to enable
the board and (in the future) establish communication
- atusd/sim/clk.sch: simulation of CLK attenuation circuit with capacitative
load from scope probe
- atusd/atusd.brd: tightened routing of nSS and XTAL1 net to improve ground
place coverage
- modules/0805-6.fpd: widened pads for easier manual soldering (note: this
is still ad hocery)
- atusd/atusd.brd: use thinner track to connect feed line to comply with
DRC
- atusd/atusd.brd: version is now 100903
- atusd/Makefile:
- AUTHORS, atusd/Makefile, atusd/dtc123.lib, atusd/dtc123je.fpd: borrowed
the DTC123 symbol (Alvaro Lopes) and footprint (Dave Ball) from
gta02-core. Note that this isn't the part I'm using in my prototype, and
I'm trying to get rid of it entirely, so all this will change before too
long.
- components/BOOKSHELF, components/INFO, components/balun.lib,
modules/Makefile, modules/INFO, modules/0805-6.fpd: added the Wuerth
748421245 balun
makefile
- scripts/schps2pdf: don't need to export i (reported by Wolfgang Spraul)
- scripts/schps2pdf: removed dysfunctional (and incorrect, if it had
worked) second increment of i
- scripts/schps2pdf: simplified quoting of the -sOutputFile argument
- scripts/schps2pdf: \$$i needs curly braces to work for more than nine
files
- Makefile (UPLOAD): updated for new directory structure
- scripts/schhist2web: unchanged Postscript files were not replaced with
symlinks because the symlink paths were wrong
- scripts/schhist2web: changed cache and output directory structure from
$dir/$type_$commit/$file to $dir/$commit/$type/$file
- scripts/schhist2web: renamed directory types as follows: "ppm" to "ppm1",
"fat" to "ppm2", and "hard" to "ppm0"
- scripts/schhist2web: replaced `basename $x` with ${x##*/} wherever this
makes sense
- scripts/schhist2web: use {a,b,...} where is makes things clearer
- scripts/schhist2web: changed ... \\n || exit to ... ||\n exit
- scripts/schhist2web: symlinking of unchanged files was only done for
"ppm" (now "ppm1") and "fat" (now "ppm2"), not for "ppm2" and "ps"
- scripts/schhist2web: composition of path names in the output generator is
now more systematic and avoids ad hoc compositions
- scripts/schhist2web: mkdir -p "$out/pdf_$next" at the beginning, not each
time we write a PDF
- scripts/schhist2web: moved generation of a HTML-wrapped PNG with link to
PDF to new function wrapped_png
- scripts/schhist2web: generate a PDF with link also for files in the very
first commit
- scripts/schhist2web: when starting, remove html_* and pdf_*
- scripts/schps2pdf: corrected quoting of sheet title derived from file
name (produced many error messages and caused garbled titles in the
overall schematics)
- scripts/schhist2web: indent date in commit entry such that it's flush
with the author
produces minute differences where there should be none.
- scripts/ppmdiff/ppmdiff.c (diff): instead of looking for all or noting
changes, also detect gradual changes
- scripts/ppmdiff/ppmdiff.c (diff, main): don't mark areas with differences
in the main images if using shadow images
- scripts/schps2ppm: new option to disable alpha blending
- scripts/schhist2web: cache pixmaps with default line thickness and no
alpha blending in hard_*
- scripts/schhist2web: base marking of areas with differences exclusively
on the hard_* pixmaps
- scripts/schhist2web: keep latest version of a sheet's PDF in pdf_head
instead of pdf_$head, so that we don't overwrite it later with a delta
- scripts/schhist2web: for each change, write an HTML file which loads
the image and links to a delta PDF
- scripts/schps2pdf: new option -T to specify page titles
- scripts/Makefile (UPLOAD): also upload html_*
- scripts/schps2pdf: changed commit entry format from commit hash and author
to author and date
- scripts/schps2pdf: reordered sanitizing of commit entry to avoid having
to special-case the link
- scripts/schhist2web: don't generate PDF for sheets that no longer exist
at HEAD
- scripts/schhist2web: generate a PDF containing all sheets existing at
HEAD
- scripts/schps2pdf: prefix was set to the wrong argument
- scripts/schps2pdf: removed left-over (and functionless) cat into gs
- scripts/schps2pdf: corrected quoting of the TOC entry
- scripts/normalizeschps: by default, don't change the linewidth
- scripts/schhist2web: cache historical Postscript files in directories
ps_*
- scripts/schps2pdf: new script to convert eeschema Postscript to PDF
- scripts/schhist2web: link the file name in the title to the curent
PDF of the respective sheet
- scripts/Makefile: changed lazy wildcard thum* to thumb_* and diff* to
diff_*
- scripts/Makefile: upload also pdf_*
- scripts/normalizeschps: don't edit in place and thus become capable of
running in a pipe
- scripts/schps2ppm: considered - to be an option and thus didn't accept
it as input file name
- scripts/schhist2web: open-coded functionality of "gitsch2ppm"
- scripts/gitsch2ppm: removed
did upset things.
- scripts/schhist2web: backticks in command invocation need quoting
- scripts/schhist2web: the change below needs a bashism, so we switch from
/bin/sh to /bin/bash
- scripts/schhist2web: seems that there's no safe way to use ls -1 in the
word list of "for". Use while read ...; ... done < <(ls -1) instead.
(We couldn't just pipe this into the while loop, because that would put
the loop into a subshell and changes to global variables would thus be
lost.)