diff --git a/testing/index.html b/testing/index.html index 8aabcd448..066a0c7ec 100644 --- a/testing/index.html +++ b/testing/index.html @@ -1,80 +1,142 @@ -
--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. -
-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. -
Passed version | The latest version on which the test is known to pass |
Broken version | The latest version on which the test is known to fail. n/a when older than passed version. |
ID | A unqiue ID to refer to a test. The unique numbers are maintained in this file. |
-The latest version in which the test is known to have -passed is in the table below. -
ID | Synopsis | Passed version | Broken version |
---|---|---|---|
ocd1 | Telnet Windows | 291 | n/a |
ocd2 | Telnet Linux | 291 | n/a |
ocd3 | Telnet Cygwin | 291 | n/a |
ocd4 | ARM7 debugging | 291 | |
xscale1 | XScale debugging | 291 | |
xscale2 | XScale MMU | 291 |
ID | Synopsis | Passed version | Broken version |
---|---|---|---|
jtag1 | Wiggler | 291 | n/a |
jtag2 | Parport | 291 | n/a |
jtag3 | ... | 291 | n/a |
-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. -
-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.
-
- 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. 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.ocd4 - ARM7 debugging
-Connect to ARM7 device(any), use GDB load to load a program into RAM and single halt, resume and single step.
-
-
+
+ Testing
+ 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.
+ Release procedure
+ OpenOCD trunk is work in progress. Expect it to change daily and to have some work in progress.
+ Vocabulary
+
Passed version | +The latest version on which the test is known to pass | +
Broken version | +The latest version on which the test is known to fail. n/a when older than passed version. | +
ID | +A unqiue ID to refer to a test. The unique numbers are maintained in this file. | +
The latest version in which the test is known to have passed is in the table below.
+ID | +Synopsis | +Passed version | +Broken version | +
---|---|---|---|
ocd1 | +Telnet Windows | +291 | +n/a | +
ocd2 | +Telnet Linux | +291 | +n/a | +
ocd3 | +Telnet Cygwin | +291 | +n/a | +
ocd4 | +ARM7 debugging | +291 | +n/a | +
xscale1 | +XScale debugging | +291 | +n/a | +
xscale2 | +XScale MMU | +291 | +n/a | +
bdte-ram | +str710 ram debugging | +320 | +n/a | +
bdte-rom | +str710 rom debugging | +320 | +406 | +
ID | +Synopsis | +Passed version | +Broken version | +
---|---|---|---|
jtag1 | +Wiggler | +291 | +n/a | +
jtag2 | +Parport | +291 | +n/a | +
jtag3 | +JTAGkey | +406 | +n/a | +
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.
+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.
+This test was made under Eclipse with the Zylin Embedded CDT plugin. For the GDB "Initialize commands" take a look in the examples/<target>/prj/eclipse_ram.gdb file.
+Start debugging, the debugger should stop at main. set some breakpoints and "Resume". If the debugger hit a breakpoint check if the "Variables" looks correct. Remove some breakpoints and "Resume" again. If the target is running, use the "Suspend" function and use "Step Into" or "Step Over" through the source. Even open the "Disassembly" view and enable the "Instruction Stepping Mode". Now you can single step through the assembler source. Use "Resume" 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...
+This test was made under Eclipse with the Zylin Embedded CDT plugin. For the GDB "Initialize commands" take a look in the examples/<target>/prj/eclipse_rom.gdb file.
+Start debugging, the debugger should download and store the program in the flash of the target.
+Now you can make some tests like described in the bdte-ram section above too.
+ + + + +