Date:2011-05-18 19:04:59 (12 years 10 months ago)
Author:Werner Almesberger
Commit:f5b1693a0c34d2007de34008d92c48db212afb6f
Message:prod/doc/index.html: added section separators; expanded setup section

Files: prod/doc/index.html (4 diffs)

Change Details

prod/doc/index.html
2929Defective devices can be discarded or retained for a deeper analysis.
3030
3131
32<!-- ====================================================================== -->
33
34
3235<H2>Terminology</H2>
3336
3437<DL>
...... 
7376</DL>
7477
7578
76<H2>Setup</H2>
79<!-- ====================================================================== -->
80
81
82<H2>Software setup</H2>
83
84Before performing any production tests, various pieces of software
85need to be installed on Ben and PC, and configuration settings
86@@@
87
88
89<!-- ---------------------------------------------------------------------- -->
90
7791
7892<H3>PC software installation</H3>
93
94@@@
95
96<H4>Install ben-wpan tools</H4>
97
98@@@
99
100<H4>Register Ben host name</H4>
101
102To simplify accessing the Ben via TCP/IP, its IP address should be
103registered in the hosts file on the PC. If the Ben is running OpenWrt,
104use the following command:
105<PRE>
106echo 192.168.254.101 ben >>/etc/hosts
107</PRE>
108<P>
109If the Ben is running Jlime, the address would be as follows:
110<PRE>
111echo 192.168.1.202 ben >>/etc/hosts
112</PRE>
113<P>
114If using the same PC with Bens running OpenWrt and Jlime, one may choose
115different host names depending on the distribution, and adapt the commands
116used in the production and testing process accordingly. For example,
117<PRE>
118echo 192.168.254.101 ben >>/etc/hosts
119echo 192.168.1.202 jlime >>/etc/hosts
120</PRE>
121
122
123<!-- ---------------------------------------------------------------------- -->
124
125
126<H3>Ben system setup</H3>
127
128The configuration setting described in this section are lost on each
129reset or reboot and either need to be entered again or a setup script
130running at boot time has to
131This needs to be done each time the Ben is booted.
132
133
134<H4>Enable network access</H4>
135
136Once the Ben has booted and started USB networking, the interface
137on the PC side is configured as follows:
138<PRE>
139ifconfig usb0 192.168.254.100 up
140</PRE>
141<P>
142These are the settings for OpenWrt, assuming the network device is
143called "usb0". If using Jlime, the command would be as follows:
144<PRE>
145ifconfig usb0 192.168.1.200 up
146</PRE>
147
148
149<H4>Silence other 8:10 card users</H4>
150
151Before running any of the ben-wpan utilities, other users of the 8:10
152card slot have to be disabled. In a Ben running the regular OpenWrt or
153Jlime distribution, the only such user that is automatically started
154is the MMC kernel driver. The following command disables it:
155<PRE>
156echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind
157</PRE>
158<P>
159If a WPAN-enabled kernel has been installed, the AT86RF230 driver takes
160the place of the MMC driver. To disable it, run
161<PRE>
162echo spi2.0 >/sys/bus/spi/drivers/at86rf230/unbind
163</PRE>
164
165
166<H4>Start atrf-proxy</H4>
167
168On the Ben, launch the proxy daemon. We pass the option -b to background it:
169<PRE>
170atrf-proxy -b
171</PRE>
172
173
174<!-- ---------------------------------------------------------------------- -->
175
176
79177<H3>Ben software installation</H3>
80<H3>Ben software setup</H3>
178
179<H4>Password-less remote access</H4>
180
181To enable password-less remote access from the PC, setup to betwork
182access to the Ben and run the following command:
183<PRE>
184ssh ben 'cat >>/etc/dropbear/authorized_keys' <~/.ssh/id_rsa.pub
185</PRE>
186
187
188<!-- ---------------------------------------------------------------------- -->
189
190
81191<H3>Test profiles</H3>
82192
83193
194<!-- ====================================================================== -->
195
196
84197<H2>Flashing (atusb only)<H2>
85198
199<!-- ---------------------------------------------------------------------- -->
200
201
86202<H3>Flashing the boot loader</H3>
87203
88204<P>
...... 
90206<P>
91207
92208
209<!-- ---------------------------------------------------------------------- -->
210
211
93212<H3>Flashing the application</H3>
94213
95214<P>
...... 
97216<P>
98217
99218
219<!-- ====================================================================== -->
220
221
100222<H2>Functional test</H2>
101223
224<!-- ---------------------------------------------------------------------- -->
225
226
102227<H3>Test setup for atben</H3>
103228
104229<P>
105230<IMG src="setup-A.png">
106231<P>
107232
233<!-- ---------------------------------------------------------------------- -->
234
235
108236<H3>Test setup for atusb</H3>
109237
110238<P>
111239<IMG src="setup-B.png">
112240<P>
113241
242<!-- ---------------------------------------------------------------------- -->
243
244
114245<H3>Test procedure</H3>
115246
247
248<!-- ====================================================================== -->
249
250
116251<H2>Fault analysis</H2>
117252
253<!-- ---------------------------------------------------------------------- -->
254
255
118256<H3>Component placement and orientation</H3>
119257
258<!-- ---------------------------------------------------------------------- -->
259
260
120261<H3>Supply voltages</H3>
121262
263<!-- ---------------------------------------------------------------------- -->
264
265
122266<H3>Clock frequency</H3>
123267
124268The flawless performance of the crystal oscillator is crucial for

Archive Download the corresponding diff file



interactive