1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-29 03:46:47 +02:00

prod/doc/: adjusted heading level and section separators of topic pages

This commit is contained in:
Werner Almesberger 2011-05-18 14:43:45 -03:00
parent e11d7b15cc
commit 3d2bed508a
4 changed files with 79 additions and 34 deletions

View File

@ -4,20 +4,22 @@
<H1>Production and testing: Fault analysis</H1>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Component placement and orientation</H3>
<!-- ---------------------------------------------------------------------- -->
<H2>Component placement and orientation</H2>
<H3>Supply voltages</H3>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Clock frequency</H3>
<H2>Supply voltages</H2>
<!-- ====================================================================== -->
<H2>Clock frequency</H2>
The flawless performance of the crystal oscillator is crucial for
operation. Anomalies are easy to detect with even a low-cost oscilloscope
@ -35,7 +37,10 @@ applies to <B>atben</B> as well as to <B>atusb</B>.
<P>
<H4>Measuring the clock on atben</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Measuring the clock on atben</H3>
<B>atben</B> normally does not output a clock signal. A 1 MHz clock
can be enabled with the following command:
@ -56,7 +61,10 @@ of any IEEE 802.15.4 frame or pressing Ctrl-C will terminate the command.
<P>
<H4>Measuring the clock on atusb</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Measuring the clock on atusb</H3>
The transceiver provides the clock for the microcontroller in <B>atusb</B>.
A clock signal is therefore always available. Immediately after reset,
@ -76,7 +84,10 @@ enables USB.
</TABLE>
<H4>Precision measurements</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Precision measurements</H3>
<P>
<HR>

View File

@ -3,23 +3,33 @@
<HTML>
<H1>Production and testing: Flashing</H1>
The microcontroller of <B>atusb</B> contains firmware that must be
loaded before the testing process can commence. The firmware consists
of the following two parts:
<OL>
<LI>The boot loader (via serial programming, using <B>avrdude</B>)
<LI>The application (via DFU, using <B>dfu-util</B>)
</OL>
<P>
Note that <B>atben</B> has no microcontroller and there does not need
any flashing.
(atusb only)
<!-- ====================================================================== -->
<!-- ---------------------------------------------------------------------- -->
<H3>Flashing the boot loader</H3>
<H2>Flashing the boot loader</H2>
<P>
<IMG src="setup-C.png">
<P>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Flashing the application</H3>
<H2>Flashing the application</H2>
<P>
<IMG src="setup-D.png">

View File

@ -8,18 +8,26 @@ need to be installed on Ben and PC, and configuration settings
@@@
<!-- ====================================================================== -->
<H2>PC software installation</H2>
@@@
<!-- ---------------------------------------------------------------------- -->
<H3>PC software installation</H3>
<H3>Install ben-wpan tools</H3>
@@@
<H4>Install ben-wpan tools</H4>
@@@
<!-- ---------------------------------------------------------------------- -->
<H4>Register Ben host name</H4>
<H3>Register Ben host name</H3>
To simplify accessing the Ben via TCP/IP, its IP address should be
registered in the hosts file on the PC. If the Ben is running OpenWrt,
@ -42,10 +50,10 @@ echo 192.168.1.202 jlime >>/etc/hosts
</PRE>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Ben system setup</H3>
<H2>Ben system setup</H2>
The configuration setting described in this section are lost on each
reset or reboot and either need to be entered again or a setup script
@ -53,7 +61,10 @@ running at boot time has to
This needs to be done each time the Ben is booted.
<H4>Enable network access</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Enable network access</H3>
Once the Ben has booted and started USB networking, the interface
on the PC side is configured as follows:
@ -68,7 +79,10 @@ ifconfig usb0 192.168.1.200 up
</PRE>
<H4>Silence other 8:10 card users</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Silence other 8:10 card users</H3>
Before running any of the ben-wpan utilities, other users of the 8:10
card slot have to be disabled. In a Ben running the regular OpenWrt or
@ -85,7 +99,10 @@ echo spi2.0 >/sys/bus/spi/drivers/at86rf230/unbind
</PRE>
<H4>Start atrf-proxy</H4>
<!-- ---------------------------------------------------------------------- -->
<H3>Start atrf-proxy</H3>
On the Ben, launch the proxy daemon. We pass the option -b to background it:
<PRE>
@ -93,12 +110,16 @@ atrf-proxy -b
</PRE>
<!-- ====================================================================== -->
<H2>Ben software installation</H2>
<!-- ---------------------------------------------------------------------- -->
<H3>Ben software installation</H3>
<H4>Password-less remote access</H4>
<H3>Password-less remote access</H3>
To enable password-less remote access from the PC, setup to betwork
access to the Ben and run the following command:
@ -107,10 +128,10 @@ ssh ben 'cat >>/etc/dropbear/authorized_keys' <~/.ssh/id_rsa.pub
</PRE>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Test profiles</H3>
<H2>Test profiles</H2>
<P>

View File

@ -4,28 +4,31 @@
<H1>Production and testing: Functional test</H1>
<!-- ====================================================================== -->
<!-- ---------------------------------------------------------------------- -->
<H3>Test setup for atben</H3>
<H2>Test setup for atben</H2>
<P>
<IMG src="setup-A.png">
<P>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Test setup for atusb</H3>
<H2>Test setup for atusb</H2>
<P>
<IMG src="setup-B.png">
<P>
<!-- ---------------------------------------------------------------------- -->
<!-- ====================================================================== -->
<H3>Test procedure</H3>
<H2>Test procedure</H2>
<P>