1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-29 04:24:36 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
Werner Almesberger
39c37258c5 prod/: P_ON test for atusb can't work as intended ... because we're not in P_ON
The explanation is simple: reset from any state but P_ON throws us
back into TRX_OFF, not P_ON. That's why the P_ON test only worked
predictably after power-cycling the board.

- prod/atusb (gpio_usb): removed P_ON test
- prod/atben (gpio_ben): added comment to P_ON test explaining why
  it works in this case
2011-06-12 07:46:26 -03:00
Werner Almesberger
3e37af63ca prod/doc/setup.hmac: changed boot.hex and atusb.bin to the ce16a16 versions 2011-06-12 07:28:59 -03:00
Werner Almesberger
d135eb2c2a prod/atben (gpio_ben): in TRX_OFF, use that MISO is Z if nSS = H 2011-06-11 21:19:43 -03:00
Werner Almesberger
13f4a35a62 prod/atusb: P_ON test turned out to be unreliable - skip it for now
Some of the transceiver pull-up/downs don't seem to work as
expected. Until further analysis, we perform equivalent testing
in TRX_OFF, which only uses the MCU's pull-ups.
2011-06-11 21:05:46 -03:00
Werner Almesberger
5f3cc767f8 prod/atusb (TRX_OFF): walk all GPIOs. Also, use that MISO is Z if nSS = H 2011-06-11 21:04:25 -03:00
Werner Almesberger
fb80f514b8 prod/atusb (TRX_OFF): C5 was "x" for no good reason - changed to "H" 2011-06-11 20:48:27 -03:00
Werner Almesberger
66fb9d808c prod/: use positive and negative offset in spectrum test
This way, we can also spot issues in the digital interface leading to
mis-configurations. E.g., this one would be a defective SLP_TR line
in atusb:
http://downloads.qi-hardware.com/people/werner/wpan/tmp/jagged.png

- prod/Makefile, prod/Common: removed "-T +0.5" to use both offsets
- prod/Makefile (spectrum): print a direction indication before
  running atrf-path
2011-06-07 08:09:20 -03:00
Werner Almesberger
6e3edf3d2e prod/Common: try to obtain more consistent handling of \033 in echo
- Common (g_echo): wrapper for /bin/echo -e
- Common (pass, fail, todo): use g_echo instead of regular "echo" for
  strings containing escape sequences
2011-06-06 21:55:47 -03:00
Werner Almesberger
90ee726285 prod/doc/: atrf-path now accepts keypresses from all the usual places
- setup.hmac, test.hmac: it's no longer necessary to "type into the
  window" (i.e., with the focus there)
2011-06-06 20:26:18 -03:00
Werner Almesberger
9a32c66faa prod/doc/test.hmac: we now also have the LED test 2011-06-06 20:06:32 -03:00
Werner Almesberger
ba6dd86b24 prod/atusb (led): added the LED test 2011-06-06 19:58:13 -03:00
Werner Almesberger
0eb5fb1097 prod/doc/: updated for latest GPIO scan development
- setup.hmac: new atusb firmware 38a08c0
- test.hmac: the GPIO scan is now implemented
- test.hmac: updated error dump for change from "l" to "o"
2011-06-06 01:09:49 -03:00
Werner Almesberger
38a08c09ca prod/atusb: added GPIO test 2011-06-06 00:49:53 -03:00
Werner Almesberger
dea973056c prod/atben: quote command containing !, to make it easier to copy & paste 2011-06-06 00:15:55 -03:00
Werner Almesberger
e7dfb38fce prod/atben: changed 'l' to 'o' in all patterns 2011-06-05 21:57:32 -03:00
Werner Almesberger
d1dd611d1e prod/doc/test.hmac: expanded GPIO scan section (in progress) 2011-06-04 11:19:46 -03:00
Werner Almesberger
59469a458d prod/atben: added GPIO test 2011-06-04 10:29:10 -03:00
Werner Almesberger
cbd0fe54b7 atusb-flash: show avrdude progress output
- Common (doit): if the environment variable LIVE is set to "true",
  run the command in "script" instead of using "eval"
- Common (LIVE): unset this variable on initialization
- atusb-flash (flash): set LIVE, to obtain progress output from avrdude
2011-05-31 03:30:57 -03:00
Werner Almesberger
8c25bc2b63 prod/doc/analysis.hmac: added atrf-xtal measurement on atusb; clarifictions 2011-05-30 20:23:07 -03:00
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
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
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