1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-05 12:53:09 +02:00
Commit Graph

895 Commits

Author SHA1 Message Date
Werner Almesberger
a99fbbfb27 prod/doc/: added HTML macro processor (hmac) and page-specific style 2011-05-27 06:29:42 -03:00
Werner Almesberger
e88d66ed9b prod/doc/Makefile: moved %-front.png up to give priority over atben-%.png 2011-05-27 04:34:59 -03:00
Werner Almesberger
8a436b8abd atusb/: swapped C10 and C13 in schematics, to match layout
- atrf.sch: C10 (EVDD bypass) and C13 (DEVDD bypass) had their roles
  swapped in the layout. Swapped them in the schematics to match the
  layout.
- atusb.brd: updated the netlist
- atusb.sch, usb.sch: commit noise
2011-05-27 04:29:01 -03:00
Werner Almesberger
f01c319e8b prod/doc/: completed voltage measurement sections 2011-05-27 04:14:30 -03:00
Werner Almesberger
cb855b2a69 prod/doc/: added voltage measurement points on layout 2011-05-26 21:57:40 -03:00
Werner Almesberger
b830302e67 prod/doc/: added marked-up layout to indicate CLKM/CLK test points
- atben.fig, atusb.fig: layout images overlaid by markup
- Makefile: added images derived from atben.fig and atusb.fig
- Makefile: added generation of the layout images atben.fig and
  atusb.fig are based on
- analysis.html: show measurement locations for CLKM and CLK
2011-05-26 21:14:05 -03:00
Werner Almesberger
4aa05f204b prod/doc/Makefile (DL, atusb-programming.jpg, atrf-path.png): shorten URLs 2011-05-26 19:44:29 -03:00
Werner Almesberger
f5c46de802 prod/doc/test.html: added a decription of the tests 2011-05-26 19:42:57 -03:00
Werner Almesberger
1410027dd2 prod/doc/analysis.html: clarified enabling of 1.8 V rails; language cleanup 2011-05-26 16:43:37 -03:00
Werner Almesberger
b9343a9bb7 prod/doc/Makefile: added upload to downloads.qi-hardware.com 2011-05-26 16:43:37 -03:00
Werner Almesberger
889757eed0 prod/doc/flash.html: use local copy of atusb-programming.jpg; language cleanup 2011-05-26 16:43:37 -03:00
Werner Almesberger
451fc8c715 prod/doc/setup.html: added instructions for atusb flashing prerequisites 2011-05-22 19:38:26 -03:00
Werner Almesberger
86ea428afc prod/doc/analysis.html: emphasize that 1 MHz clock is normal without firmware 2011-05-21 12:13:25 -03:00
Werner Almesberger
6adfd4b1fd prod/doc/flash.html: described the flashing process 2011-05-21 12:13:25 -03:00
Werner Almesberger
e9d65fbfd3 prod/: added atusb-flash script and adapted infrastructure
- atusb-flash: flash boot loader and application
- Makefile (PHONY, flash): invoke atusb-flash
- Common (REF_EXEC): execute a command on the host with the reference
  device
- Common (_doit, expect, expect_re): moved command execution to separate
  function, for better sharing
- Common (doit): new function for executing a command without grepping
  through its output
- Common (begin): make profile argument optional
2011-05-21 12:13:25 -03:00
Werner Almesberger
21c70eb6c2 prod/doc/setup.fig: added an arrow to drawing for atusb flashing 2011-05-21 11:07:37 -03:00
Werner Almesberger
e605d27cd2 prod/doc/setup.html: put sections in a more logical order 2011-05-19 18:59:29 -03:00
Werner Almesberger
aa75581e8d prod/doc/: added atrf-xtal run time; some minor cleanup 2011-05-19 17:05:01 -03:00
Werner Almesberger
251a749515 prod/: cleaned up atben clock frequency test
- prod/Common (begin), prod/atben: added clock reference file argument
- prod/atben (xtal_ben): use atrf-xtal options -b and -p to determine
  whether the clock frequency is correct
2011-05-19 16:45:22 -03:00
Werner Almesberger
68e56afd3d prod/doc/setup.html: added reference clock count; fixed garbled sentence 2011-05-19 16:17:34 -03:00
Werner Almesberger
e0ac5c9fb0 prod/doc/analysis.html: we actually don't need to kill atrf-proxy for atrf-xtal 2011-05-19 15:03:12 -03:00
Werner Almesberger
f52fbe1f6f prod/doc/analysis.html: added borders to tables; use − 2011-05-19 14:46:53 -03:00
Werner Almesberger
926ed26188 atusb: varistor Vdc was off by 100 mV; made it clearer that we use Vdc, not Vb
- atusb/atusb.sch, atusb/usb.sch, atusb/atrf.sch: bumped schematics
  version to 20110519
- atusb/usb.sch (VR1, VR2, VR3): changed voltage from 5.6 V to 5.5 V
- atusb/usb.sch (VR1, VR2, VR3): clarified that the voltage is Vdc, not Vb
- bom/atrf.chr (AVR-M1005C080MTACB): Vdc is 5.5 V, not 5.6 V
- bom/atrf.sub (VR[0-9]*): allow #.#Vdc as an alternative to #V#
2011-05-19 14:23:33 -03:00
Werner Almesberger
47b710dcb1 prod/doc/analysis.html: more material on checking the supply voltages 2011-05-19 13:55:03 -03:00
Werner Almesberger
dc40ff60a6 prod/doc/setup.html: corrected mangled sentence 2011-05-18 23:04:54 -03:00
Werner Almesberger
6446a6ef49 prod/Makefile (ben): used simplified setup with only one atben and one atusb 2011-05-18 23:04:54 -03:00
Werner Almesberger
d2fda376d4 prod/doc/analysis.html: added precision clock measurement for atben 2011-05-18 23:04:54 -03:00
Werner Almesberger
ff6c8340c8 tools/atrf-xtal/: new option -b for relative result; -p for pass/fail
- atrf-xtal.c (eval): return the value instead of printing it
- atrf-xtal.c (usage, main): new option -b for reporting the deviation
  from a base count
- atrf-xtal.c (eval): new option -p to report an error for deviations
  outside the specified bound
2011-05-18 23:04:54 -03:00
Werner Almesberger
558017e34d tools/atrf-xmit/atrf-xmit.c (xfer_one, usage, main): new option -v (verbose) 2011-05-18 16:49:38 -03:00
Werner Almesberger
430a29695d prod/doc/: added up/prev/next links to topic pages 2011-05-18 14:55:22 -03:00
Werner Almesberger
3d2bed508a prod/doc/: adjusted heading level and section separators of topic pages 2011-05-18 14:43:45 -03:00
Werner Almesberger
e11d7b15cc prod/doc/index.html: split into one file per topic 2011-05-18 14:25:54 -03:00
Werner Almesberger
81a8e138c7 tools/dirtpan/dirtpan.c: new option -b to background/daemonize
- dirtpan.c (usage): added detailed description of the arguments
- dirtpan.c (usage, main): new option -b to daemonize after initialization
2011-05-18 14:07:05 -03:00
Werner Almesberger
f5b1693a0c prod/doc/index.html: added section separators; expanded setup section 2011-05-18 14:04:59 -03:00
Werner Almesberger
1bfe86ac1b tools/atrf-proxy/atrf-proxy.c: new option -b to background/daemonize
- atrf-proxy.c (usage): added detailed description of the arguments
- atrf-proxy.c (usage, main): new option -b to daemonize after
  initialization
2011-05-18 13:53:01 -03:00
Werner Almesberger
43f179d6d8 tools/lib/: new helper function for daemonification
- include/daemon.h (daemonize), lib/daemon.c: shed all ties with the
  process' previous surroundings
- lib/Makefile (OBJS): added daemon.o
2011-05-18 13:34:26 -03:00
Werner Almesberger
e86997e94d prod/doc/index.html: more fault analysis, mainly clock frequency 2011-05-18 07:23:11 -03:00
Werner Almesberger
b24a189189 tools/lib/atnet.c (atnet_set_clkm): corrected return code (1 means success here) 2011-05-18 00:20:00 -03:00
Werner Almesberger
b9a30541ac prod/doc/flow.fig: draw feedback (information vs. physical items) dashed 2011-05-18 00:01:22 -03:00
Werner Almesberger
c2163a6954 prod/Common (expect, expect_re): allow multiple arguments (for options) 2011-05-17 22:07:24 -03:00
Werner Almesberger
32744af2ab prod/atusb: separated flashing from testing; added enumeration and ID test
- atusb (flash, dfu): removed (to be handled by separate script)
- atusb (enumerate): implemented enumeration test
- atusb: enabled "identify", since the local anomaly has been solved
2011-05-17 21:58:09 -03:00
Werner Almesberger
d0ab9d92c2 prod/doc: some initial test process documentation (still very incomplete) 2011-05-17 21:57:18 -03:00
Werner Almesberger
601d1bf173 install/: added build and usage instructions for dirtpan
- install/INSTALL-Ben: added build instructions for dirtpan
- install/USAGE: removed comment that doesn't work (it does)
- install/USAGE: added usage instructions for dirtpan
2011-05-12 17:07:01 -03:00
Werner Almesberger
7e2c576f7b tools/dirtpan/: rewritten for simultaneous reception and transmission
Note that the PHY is still half-duplex, but we don't need to insist
on the entire packet reception/transmission to finish before letting
the peer have its say.
2011-05-12 16:26:38 -03:00
Werner Almesberger
707af5f4da install/ben-wpan-config-2.6.38: disable noisy debugging and enable TUN
the kernel now has config options for IEEE 802.15.4 debugging. We turn
it all off and enjoy the peaceful silence.

Furthermore, turn on TUN (tunneling via user space).
2011-05-12 14:35:01 -03:00
Werner Almesberger
de72af351f tools/dirtpan/: if given an interface conf command, run it with tunX in $ITF
- dirtpan.c (open_tun): if a command is given, set the environment
  variable ITF to the interface name and system(3) the command
- dirtpan.c (usage, main): accept an interface configuration command as
  the 4th command-line argument
2011-05-11 16:46:29 -03:00
Werner Almesberger
e17881c91b tools/dirtpan/dirtpan.c (rx_pck): break tie if both sides are in s_tx
Note that we still waste at least one perfectly good frame. However,
instead of implementing some fancy arbitration, it's better if we
just make the whole thing bidirectional in the future.
2011-05-11 16:29:26 -03:00
Werner Almesberger
2c7d06f6f2 tools/dirtpan/dirtpan.c (rx_pck): immediately ack all data packets
We basically take care of the acking the 802.15.4 layer should do.
2011-05-11 16:25:10 -03:00
Werner Almesberger
354789da8d tools/dirtpan/dirtpan.c (timeout): fencepost error when normalizing tv_usec 2011-05-11 15:43:07 -03:00
Werner Almesberger
171500e414 tools/dirtpan/dirtpan.c (open_net): turn off WPAN_WANTACK
The IEEE 802.15.4 kernel stack doesn't implement ACKs yet and prints
a warning if we request them. Since dirtpan has its own ACKs, we
just disable IEEE 802.15.4 ACKs for now.
2011-05-11 14:41:11 -03:00