- added test result for str710, and test description
[openocd.git] / testing / index.html
1 <html>
3 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5 <body>
6 <h1>Testing</h1>
7 A test should be done on code committed to svn. Commit, then test. That way one can know for sure *what* code was actually tested.
8 <h1>Release procedure</h1>
9 OpenOCD trunk is work in progress. Expect it to change daily and to have some work in progress.
10 <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>
11 <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>
12 <h2>Vocabulary</h2>
13 <table border="1">
14 <tr>
15 <td width="100">Passed version</td>
16 <td>The latest version on which the test is known to pass</td>
17 </tr>
18 <tr>
19 <td width="100">Broken version</td>
20 <td>The latest version on which the test is known to fail. n/a when older than passed version.</td>
21 </tr>
22 <tr>
23 <td width="100">ID</td>
24 <td>A unqiue ID to refer to a test. The unique numbers are maintained in this file.</td>
25 </tr>
26 </table>
27 <p></p>
28 <hr>
29 <h1>OpenOCD test results</h1>
30 These tests can be performed on any JTAG device as long as they are executed using the unmodified code from SVN.
31 <p>The latest version in which the test is known to have passed is in the table below.</p>
32 <table border="1">
33 <tr>
34 <th width="65">ID</th>
35 <th width="150">Synopsis</th>
36 <th align="center" width="110">Passed version</th>
37 <th align="center" width="110">Broken version</th>
38 </tr>
39 <tr>
40 <td width="65">ocd1</td>
41 <td width="150">Telnet Windows</td>
42 <td align="center" width="110">291</td>
43 <td align="center" width="110">n/a</td>
44 </tr>
45 <tr>
46 <td width="65">ocd2</td>
47 <td width="150">Telnet Linux</td>
48 <td align="center" width="110">291</td>
49 <td align="center" width="110">n/a</td>
50 </tr>
51 <tr>
52 <td width="65">ocd3</td>
53 <td width="150">Telnet Cygwin</td>
54 <td align="center" width="110">291</td>
55 <td align="center" width="110">n/a</td>
56 </tr>
57 <tr>
58 <td width="65"><a href="#test_ocd4">ocd4</a></td>
59 <td width="150">ARM7 debugging</td>
60 <td align="center" width="110">291</td>
61 <td align="center" width="110">n/a</td>
62 </tr>
63 <tr>
64 <td width="65">xscale1</td>
65 <td width="150">XScale debugging</td>
66 <td align="center" width="110">291</td>
67 <td align="center" width="110">n/a</td>
68 </tr>
69 <tr>
70 <td width="65">xscale2</td>
71 <td width="150">XScale MMU</td>
72 <td align="center" width="110">291</td>
73 <td align="center" width="110">n/a</td>
74 </tr>
75 <tr>
76 <td width="65"><a href="#bdte-ram">bdte-ram</a></td>
77 <td width="150">str710 ram debugging</td>
78 <td align="center" width="110">320</td>
79 <td align="center" width="110">n/a</td>
80 </tr>
81 <tr>
82 <td width="65"><a href="#bdte-rom">bdte-rom</a></td>
83 <td width="150">str710 rom debugging</td>
84 <td align="center" width="110">320</td>
85 <td align="center" width="110"><b>406</b></td>
86 </tr>
87 </table>
88 <p></p>
89 <hr>
90 <h1>OpenOCD JTAG device test results</h1>
91 Each JTAG device must be tested
92 <table border="1">
93 <tr>
94 <th align="center" width="45">ID</th>
95 <th width="65">Synopsis</th>
96 <th width="110">Passed version</th>
97 <th width="110">Broken version</th>
98 </tr>
99 <tr>
100 <td width="45">jtag1</td>
101 <td width="65">Wiggler</td>
102 <td align="center" width="110">291</td>
103 <td align="center" width="110">n/a</td>
104 </tr>
105 <tr>
106 <td width="45">jtag2</td>
107 <td width="65">Parport</td>
108 <td align="center" width="110">291</td>
109 <td align="center" width="110">n/a</td>
110 </tr>
111 <tr>
112 <td width="45">jtag3</td>
113 <td width="65">JTAGkey</td>
114 <td align="center" width="110">406</td>
115 <td align="center" width="110">n/a</td>
116 </tr>
117 </table>
118 <p></p>
119 <hr>
120 <h1>Policy on removing features from OpenOCD</h1>
121 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.
122 <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>
123 <h1>Policy on adding features from OpenOCD</h1>
124 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.
125 <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>
126 <hr>
127 <h1>ocd4 - ARM7 debugging<a name="test_ocd4"></a></h1>
128 Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.
129 <hr>
130 <h1>bdte-ram (Basic debugging test with Eclipse in RAM)<a id="bdte-ram" name="bdte-ram"></a></h1>
131 <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>
132 <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>
133 <hr>
134 <h1>bdte-rom (Basic debugging test with Eclipse in ROM)<a id="bdte-rom" name="bdte-rom"></a></h1>
135 <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>
136 <p>Start debugging, the debugger should download and store the program in the flash of the target.</p>
137 <p>Now you can make some tests like described in the <a href="#bdte-ram">bdte-ram</a> section above too.</p>
138 <p></p>
139 <p></p>
140 </body>
142 </html>

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)