Edgar's new test cases.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Apr 2008 09:26:50 +0000 (09:26 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Apr 2008 09:26:50 +0000 (09:26 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@614 b42882b7-edfa-0310-969c-e2dbd0fdcd60

testing/index.html
testing/results/template.html [new file with mode: 0644]
testing/smoketests.html [new file with mode: 0644]

index b8a8b21..57085b9 100644 (file)
@@ -8,10 +8,11 @@
                <p>
                Note that this testing document does not have anything to do with testing that is done 
                before committing to svn. It is a test document for released code. Pre-commit testing
-               is done mostly by the developer who has written the change. Release testing is
+               is done mostly by the developer who has written the change. Sometimes code is committed
+               to synchronize work, even if it has known problems. Release testing is
                done on code believed to be stable, often a couple of weeks old, and not by
                the developers, but rather users and community testers who has the requisite hardware
-               and test setup. Also the testing can take place over an extended period of time.
+               and test setup. Also the testing will take place over an extended period of time.
                <p>
                All of the above makes it imperative that there can be no doubt about *which* code
                is tested and thus all tests refer to committed code by subversion number.  
                OpenOCD trunk is work in progress. Expect it to change daily and to have some quirks.
                <p>If you need the latest released and tested version, look for binary snapshots of OpenOCD. Worst case look up the test result table below for the features that are important to you and extract and build the version that has the right cocktail of working features for you. You can also work with the community to address the problems you are seing. Testing work and bug reports are highly appreciated.</p>
                <p>The OpenOCD community may decide to create release branches. If this happens, then a branch will be created from OpenOCD trunk. The particular version to create that branch might be an older version rather than the latest and greatest. Fixes are then ported to that release branch from OpenOCD trunk.</p>
-               <h2>Vocabulary</h2>
-               <table border="1">
-                       <tr>
-                               <td width="100">Passed version</td>
-                               <td>The latest branch and version on which the test is known to pass</td>
-                       </tr>
-                       <tr>
-                               <td width="100">Broken version</td>
-                               <td>The latest branch and version on which the test is known to fail. n/a when older than passed version.</td>
-                       </tr>
-                       <tr>
-                               <td width="100">ID</td>
-                               <td>A unqiue ID to refer to a test. The unique numbers are maintained in this file. Note that the same test can be run on different hardware/interface. Each combination yields a unique id. </td>
-                       </tr>
-               </table>
-               <p></p>
                <hr>
-               <h1>OpenOCD test results</h1>
-               These tests can be performed on any JTAG device as long as they are executed using the unmodified code from SVN.
-               <p>The latest version in which the test is known to have passed is in the table below.</p>
-               <table border="1">
-                       <tr>
-                               <th width="100">Unique ID</th>
-                               <th width="165">Synopsis</th>
-                               <th align="center" width="110">JTAG device</th>
-                               <th align="center" width="110">Passed version</th>
-                               <th align="center" width="110">Broken version</th>
-                       </tr>
-                       <tr>
-                               <td >fill_malloc</td>
-                               <td width="165">Fill malloc() memory with garbage</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td >ocd1</td>
-                               <td width="165">Telnet Windows</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td >ocd2</td>
-                               <td width="165">Telnet Linux</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td >ocd3</td>
-                               <td width="165">Telnet Cygwin</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#test_ocd4">ocd4</a></td>
-                               <td width="165">ARM7 debugging</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td >SAM9260</td>
-                               <td width="165">SAM9260 debugging</td>
-                               <td align="center">ft2232 </td>
-                               <td align="center">500</td>
-                               <td align="center">n/a</td>
-                       </tr>
-                       <tr>
-                               <td >xscale1</td>
-                               <td width="165">XScale debugging</td>
-                               <td align="center" >bitbang</td>
-                               <td align="center" >505</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td >xscale2</td>
-                               <td width="165">XScale debugging</td>
-                               <td align="center" >FT2232</td>
-                               <td align="center" >202</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram1</a></td>
-                               <td width="165">str710 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom2</a></td>
-                               <td width="165">str710 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram3</a></td>
-                               <td width="165">str912 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom4</a></td>
-                               <td width="165">str912 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram5</a></td>
-                               <td width="165">lpc2148 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom6</a></td>
-                               <td width="165">lpc2148 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram7</a></td>
-                               <td width="165">lpc2294 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom8</a></td>
-                               <td width="165">lpc2294 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram9</a></td>
-                               <td width="165">sam7s256 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom10</a></td>
-                               <td width="165">sam7s256 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram11</a></td>
-                               <td width="165">sam7x256 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-rom">bdte-rom12</a></td>
-                               <td width="165">sam7x256 rom debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td ><a href="#bdte-ram">bdte-ram13</a></td>
-                               <td width="165">at91r40008 ram debugging</td>
-                               <td align="center" >JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-               </table>
-               <p></p>
-               <hr>
-               <h1>OpenOCD JTAG device test results</h1>
-               Each JTAG device must be tested
-               
-               <table border="1">
-                       <tr>
-                               <th align="center" width="40">ID</th>
-                               <th width="90">Synopsis</th>
-                               <th >Passed version</th>
-                               <th >Broken version</th>
-                       </tr>
-                       <tr>
-                               <td width="40">jtag1</td>
-                               <td width="90">Parport</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td width="40">jtag2</td>
-                               <td width="90">JTAGkey</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td width="40">jtag3</td>
-                               <td width="90">Turtelizer2</td>
-                               <td align="center" >592</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td width="40">jtag4</td>
-                               <td width="90">JTAGkey</td>
-                               <td align="center" >536</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-                       <tr>
-                               <td width="40">jtag5</td>
-                               <td width="90">add new one</td>
-                               <td align="center" >n/a</td>
-                               <td align="center" >n/a</td>
-                       </tr>
-               </table>
-               <p>jtag1:</p>
-               <p>jtag2: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>
-               <p>jtag3: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>
-               <p>jtag4: Tested on Mac OS X (10.5.2, Intel) with libftdi-0.10 and libusb-0.1.12</p>
-               <p>jtag5:</p>
-               <hr>
-               <h1>OpenOCD JTAG device speed test result</h1>
-               <p>The test result is in KB/sec.</p>
-               <table border="1">
-                       <tr>
-                               <th align="center" width="50">ID</th>
-                               <th width="90">Synopsis</th>
-                               <th width="40">r320</th>
-                               <th width="40">r420</th>
-                               <th width="40">r423</th>
-                               <th width="40">r459</th>
-                               <th width="40">r517</th>
-                               <th width="40">r536</th>
-                               <th width="40">r592</th>
-                       </tr>
-                       <tr>
-                               <td width="50"><a href="#speed1">speed1</a></td>
-                               <td width="90">JTAGkey</td>
-                               <td align="center" width="40">93</td>
-                               <td align="center" width="40">64 </td>
-                               <td align="center" width="40">93</td>
-                               <td align="center" width="40">93</td>
-                               <td align="center" width="40">93</td>
-                               <td align="center" width="40">93</td>
-                               <td align="center" width="40">98</td>
-                       </tr>
-                       <tr>
-                               <td width="50"><a href="#speed2">speed2</a></td>
-                               <td width="90">JTAGkey</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">52</td>
-                               <td align="center" width="40">52</td>
-                               <td align="center" width="40">n/a</td>
-                       </tr>
-                       <tr>
-                               <td width="50">speed3</td>
-                               <td width="90">add new one</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                               <td align="center" width="40">n/a</td>
-                       </tr>
-               </table>
-               <p></p>
-               <hr>
-               <h1>Policy on removing features from OpenOCD</h1>
-               If a feature in OpenOCD is known to be broken and nobody has submitted a fix and the feature is causing trouble for maintainence, it can be removed from OpenOCD trunk. The threshold for temporarily removing something from OpenOCD trunk is low to ease maintainence and place the burden of maintainence on those that care about a feature.
-               <p>Note that code is never deleted from OpenOCD svn, it remains in svn so if somebody sees a feature removed that they would like kept, they have but to port and fix that feature back up to main trunk. This document can be helpful in this regard in that the latest working version and the known broken version may be listed.</p>
-               <h1>Policy on adding features from OpenOCD</h1>
-               To add a feature to OpenOCD, generally it should not break any existing features and it should be functional and the code reasonably readable and useful to others in the OpenOCD community. The code does not have to be completed. Work in progress is fine for OpenOCD trunk.
-               <p>Also new tests should be defined. Note that the code does not have to pass all the tests. In fact it can be helpful to have tests to describe facets that really should be working, but aren't done yet. </p>
-               <hr>
-               <h1>ocd4 - ARM7 debugging<a name="test_ocd4"></a></h1>
-               Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.
-               <hr>
-               <h1>bdte-ram (Basic debugging test with Eclipse in RAM)<a id="bdte-ram" name="bdte-ram"></a></h1>
-               <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_ram.gdb</b> file.</p>
-               <p>Start debugging,  the debugger should stop at main. set some breakpoints and &quot;Resume&quot;. If the debugger hit a breakpoint check if the &quot;Variables&quot; looks correct. Remove some breakpoints and &quot;Resume&quot; again. If the target is running, use the &quot;Suspend&quot; function and use &quot;Step Into&quot; or &quot;Step Over&quot; through the source. Even open the &quot;Disassembly&quot; view and enable the &quot;Instruction Stepping Mode&quot;. Now you can single step through the assembler source. Use &quot;Resume&quot; again to run the program, set a breakpoint while the target is running. Check if  you can inspect the variables with the mouse over. Play a little with the target...</p>
-               <hr>
-               <h1>bdte-rom (Basic debugging test with Eclipse in ROM)<a id="bdte-rom" name="bdte-rom"></a></h1>
-               <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_rom.gdb</b> file.</p>
-               <p>Start debugging, the debugger should download and store the program in the flash of the target.</p>
-               <p>Now you can make some tests like described in the <a href="#bdte-ram">bdte-ram</a> section above too.</p>
-               <hr>
-               <h1>speed1 - Download speed test<a id="speed1" name="speed1"></a></h1>
-               <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>
-               <p>Loading section .text, size 0x6019c lma 0x62000000<br>
-                       Start address 0x62000040, load size 393628<br>
-                       Transfer rate: 93 KB/sec, 2008 bytes/write.</p>
-               <p>In this example a speed of 93 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>
-               <p>The test was made on Windows XP Prof. (SP2) with a JTAGkey and the original FTDI driver.</p>
-               <hr>
-               <h1>speed2 - Download speed test<a id="speed2" name="speed2"></a></h1>
-               <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>
-               <p>Loading section .text, size 0x6019c lma 0x62000000<br>
-                       Start address 0x62000040, load size 393628<br>Transfer rate: 52 KB/sec, 2008 bytes/write.</p>
-               <p>In this example a speed of 52 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>
-               <p>The test was made on Mac OS X (10.5.2, Intel)  with a JTAGkey and the following driver:</p>
-               <p>- libftdi 0.10<br>
-                       - libusb 0.1.12</p>
-               <p></p>
-               <p></p>
+               <h2>OpenOCD smoketests</h2>
+               This is a set of tests that exercise the entire OpenOCD system and various targets. It
+               is a small suite of systemwide smoketests.
+               <p>
+               <a href="smoketests.html">Smoketests</a>
+               <h2>Test cases</h2>
+               Additionally OpenOCD has test cases that target specific functionality more precisely.
+               <p>
+               A full release test must include both smoketests and unit testing. 
+               <p>
+               <a href="testcases.html">Test cases</a>
        </body>
 
 </html>
\ No newline at end of file
diff --git a/testing/results/template.html b/testing/results/template.html
new file mode 100644 (file)
index 0000000..9069258
--- /dev/null
@@ -0,0 +1,18 @@
+<html>\r
+\r
+       <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">\r
+\r
+       <body>\r
+       <a href="../testcases.html">Testcases</a>\r
+       <table border="1">\r
+               <tr><td>Test</td><td>Interface</td><td>Target</td><td>Result</td></tr>\r
+               <tr><td><a href="../testcases.html#CON001">CON001</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+               <tr><td><a href="../testcases.html#CON002">CON002</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+               <tr><td><a href="../testcases.html#RES001">RES001</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+               <tr><td><a href="../testcases.html#RES002">RES002</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+               <tr><td><a href="../testcases.html#RES003">RES003</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+               <tr><td><a href="../testcases.html#DBG001">DBG001</a></td><td> FILL IN! </td><td>FILL IN!</td><td>PASS/FAIL</td></tr>\r
+       </table>\r
+       </body>\r
+\r
+</html>
\ No newline at end of file
diff --git a/testing/smoketests.html b/testing/smoketests.html
new file mode 100644 (file)
index 0000000..cc8a553
--- /dev/null
@@ -0,0 +1,315 @@
+<html>\r
+\r
+       <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">\r
+\r
+       <body>\r
+               <h1>OpenOCD smoketest results</h1>\r
+               These tests can be performed on any JTAG device as long as they are executed using the unmodified code from SVN.\r
+               <p>The latest version in which the test is known to have passed is in the table below.</p>\r
+               <h2>Vocabulary</h2>\r
+               <table border="1">\r
+                       <tr>\r
+                               <td width="100">Passed version</td>\r
+                               <td>The latest branch and version on which the test is known to pass</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="100">Broken version</td>\r
+                               <td>The latest branch and version on which the test is known to fail. n/a when older than passed version.</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="100">ID</td>\r
+                               <td>A unqiue ID to refer to a test. The unique numbers are maintained in this file. Note that the same test can be run on different hardware/interface. Each combination yields a unique id. </td>\r
+                       </tr>\r
+               </table>\r
+               <p></p>\r
+               <table border="1">\r
+                       <tr>\r
+                               <th width="100">Unique ID</th>\r
+                               <th width="165">Synopsis</th>\r
+                               <th align="center" width="110">JTAG device</th>\r
+                               <th align="center" width="110">Passed version</th>\r
+                               <th align="center" width="110">Broken version</th>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >fill_malloc</td>\r
+                               <td width="165">Fill malloc() memory with garbage</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >ocd1</td>\r
+                               <td width="165">Telnet Windows</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >ocd2</td>\r
+                               <td width="165">Telnet Linux</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >ocd3</td>\r
+                               <td width="165">Telnet Cygwin</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#test_ocd4">ocd4</a></td>\r
+                               <td width="165">ARM7 debugging</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >SAM9260</td>\r
+                               <td width="165">SAM9260 debugging</td>\r
+                               <td align="center">ft2232 </td>\r
+                               <td align="center">500</td>\r
+                               <td align="center">n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >xscale1</td>\r
+                               <td width="165">XScale debugging</td>\r
+                               <td align="center" >bitbang</td>\r
+                               <td align="center" >505</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td >xscale2</td>\r
+                               <td width="165">XScale debugging</td>\r
+                               <td align="center" >FT2232</td>\r
+                               <td align="center" >202</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram1</a></td>\r
+                               <td width="165">str710 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom2</a></td>\r
+                               <td width="165">str710 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram3</a></td>\r
+                               <td width="165">str912 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom4</a></td>\r
+                               <td width="165">str912 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram5</a></td>\r
+                               <td width="165">lpc2148 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom6</a></td>\r
+                               <td width="165">lpc2148 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram7</a></td>\r
+                               <td width="165">lpc2294 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom8</a></td>\r
+                               <td width="165">lpc2294 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram9</a></td>\r
+                               <td width="165">sam7s256 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom10</a></td>\r
+                               <td width="165">sam7s256 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram11</a></td>\r
+                               <td width="165">sam7x256 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >517</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-rom">bdte-rom12</a></td>\r
+                               <td width="165">sam7x256 rom debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >517</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td ><a href="#bdte-ram">bdte-ram13</a></td>\r
+                               <td width="165">at91r40008 ram debugging</td>\r
+                               <td align="center" >JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+               </table>\r
+               <p></p>\r
+               <hr>\r
+               <h1>OpenOCD JTAG device test results</h1>\r
+               Each JTAG device must be tested\r
+               \r
+               <table border="1">\r
+                       <tr>\r
+                               <th align="center" width="40">ID</th>\r
+                               <th width="90">Synopsis</th>\r
+                               <th >Passed version</th>\r
+                               <th >Broken version</th>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="40">jtag1</td>\r
+                               <td width="90">Parport</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="40">jtag2</td>\r
+                               <td width="90">JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="40">jtag3</td>\r
+                               <td width="90">Turtelizer2</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="40">jtag4</td>\r
+                               <td width="90">JTAGkey</td>\r
+                               <td align="center" >536</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="40">jtag5</td>\r
+                               <td width="90">add new one</td>\r
+                               <td align="center" >n/a</td>\r
+                               <td align="center" >n/a</td>\r
+                       </tr>\r
+               </table>\r
+               <p>jtag1:</p>\r
+               <p>jtag2: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>\r
+               <p>jtag3: Tested on Windows XP Prof. (SP2) with original FTDI&nbsp;driver.</p>\r
+               <p>jtag4: Tested on Mac OS X (10.5.2, Intel) with libftdi-0.10 and libusb-0.1.12</p>\r
+               <p>jtag5:</p>\r
+               <hr>\r
+               <h1>OpenOCD JTAG device speed test result</h1>\r
+               <p>The test result is in KB/sec.</p>\r
+               <table border="1">\r
+                       <tr>\r
+                               <th align="center" width="50">ID</th>\r
+                               <th width="90">Synopsis</th>\r
+                               <th width="40">r320</th>\r
+                               <th width="40">r420</th>\r
+                               <th width="40">r423</th>\r
+                               <th width="40">r459</th>\r
+                               <th width="40">r517</th>\r
+                               <th width="40">r536</th>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="50"><a href="#speed1">speed1</a></td>\r
+                               <td width="90">JTAGkey</td>\r
+                               <td align="center" width="40">93</td>\r
+                               <td align="center" width="40">64 </td>\r
+                               <td align="center" width="40">93</td>\r
+                               <td align="center" width="40">93</td>\r
+                               <td align="center" width="40">93</td>\r
+                               <td align="center" width="40">93</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="50"><a href="#speed2">speed2</a></td>\r
+                               <td width="90">JTAGkey</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">52</td>\r
+                               <td align="center" width="40">52</td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td width="50">speed3</td>\r
+                               <td width="90">add new one</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                               <td align="center" width="40">n/a</td>\r
+                       </tr>\r
+               </table>\r
+               <p></p>\r
+               <hr>\r
+               <h1>Policy on removing features from OpenOCD</h1>\r
+               If a feature in OpenOCD is known to be broken and nobody has submitted a fix and the feature is causing trouble for maintainence, it can be removed from OpenOCD trunk. The threshold for temporarily removing something from OpenOCD trunk is low to ease maintainence and place the burden of maintainence on those that care about a feature.\r
+               <p>Note that code is never deleted from OpenOCD svn, it remains in svn so if somebody sees a feature removed that they would like kept, they have but to port and fix that feature back up to main trunk. This document can be helpful in this regard in that the latest working version and the known broken version may be listed.</p>\r
+               <h1>Policy on adding features from OpenOCD</h1>\r
+               To add a feature to OpenOCD, generally it should not break any existing features and it should be functional and the code reasonably readable and useful to others in the OpenOCD community. The code does not have to be completed. Work in progress is fine for OpenOCD trunk.\r
+               <p>Also new tests should be defined. Note that the code does not have to pass all the tests. In fact it can be helpful to have tests to describe facets that really should be working, but aren't done yet. </p>\r
+               <hr>\r
+               <h1>ocd4 - ARM7 debugging<a name="test_ocd4"></a></h1>\r
+               Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.\r
+               <hr>\r
+               <h1>bdte-ram (Basic debugging test with Eclipse in RAM)<a id="bdte-ram" name="bdte-ram"></a></h1>\r
+               <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_ram.gdb</b> file.</p>\r
+               <p>Start debugging,  the debugger should stop at main. set some breakpoints and &quot;Resume&quot;. If the debugger hit a breakpoint check if the &quot;Variables&quot; looks correct. Remove some breakpoints and &quot;Resume&quot; again. If the target is running, use the &quot;Suspend&quot; function and use &quot;Step Into&quot; or &quot;Step Over&quot; through the source. Even open the &quot;Disassembly&quot; view and enable the &quot;Instruction Stepping Mode&quot;. Now you can single step through the assembler source. Use &quot;Resume&quot; again to run the program, set a breakpoint while the target is running. Check if  you can inspect the variables with the mouse over. Play a little with the target...</p>\r
+               <hr>\r
+               <h1>bdte-rom (Basic debugging test with Eclipse in ROM)<a id="bdte-rom" name="bdte-rom"></a></h1>\r
+               <p>This test was made under Eclipse with the Zylin Embedded CDT&nbsp;plugin. For the GDB &quot;Initialize commands&quot; take a look in the examples/&lt;target&gt;/prj/<b>eclipse_rom.gdb</b> file.</p>\r
+               <p>Start debugging, the debugger should download and store the program in the flash of the target.</p>\r
+               <p>Now you can make some tests like described in the <a href="#bdte-ram">bdte-ram</a> section above too.</p>\r
+               <hr>\r
+               <h1>speed1 - Download speed test<a id="speed1" name="speed1"></a></h1>\r
+               <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>\r
+               <p>Loading section .text, size 0x6019c lma 0x62000000<br>\r
+                       Start address 0x62000040, load size 393628<br>\r
+                       Transfer rate: 93 KB/sec, 2008 bytes/write.</p>\r
+               <p>In this example a speed of 93 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>\r
+               <p>The test was made on Windows XP Prof. (SP2) with a JTAGkey and the original FTDI driver.</p>\r
+               <hr>\r
+               <h1>speed2 - Download speed test<a id="speed2" name="speed2"></a></h1>\r
+               <p>For this test a STR710 with external memory was used. The example project can be found under examples/STR710JtagSpeed. Here Eclipse or the arm-elf-gdb can be used to download the test.elf file into the RAM. The result of the GDB&nbsp;can look like:</p>\r
+               <p>Loading section .text, size 0x6019c lma 0x62000000<br>\r
+                       Start address 0x62000040, load size 393628<br>Transfer rate: 52 KB/sec, 2008 bytes/write.</p>\r
+               <p>In this example a speed of 52 KB/sec was reached. The hardware which was used for the test can be found <a href="http://www.yagarto.de/projects/str7usbmsd/index.html" target="new">here</a>.</p>\r
+               <p>The test was made on Mac OS X (10.5.2, Intel)  with a JTAGkey and the following driver:</p>\r
+               <p>- libftdi 0.10<br>\r
+                       - libusb 0.1.12</p>\r
+               <p></p>\r
+               <p></p>\r
+       </body>\r
+\r
+</html>
\ No newline at end of file