error bound.
- cntr/tools/cntr/cntr.c (measure): use the middle of a round-trip interval
for the sample's nominal time
- cntr/tools/cntr/cntr.c (measure): error bound is only +/- RTT/2, not
+/- RTT
- cntr/README: description of the counter board and its application
- cntr/fw/common/crc32.c: variant of CRC32-IEEE802.3 shared by firmware and
measurement application
- cntr/fw/cntr/ep0.c (my_setup), cntr/tools/cntr/cntr.c (get_sample):
protect the counter value with a CRC and an one's complement copy
- cntr/fw/include/cntr/ep0.h: oops, wasn't checked into repository
- cntr/tools/cntr/cntr.c: added section titles
- cntr/tools/cntr/cntr.c (measure): show communication statistics at the end
- cntr/tools/cntr/cntr.c (measure, usage, main): new option -d to enable
reporting of communication errors
- cntr/tools/cntr/cntr.c (set_stop, measure): let user stop measurement with
SIGINT
- cntr/tools/cntr/cntr.c (measure): get multiple "first samples" and keep
the one with the shortest round-trip time
- cntr/tools/cntr/cntr.c (measure): changed unit "ppk" (1/1000) to percent
(1/100)
- cntr/tools/cntr/cntr.c (usage, main): command-line argument is now the
accuracy goal, while the system clock deviation is set with the new
option -c
- TODO: some more things to do
- cntr/tools/Makefile: the usual recursive Makefile
- cntr/tools/cntr/Makefile, cntr/tools/cntr/cntr.c: user-space tool to
periodically read the free-running counter and to calculate frequency
and deviation from it
quite formidable low-pass filter that almost completely eliminated the
1 MHz signal.
- cntr/cntr.sch, cntr/cntr.brd: changed R1 from 100k to 1k to increase
input bandwidth
- TODO: "cntr" now makes it to DFU and beyond
- atrf/fw/common/config.h (PLATFORM_SETUP): rename to PLATFORM_ENTER
- cntr/fw/common/config.h (PLATFORM_SETUP): rename to PLATFORM_ENTER and
make the new PLATFORM_SETUP turn off the watchdog
we now.
- atrf/fw/atspi/ep0.c: changed LQ to LQI in comments
- atrf/tools/atspi-txrx/atspi-txrx.c (receive): changed LQ to LQI in comment
and in diagnostic output
- atrf/fw/atspi/atspi.c (main): add a delay to give the host more time to
- atrf/fw/atspi/descr.c: we don't use EP1, so simplify the descriptors we
send. Keep the EP1 descriptors around (commented out) in case we need
them later, e.g., for interrupts.
- Makefile.recurse (all): reorder DIRS and TARGET_ONLY_DIRS, so that
tools/lib/ gets built before the tools that depend on it
- atrf/fw/atspi/ep0.c (do_buf_write): removed duplicate sending of
AT86RF230_BUF_WRITE
- atrf/fw/atspi/ep0.c (my_setup): generate the PHR in ATSPI_BUF_WRITE
instead of expecting the host to send it
- atrf/fw/atspi/ep0.c (my_setup): don't send the PHR to the host in
AT86RF230_BUF_READ
- atrf/fw/include/at86rf230.h (REG_TR_PWR): should be REG_PHY_TX_PWR
- atrf/tools/Makefile: added atspi-txrx and "lib"
- atrf/tools/atspi-txrx/Makefile: corrected path in F32XBASE
- atrf/tools/atspi-txrx/atspi-txrx.c: major rewrite
- atrf/tools/include/atspi.h, atrf/tools/lib/atspi.c: functions
atspi_buf_write and atspi_buf_read to access the frame buffer
- atrf/tools/Makefile: added atspi-trim
- atrf/tools/atspi-trim/Makefile, atrf/tools/atspi-trim/atspi-trim.c: show
and adjust the capacitors to trim the crystal oscillator
- atrf/tools/atspi-rssi/atspi-rssi.c: removed left-over FROM_DEV and TO_DEV
- fw/: moved to atrf/fw/
- tools/: moved to atrf/tools/
- atrf/fw/atspi/Makefile, atrf/fw/boot/Makefile: updated relative path to
f32xbase
- atrf/tools/Makefile: updated relative path to Makefile.recurse
- atrf/tools/atspi-id/Makefile, atrf/tools/atspi-reset/Makefile,
atrf/tools/atspi-rssi/Makefile, atrf/tools/lib/Makefile: updated relative
path to f32xbase
- atrf/fw/include/at86rf230.h: corrected path in title
- atrf/tools/include/atspi.h: added title and copyright header
- tools/include/atspi.h, tools/lib/atspi.c (atspi_reset): new function to
send the ATSPI_RESET command (MCU reset)
- tools/include/atspi.h, tools/lib/atspi.c (atspi_reset_rf): new function
to send the ATSPI_RESET_RF command (transceiver reset)
- tools/atspi-reset/Makefile, tools/atspi-reset/atspi-reset.c: reset utility
- tools/atspi-txrx/Makefile, tools/atspi-txrx/atspi-txrx.c: new utility
that, for now, just turns on the DVDD regulator
- tools/atspi-id/Makefile: corrected path in title
- fw/include/at86rf230.h: changed TRX_STATE_* to TRX_CMD_*
- fw/atspi/atspi.c (init_io, reset_rf): reset the transceiver after setting
up the IOs. Contrary to what the manual claims, the chip only produce
garbage if not reset.
- fw/atspi/ep0.c (my_setup): call reset_rf instead of open-coding the reset
- fw/atspi/atspi.c (init_io): added #ifdef'ed-out code to disable the
pull-ups, and an explanation why we can't do this.
- tools/atspi-id/atspi-id.c (show_info): also read and print the
transceiver's ID registers
- fw/atspi/atspi.c (init_io): comment had the wrong initial value for SCLK
- fw/atspi/atspi.c (init_io): xxx_MODE are registers, not bits ...
- fw/common/io.h (IRQ_RF), fw/atspi/atspi.c (init_io): indicate pending
moving of IRQ_RF
command-line utility to retrieve it.
- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): merged
ATSPI_BUILD_NUMBER and ATSPI_BUILD_DATE into single ATSPI_BUILD
- fw/atspi/ep0.c (my_setup): added work-arounds for compiler bugs
- tools/atspi-id/Makefile, tools/atspi-id/atspi-id.c: command-line utility
to query hardware and firmware version
- fw/atspi/at86rf230.h: AT86RF230 SPI protocol commands and buffer sizes
- fw/atspi/atspi.c (init_io): set all IOs to their initial state
- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): command ATSPI_RF_RESET
to reset the AT86RF230
- fw/include/atspi/ep0.h, fw/atspi/ep0.c (my_setup): commands
ATSPI_{REG,BUF,SRAM}_{READ,WRITE} for the six SPI access modes
- fw/common/Makefile: generate related definitions from io.h (from IBDG)
- fw/Makefile: build the various firmware elements (from IDBG, without the
target parts)
- fw/boot/Makefile, fw/atspi/Makefile: add ../common to include path
- fw/boot/config.h, fw/atspi/io.h: moved to ../common
- fw/common/config.h: updated comment - it's no longer specific to boot.c
- fw/boot/Makefile: removed object file rules now in Makefile.common (of
f32xbase)
- fw/boot/Makefile: removed setting of -DLOW_SPEED, which can now go into
config.h and which was enabled by accident only
accident
- atrf.sch: typo: CLKN net is really CLKM, like the signal driving it
- wpan-atrf.brd: updated layout for VBUS/VDD correction
- wpan-atrf.brd: set date code to "100818"
- wpan-atrf.brd: rearranged ground areas to prevent sections from being
cut off
- wpan-atrf.brd: on PCB, added descriptive text, chip orientation, and
version