Date:2011-05-21 17:11:15 (8 years 4 months ago)
Author:Werner Almesberger
Commit:6adfd4b1fd5f3a39899b0e6d9c0270177f98f0f5
Message:prod/doc/flash.html: described the flashing process

Files: prod/doc/flash.html (3 diffs)

Change Details

prod/doc/flash.html
1111  <LI>The application (via DFU, using <B>dfu-util</B>)
1212</OL>
1313<P>
14Note that <B>atben</B> has no microcontroller and there does not need
14Note that <B>atben</B> has no microcontroller and therefore does not need
1515any flashing.
1616
1717
...... 
2121
2222<H2>Flashing the boot loader</H2>
2323
24The following image shows the setup for flashing the boot loader:
2425<P>
2526<IMG src="setup-C.png">
2627<P>
28To flash the boot loader,
29<UL>
30  <LI>insert the <B>atusb-pgm</B> board into the Ben
31  <LI>place the <B>atusb</B> board (DUT) on the table near the Ben,
32    without connecting it to USB
33  <LI>place <B>atusb-pgm</B> onto <B>atusb</B> as shown in the image below
34    and gently push it on the contacts
35    <P>
36    <A href="http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-programming.jpg"><IMG
37    src="http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-programming.jpg"
38    width="250"></A>
39    <P>
40  <LI>finally, run
41    <PRE>
42    make flash
43    </PRE>
44</UL>
45<P>
46The flashing takes about 20-30 seconds. If it should fail, make sure you
47properly placed <B>atusb-pgm</B> and try again. If it keeps on failing,
48remove <B>atusb-pgm</B> from the Ben and insert it again.
49If flashing fails despite numerous attempts, proceed to the
50<A href="analysis.html">fault analysis</A>.
2751
2852
2953<!-- ====================================================================== -->
...... 
3155
3256<H2>Flashing the application</H2>
3357
58The flashing script proceeds automatically to the flashing of the
59application. All you need to do is insert the <B>atusb</B> board
60into the PC:
3461<P>
3562<IMG src="setup-D.png">
3663<P>
64The flashing script will wait up to 30 seconds for enumeration.
65Once the <B>atusb</B> board has been detected, the script transfers
66the application with DFU. After this, you can proceed with the
67<A href="test.html">functional test</A>.
68<P>
69If the board fails to enumerate, proceed with the
70<A href="analysis.html">fault analysis</A>.
3771
3872<P>
3973<HR>

Archive Download the corresponding diff file



interactive