1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

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
This commit is contained in:
Werner Almesberger
2011-05-30 20:04:54 -03:00
parent 9515d96c24
commit c8e942f9ee
3 changed files with 23 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ and the test scripts have to be installed on the PC. For flashing the
firmware, also dfu-util and the firmware binary are required.
<P>
The instructions below assume that a complete development environment
is already present on the PC, including SDL and SDL_gfx.
is already present on the PC, including SDL, SDL_gfx, and GSL.
If any prerequisites are not met,
compilation will fail, and you'll have to install the corresponding
package and try again.
@@ -111,6 +111,21 @@ it from source.
<!-- ---------------------------------------------------------------------- -->
<SUBSECTION title="Install and run NTP">
The clock frequency test for <B>atusb</B> measures the clock frequency
relative to the PC clock. Many PC clocks are highly inaccurate, which
would render the result of the measurement meaningless. To improve the
quality of the reference clock, it should be disciplined by NTP.
<P>
If NTP is not available, it may be necessary to increase the test's
tolerance by changing the variable <SAMP>CLOCK_DRIFT_PPM</SAMP> in
the script <SAMP>atusb</SAMP>.
<!-- ---------------------------------------------------------------------- -->
<SUBSECTION title="Install firmware binary">
The binary of the application running on <B>atusb</B> is transferred from