1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-07-05 04:09:29 +03:00
Commit Graph

933 Commits

Author SHA1 Message Date
Werner Almesberger
c8e942f9ee added clock frequency test for atusb and updated documentation
- prod/atusb: added clock frequency test
- prod/doc/setup.hmac: added GSL (libgsl) build dependency
- prod/doc/setup.hmac: recommend use of NTP on the PC
- prod/doc/test.hmac: added atusb to the clock frequency section
2011-05-30 20:04:54 -03:00
Werner Almesberger
9515d96c24 prod/doc/setup.hmac: updated ATUSB application firmware URL for new version 2011-05-30 19:42:37 -03:00
Werner Almesberger
61e656e143 atrf-xtal: added atusb support (via ATUSB_TIMER)
- Makefile: removed limitation to Ben and added host build
- atusb.c: atusb-specific acquisition and calculations
- atrf-xtal.h (do_atusb): interface to atusb.c
- atrf-xtal.c (atben, atusb, main): added switch to board-specific driver
- atrf-xtal.c (usage, main): added support for atusb
2011-05-30 19:17:43 -03:00
Werner Almesberger
bdca20479b atrf-xtal: moved atben-specific code to atben.c
- atrf-xtal.c (cmp, eval, do_atben): moved to atben.c
- atrf-xtal.c (setup, sample, cleanup): removed wrappers
- atrf-xtal.c (usage): cast strlen result, for x86-64 compatibility
- atrf-xtal.h (atben_setup, atben_sample, atben_cleanup), atrf-xtal.c:
  device interface functions are now "static"
- atrf-xtal.h (do_atben): do_atben is now our new interface
2011-05-30 19:13:24 -03:00
Werner Almesberger
5a6aae57cb atrf-xtal.c (do_atben, main): moved board-specific code to separate function 2011-05-30 00:17:49 -03:00
Werner Almesberger
8c57277953 atusb/fw/: added free-running 48 bit 8 MHz counter for clock measurements
- atusb.c (main): poll the 16 bit timer for overflows
- board.h (timer_poll, timer_read), (board.c (timer_h, timer_poll,
  timer_read, board_init): added support for a free-running 48 bit timer
  (16 bits in hardware, 32 bits in software)
- include/atusb/ep0.h (ATUSB_TIMER), ep0.c (my_setup): new request
  ATUSB_TIMER to retrieve the value of the 8 MHz counter
- include/atusb/ep0.h (enum atspi_requests): describe what the groups
  of requests do
2011-05-29 21:05:28 -03:00
Werner Almesberger
40d78b2d07 prod/doc/analysis.html: typo and small language fix 2011-05-29 19:37:48 -03:00
Werner Almesberger
a662410560 prod/doc/: completed section on component orientation (with pictures) 2011-05-29 14:46:00 -03:00
Werner Almesberger
46b15effa9 prod/doc/: cleanup and clarifications after proofreading 2011-05-29 10:37:17 -03:00
Werner Almesberger
8b26bb7130 prod/doc/: reduced excessive use of <B> ... </B> 2011-05-29 10:04:13 -03:00
Werner Almesberger
45746fdfa5 dropped f32xbase dependency on Makefile.common
This means that we only depend on f32xbase for atusb-sil (defunct) and
cntr (needs updating), but not for any of the project's main parts.

- makefiles/Makefile.basic: copied over from
  f32xbase/lib/Makefile.common
- makefiles/Makefile.basic (LDLIBS): removed inclusion of libusb
- tools/Makefile.common: use makefiles/Makefile.basic
- install/INSTALL-Ben, prod/doc/setup.hmac: removed f32xbase
  dependency
2011-05-29 06:03:11 -03:00
Werner Almesberger
208663ce5f prod/doc/index.hmac: make items in definition list stick out more 2011-05-29 04:58:03 -03:00
Werner Almesberger
33f84b436c prod/doc/: completed description of signal strength measurement
- test.hmac: added more details on physical test setup
- setup.hmac: described SPECTRUM_MARGIN parameter
- setup.hmac: described process for generating the reference spectrum
2011-05-28 13:19:45 -03:00
Werner Almesberger
680086b2fa prod/Makefile: target "spectrum" to generate reference spectrum; target spotless 2011-05-28 13:06:33 -03:00
Werner Almesberger
0eec747510 atrf-path: added visual history of dumps
- gui.c (segment, draw, gui): make caller provide color, to ease sharing
- gui.c (dump, gui): moved call to print_sweep to separate function
- gui.c (DUMP_RGBA, dumps, n_dumps, dump, draw_dumps, gui): record all
  dumps and display them in the background
2011-05-28 12:21:56 -03:00
Werner Almesberger
b82472bb01 tools/atrf-path: added interactive dumping with D
- sweep.h (print_sweep), atrf-path.c (print_sweep): make global, for
  sharing with gui.c
- gui.c (gui): dump the sweep results to standard output if "D" is
  pressed
2011-05-28 12:03:23 -03:00
Werner Almesberger
c78423b5e5 prod/doc/setup.hmac: completed test script customization section 2011-05-28 07:37:08 -03:00
Werner Almesberger
0372d7d6cd prod/: moved more configurable items to variables
- Makefile: define driver names depending on device role
- Makefile: changed title comment to indicate that this Makefile is no
  longer considered just a convenience hack
- atusb: define USB_ID via a variable instead of hard-coding it
2011-05-28 07:03:20 -03:00
Werner Almesberger
2bb2e7b658 prod/doc/setup.hmac: explicitly mention SDL_gfx as a prerequisite 2011-05-28 06:53:18 -03:00
Werner Almesberger
b583142247 prod/doc/test.hmac: added introductory text for test setups 2011-05-27 18:52:53 -03:00
Werner Almesberger
d884ab55ee prod/doc/: renamed at???-clk*.png to scope-*, to prevent wildcard clash 2011-05-27 18:47:35 -03:00
Werner Almesberger
c93f6d945e prod/doc/: added scope screen shots to analysis; show crystal as alt GND for clk 2011-05-27 18:37:40 -03:00
Werner Almesberger
717f7e77a3 prod/doc/setup.hmac: filled the intro sections; added dfu-util installation 2011-05-27 17:14:15 -03:00
Werner Almesberger
6ac10ddf18 prod/doc/setup.hmac: described PC and Ben software and test script installation 2011-05-27 16:31:18 -03:00
Werner Almesberger
caa8c14096 prod/doc/atben.fig: cover unused PCB space with a white rectangle 2011-05-27 15:50:54 -03:00
Werner Almesberger
29ff186882 prod/doc/: make END macro generate the date and autor line; use current date 2011-05-27 13:14:32 -03:00
Werner Almesberger
e4fc649d7e prod/doc/: added bottom navigation bar 2011-05-27 13:07:51 -03:00
Werner Almesberger
77a60a9e03 prod/doc/Makefile: added "spotless"; cleaned up generated/downloaded/orig logic 2011-05-27 12:47:08 -03:00
Werner Almesberger
2386f1f7b5 prod/doc/hmac.pl: allow self-referential macros (not general recursion) 2011-05-27 12:40:22 -03:00
Werner Almesberger
838b8e1ace prod/doc/hmac.pl: updated copyright; cleaned up declaration of local variables 2011-05-27 11:21:13 -03:00
Werner Almesberger
be2e8b18fb prod/doc/: give introductory text a separate intro section 2011-05-27 10:45:42 -03:00
Werner Almesberger
21cc289d7e prod/doc/setup.hmac, prod/doc/analysis.hmac: improved section titles 2011-05-27 10:40:57 -03:00
Werner Almesberger
c0ec3f7a9e prod/doc/style.inc: use sans serif font in the navigation bar 2011-05-27 10:36:31 -03:00
Werner Almesberger
49177ebe4d prod/doc/style.inc: interleave the navigation bar and shrink font 2011-05-27 10:31:32 -03:00
Werner Almesberger
213e7031fd prod/doc/style.inc: fixed header formatting in Firefox 2011-05-27 07:11:32 -03:00
Werner Almesberger
8a70d4b2f3 prod/doc/: converted setup.html, flash.html, and test.html to hmac 2011-05-27 07:05:07 -03:00
Werner Almesberger
9ab082432b prod/doc/: converted analysis.html to analysis.hmac; language cleanup 2011-05-27 06:45:06 -03:00
Werner Almesberger
2f6c22dbba prod/doc/: converted index.html to index.hmac 2011-05-27 06:31:11 -03:00
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