prod/doc/setup.hmac |
26 | 26 | |
27 | 27 | <SECTION ref="intro" title="Introduction"> |
28 | 28 | |
29 | | Before performing any production tests, various pieces of software |
30 | | need to be installed on Ben and PC, and configuration settings |
31 | | @@@ |
| 29 | Before performing production tests, various pieces of software |
| 30 | need to be installed on Ben and PC, and configuration settings may |
| 31 | have to be adjusted. The following sections describe the installation |
| 32 | and configuration process. |
32 | 33 | |
33 | 34 | |
34 | 35 | <!-- ====================================================================== --> |
... | ... | |
36 | 37 | |
37 | 38 | <SECTION ref="pcsw" title="PC software installation"> |
38 | 39 | |
39 | | @@@ |
| 40 | For a DUT and reference device role, the <B>ben-wpan</B> utilities |
| 41 | and the test scripts have to be installed on the PC. For flashing the |
| 42 | <B>atusb</B> application |
| 43 | firmware, also <B>dfu-util</B> and the firmware binary are required. |
| 44 | <P> |
| 45 | The instructions below assume that a complete development environment |
| 46 | is already present on the PC. If any prerequisitres are not met, |
| 47 | compilation will fail, and you'll have to install the corresponding |
| 48 | package and try again. |
40 | 49 | |
41 | 50 | |
42 | 51 | <!-- ---------------------------------------------------------------------- --> |
... | ... | |
79 | 88 | <!-- ---------------------------------------------------------------------- --> |
80 | 89 | |
81 | 90 | |
| 91 | <SUBSECTION title="Install dfu-util"> |
| 92 | |
| 93 | <B>dfu-util</B> is used to transfer the application firmware to |
| 94 | <B>atusb</B> boards. To build <B>dfu-util</B> from source, run these |
| 95 | commands: |
| 96 | |
| 97 | <PRE> |
| 98 | git clone git://git.openezx.org/dfu-util.git |
| 99 | cd dfu-util |
| 100 | ./autogen.sh |
| 101 | ./configure |
| 102 | make |
| 103 | make install |
| 104 | </PRE> |
| 105 | |
| 106 | Note that some Linux distributions already provide a pre-compiled |
| 107 | version of <B>dfu-util</B>, which could be used instead of building |
| 108 | it from source. |
| 109 | |
| 110 | |
| 111 | <!-- ---------------------------------------------------------------------- --> |
| 112 | |
| 113 | |
82 | 114 | <SUBSECTION title="Install firmware binary"> |
83 | 115 | |
84 | 116 | The binary of the application running on <B>atusb</B> is transferred from |
... | ... | |
132 | 164 | |
133 | 165 | <SECTION ref="bensw" title="Ben software installation"> |
134 | 166 | |
135 | | @@@ |
| 167 | For a DUT and reference device role, the <B>ben-wpan</B> utilities |
| 168 | have to be installed on a Ben. For flashing the <B>atusb</B> boot |
| 169 | loader, also <B>avrdude</B> and the boot loader binary are needed. |
| 170 | <P> |
| 171 | The instructions below apply for OpenWrt and Jlime. For building |
| 172 | things from source, a cross-compilation toolchain has to be installed |
| 173 | on the PC. |
136 | 174 | |
137 | 175 | |
138 | 176 | <!-- ---------------------------------------------------------------------- --> |
... | ... | |
208 | 246 | ">here</A>. |
209 | 247 | |
210 | 248 | |
211 | | |
212 | 249 | <!-- ---------------------------------------------------------------------- --> |
213 | 250 | |
214 | 251 | |