whitespace cleanup, mostly for docs

Remove useless space/tab at end of lines.
Remove spaces in indentation and replace with tab.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
Antonio Borneo 2009-12-30 07:48:49 +08:00 committed by David Brownell
parent 17fb7ead4b
commit 7c5acf8660
22 changed files with 401 additions and 402 deletions

4
BUGS
View File

@ -22,7 +22,7 @@ that may be important.
- If the report is for a regression: - If the report is for a regression:
- Include logs for both working and broken versions. - Include logs for both working and broken versions.
- Find the precise version that caused the regression by binary search. - Find the precise version that caused the regression by binary search.
You can use "git bisect" to expedite this binary search: You can use "git bisect" to expedite this binary search:
http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
If possible, please develop and attach a patch that helps to expose or If possible, please develop and attach a patch that helps to expose or
@ -36,7 +36,7 @@ in total.
@section bugscrashdump Obtaining Crash Backtraces @section bugscrashdump Obtaining Crash Backtraces
If OpenOCD is crashing, there are two very effective things you can do to If OpenOCD is crashing, there are two very effective things you can do to
improve your chances of getting help on the development mailing list. improve your chances of getting help on the development mailing list.
Try to reproduce the problem using the dummy JTAG interface to allow other developers to replicate Try to reproduce the problem using the dummy JTAG interface to allow other developers to replicate
your problem robustly and use GDB to get a trace:@par your problem robustly and use GDB to get a trace:@par

View File

@ -9,7 +9,7 @@ must past stricter value checks, and many more error conditions have
been handled correctly. These efforts helped to make the 0.2.0 release been handled correctly. These efforts helped to make the 0.2.0 release
more stable and robust, though some changes may expose latent bugs in more stable and robust, though some changes may expose latent bugs in
your existing configuration scripts. your existing configuration scripts.
This release does not maintain backward compatibility in all respects, This release does not maintain backward compatibility in all respects,
so some target or configuration scripts may need to be updated. In some so some target or configuration scripts may need to be updated. In some
cases, you may also see warnings; resolve those, because they indicate cases, you may also see warnings; resolve those, because they indicate
@ -20,7 +20,7 @@ The following areas of OpenOCD functionality changed in this release:
JTAG Layer: JTAG Layer:
- Improves modularity: core, TCL, driver commands, and interface have - Improves modularity: core, TCL, driver commands, and interface have
been separated, encapsulated, and documented for developers. Mostly. been separated, encapsulated, and documented for developers. Mostly.
- Improves JTAG TAP transition tables: - Improves JTAG TAP transition tables:
* Makes TAP paths variable length, rather than being fixed at 7 steps. * Makes TAP paths variable length, rather than being fixed at 7 steps.
* Fixes problems with some targets that did not like longer paths. * Fixes problems with some targets that did not like longer paths.
- Improves JTAG driver/minidriver modularity and encapsulation. - Improves JTAG driver/minidriver modularity and encapsulation.

12
NEWTAPS
View File

@ -30,7 +30,7 @@ Version Number Changes:
not a big deal. Please do report this information. We'd like to not a big deal. Please do report this information. We'd like to
know about it. know about it.
For example For example
Error: ERROR: Tap: s3c4510.cpu - Expected id: 0x3f0f0f0f, Got: 0x1f0f0f0f Error: ERROR: Tap: s3c4510.cpu - Expected id: 0x3f0f0f0f, Got: 0x1f0f0f0f
Error: ERROR: expected: mfg: 0x787, part: 0xf0f0, ver: 0x3 Error: ERROR: expected: mfg: 0x787, part: 0xf0f0, ver: 0x3
@ -39,7 +39,7 @@ Error: ERROR: got: mfg: 0x787, part: 0xf0f0, ver: 0x1
======================================== ========================================
Updating the Tap ID number your self Updating the Tap ID number your self
Why do this? You just want the warning to go away. And don't want Why do this? You just want the warning to go away. And don't want
to update your version/instance of OpenOCD. to update your version/instance of OpenOCD.
@ -79,11 +79,11 @@ Examples:
0x3f0f0f0f - is a newer ARM7TDMI 0x3f0f0f0f - is a newer ARM7TDMI
0x3ba00477 - is an ARM cortex M3 0x3ba00477 - is an ARM cortex M3
Some chips have multiple JTAG taps - be sure to list Some chips have multiple JTAG taps - be sure to list
each one individually - ORDER is important! each one individually - ORDER is important!
======================================== ========================================
B) The maker of the part B) The maker of the part
Examples: Examples:
Xilinx, Atmel, ST Micro Systems, Freescale Xilinx, Atmel, ST Micro Systems, Freescale
@ -94,7 +94,7 @@ C) The family of parts it belongs to
Examples: Examples:
"NXP LPC Series" "NXP LPC Series"
"Atmel SAM7 Series" "Atmel SAM7 Series"
======================================== ========================================
D) The actual part number on the package D) The actual part number on the package
@ -121,7 +121,7 @@ For example: A consumer GPS unit or a cellphone
ie: Olimex, LogicPD, Freescale(eval board) ie: Olimex, LogicPD, Freescale(eval board)
======================================== ========================================
(G) Identifying information on the board. (G) Identifying information on the board.
Not good: "iar red ST eval board" Not good: "iar red ST eval board"

View File

@ -32,7 +32,7 @@ in response to feedback.
Add yourself to the GPL copyright for non-trivial changes. Add yourself to the GPL copyright for non-trivial changes.
To create a patch from the command line: To create a patch from the command line:
@code @code
git diff >mypatch.txt git diff >mypatch.txt
@endcode @endcode

View File

@ -27,8 +27,8 @@ based JTAG debuggers.
http://sourceforge.net/projects/libusb-win32/ http://sourceforge.net/projects/libusb-win32/
You need to download the libusb-win32-device-bin-0.1.12.2.tar.gz You need to download the libusb-win32-device-bin-0.1.12.2.tar.gz
package. Extract this file into a temp directory. package. Extract this file into a temp directory.
Copy the file libusb-win32-device-bin-0.1.12.2\include\usb.h Copy the file libusb-win32-device-bin-0.1.12.2\include\usb.h
to your MinGW include directory. to your MinGW include directory.
@ -59,10 +59,10 @@ released source tarball or the git tree.
If you are using the git tree, the following are the instructions from If you are using the git tree, the following are the instructions from
README.mingw. You will need to have the cmake utility installed. README.mingw. You will need to have the cmake utility installed.
- Edit Toolchain-mingw32.cmake to point to the correct MinGW - Edit Toolchain-mingw32.cmake to point to the correct MinGW
installation. installation.
- Create a build directory like "mkdir build-win32", e.g in ../libftdi/ - Create a build directory like "mkdir build-win32", e.g in ../libftdi/
- cd into that directory and run - cd into that directory and run
"cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-mingw32.cmake .." "cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-mingw32.cmake .."
- Copy src/ftdi.h to your MinGW include directory. - Copy src/ftdi.h to your MinGW include directory.
- Copy build-win32/src/*.a to your MinGW lib directory. - Copy build-win32/src/*.a to your MinGW lib directory.

14
TODO
View File

@ -27,8 +27,8 @@ This section provides possible things to improve with OpenOCD's TCL support.
parameters. Currently variables assigned through one such parameter parameters. Currently variables assigned through one such parameter
command/script are unset before the next one is invoked. command/script are unset before the next one is invoked.
- Isolate all TCL command support: - Isolate all TCL command support:
- Pure C CLI implementations using --disable-builtin-tcl. - Pure C CLI implementations using --disable-builtin-tcl.
- Allow developers to build new dongles using OpenOCD's JTAG core. - Allow developers to build new dongles using OpenOCD's JTAG core.
- At first, provide only low-level JTAG support; target layer and - At first, provide only low-level JTAG support; target layer and
above rely heavily on scripting event mechanisms. above rely heavily on scripting event mechanisms.
@ -112,7 +112,7 @@ TCP/IP packets handled by the server.
@section thelistswd Serial Wire Debug @section thelistswd Serial Wire Debug
- implement Serial Wire Debug interface - implement Serial Wire Debug interface
@section thelistbs Boundary Scan Support @section thelistbs Boundary Scan Support
@ -163,7 +163,7 @@ https://lists.berlios.de/pipermail/openocd-development/2009-October/011506.html
use hardware stepping if available. use hardware stepping if available.
- mdb can return garbage data if read byte operation fails for - mdb can return garbage data if read byte operation fails for
a memory region(16 & 32 byte access modes may be supported). Is this a memory region(16 & 32 byte access modes may be supported). Is this
a bug in the .MX31 PDK init script? Try on i.MX31 PDK: a bug in the .MX31 PDK init script? Try on i.MX31 PDK:
mdw 0xb80005f0 0x8, mdh 0xb80005f0 0x10, mdb 0xb80005f0 0x20. mdb returns mdw 0xb80005f0 0x8, mdh 0xb80005f0 0x10, mdb 0xb80005f0 0x20. mdb returns
garabage. garabage.
- implement missing functionality (grep FNC_INFO_NOTIMPLEMENTED ...) - implement missing functionality (grep FNC_INFO_NOTIMPLEMENTED ...)
@ -197,8 +197,8 @@ https://lists.berlios.de/pipermail/openocd-development/2009-October/011506.html
@section thelistsvf SVF/XSVF @section thelistsvf SVF/XSVF
- develop SVF unit tests - develop SVF unit tests
- develop XSVF unit tests - develop XSVF unit tests
@section thelistflash Flash Support @section thelistflash Flash Support
@ -328,7 +328,7 @@ at the bottom of the list below. Example, on amd64:
from unaligned memory addresses from unaligned memory addresses
- libopenocd support: @par - libopenocd support: @par
https://lists.berlios.de/pipermail/openocd-development/2009-May/006405.html https://lists.berlios.de/pipermail/openocd-development/2009-May/006405.html
- review and clean up interface/target/flash APIs - review and clean up interface/target/flash APIs
The following strategic tasks will require ambition, knowledge, and time The following strategic tasks will require ambition, knowledge, and time
to complete: to complete:

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Run the autotools bootstrap sequence to create the configure script # Run the autotools bootstrap sequence to create the configure script
# Stop execution as soon as we have an unknown command # Stop execution as soon as we have an unknown command
set -e set -e
if libtoolize --version >/dev/null 2>&1; then if libtoolize --version >/dev/null 2>&1; then

View File

@ -559,7 +559,7 @@ case $host in
AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 hosts]) AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 hosts])
fi fi
parport_use_giveio=yes parport_use_giveio=yes
CFLAGS="$CFLAGS -D__USE_MINGW_ANSI_STDIO" CFLAGS="$CFLAGS -D__USE_MINGW_ANSI_STDIO"
AC_DEFINE(IS_MINGW, 1, [1 if building for MinGW.]) AC_DEFINE(IS_MINGW, 1, [1 if building for MinGW.])

View File

@ -55,7 +55,7 @@ static COMMAND_HELPER(handle_hello_args, const char **sep, const char **name)
@endcode @endcode
Of course, you may also call other macros or functions, but that extends Of course, you may also call other macros or functions, but that extends
beyond the scope of this tutorial on writing commands. beyond the scope of this tutorial on writing commands.
@section primercmdreg Command Registration @section primercmdreg Command Registration

View File

@ -399,7 +399,7 @@ affect its behavior:
@section releasetutorial Release Tutorials @section releasetutorial Release Tutorials
This section should contain a brief tutorial for using the Release This section should contain a brief tutorial for using the Release
Script to perform release tasks, but the new script needs to be Script to perform release tasks, but the new script needs to be
used for 0.3.0. used for 0.3.0.

View File

@ -320,6 +320,6 @@ openocd -s /usr/local/share/openocd -f httpd/httpd.tcl -f interface/dummy.cfg -f
Navigate to: http://localhost:8888/ Navigate to: http://localhost:8888/
*/ */

View File

@ -3757,14 +3757,14 @@ Use it in board specific configuration files, not interactively.
@comment the REAL name for this command is "ocd_flash_banks" @comment the REAL name for this command is "ocd_flash_banks"
@comment less confusing would be: "flash list" (like "nand list") @comment less confusing would be: "flash list" (like "nand list")
@deffn Command {flash banks} @deffn Command {flash banks}
Prints a one-line summary of each device that was Prints a one-line summary of each device that was
declared using @command{flash bank}, numbered from zero. declared using @command{flash bank}, numbered from zero.
Note that this is the @emph{plural} form; Note that this is the @emph{plural} form;
the @emph{singular} form is a very different command. the @emph{singular} form is a very different command.
@end deffn @end deffn
@deffn Command {flash list} @deffn Command {flash list}
Retrieves a list of associative arrays for each device that was Retrieves a list of associative arrays for each device that was
declared using @command{flash bank}, numbered from zero. declared using @command{flash bank}, numbered from zero.
This returned list can be manipulated easily from within scripts. This returned list can be manipulated easily from within scripts.
@end deffn @end deffn
@ -4914,28 +4914,28 @@ nand device $NANDFLASH at91sam9 $CHIPNAME 0x40000000 0xfffffe800
@end example @end example
AT91SAM9 chips support single-bit ECC hardware. The @code{write_page} and AT91SAM9 chips support single-bit ECC hardware. The @code{write_page} and
@code{read_page} methods are used to utilize the ECC hardware unless they are @code{read_page} methods are used to utilize the ECC hardware unless they are
disabled by using the @command{nand raw_access} command. There are four disabled by using the @command{nand raw_access} command. There are four
additional commands that are needed to fully configure the AT91SAM9 NAND additional commands that are needed to fully configure the AT91SAM9 NAND
controller. Two are optional; most boards use the same wiring for ALE/CLE: controller. Two are optional; most boards use the same wiring for ALE/CLE:
@deffn Command {at91sam9 cle} num addr_line @deffn Command {at91sam9 cle} num addr_line
Configure the address line used for latching commands. The @var{num} Configure the address line used for latching commands. The @var{num}
parameter is the value shown by @command{nand list}. parameter is the value shown by @command{nand list}.
@end deffn @end deffn
@deffn Command {at91sam9 ale} num addr_line @deffn Command {at91sam9 ale} num addr_line
Configure the address line used for latching addresses. The @var{num} Configure the address line used for latching addresses. The @var{num}
parameter is the value shown by @command{nand list}. parameter is the value shown by @command{nand list}.
@end deffn @end deffn
For the next two commands, it is assumed that the pins have already been For the next two commands, it is assumed that the pins have already been
properly configured for input or output. properly configured for input or output.
@deffn Command {at91sam9 rdy_busy} num pio_base_addr pin @deffn Command {at91sam9 rdy_busy} num pio_base_addr pin
Configure the RDY/nBUSY input from the NAND device. The @var{num} Configure the RDY/nBUSY input from the NAND device. The @var{num}
parameter is the value shown by @command{nand list}. @var{pio_base_addr} parameter is the value shown by @command{nand list}. @var{pio_base_addr}
is the base address of the PIO controller and @var{pin} is the pin number. is the base address of the PIO controller and @var{pin} is the pin number.
@end deffn @end deffn
@deffn Command {at91sam9 ce} num pio_base_addr pin @deffn Command {at91sam9 ce} num pio_base_addr pin
Configure the chip enable input to the NAND device. The @var{num} Configure the chip enable input to the NAND device. The @var{num}
parameter is the value shown by @command{nand list}. @var{pio_base_addr} parameter is the value shown by @command{nand list}. @var{pio_base_addr}
is the base address of the PIO controller and @var{pin} is the pin number. is the base address of the PIO controller and @var{pin} is the pin number.
@end deffn @end deffn
@end deffn @end deffn
@ -5824,7 +5824,7 @@ and using the MCR instruction.
an ARM register.) an ARM register.)
@end deffn @end deffn
@deffn Command {arm mrc} pX coproc op1 CRn CRm op2 @deffn Command {arm mrc} pX coproc op1 CRn CRm op2
Read a coprocessor @var{pX} register passing parameters @var{CRn}, Read a coprocessor @var{pX} register passing parameters @var{CRn},
@var{CRm}, opcodes @var{opc1} and @var{opc2}, @var{CRm}, opcodes @var{opc1} and @var{opc2},
and the MRC instruction. and the MRC instruction.
@ -5843,7 +5843,7 @@ core mode if necessary.
@cindex ARMv5 @cindex ARMv5
The ARMv4 and ARMv5 architectures are widely used in embedded systems, The ARMv4 and ARMv5 architectures are widely used in embedded systems,
and introduced core parts of the instruction set in use today. and introduced core parts of the instruction set in use today.
That includes the Thumb instruction set, introduced in the ARMv4T That includes the Thumb instruction set, introduced in the ARMv4T
variant. variant.

View File

@ -1,4 +1,4 @@
Some of these binaries are build & linked using eCos. Some of these binaries are build & linked using eCos.
For source for the flash drivers, see: For source for the flash drivers, see:

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]> <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/REC-html40" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/REC-html40" version="1.0">
<xsl:output method="html" version="4.0" indent="yes" encoding="UTF-8" <xsl:output method="html" version="4.0" indent="yes" encoding="UTF-8"
media-type="text/plain; charset=UTF-8"/> media-type="text/plain; charset=UTF-8"/>
<xsl:param name="pagetogenerate" select="UNDEFINED"/> <xsl:param name="pagetogenerate" select="UNDEFINED"/>
@ -16,17 +16,17 @@
<html> <html>
<head> <head>
<title>OpenOCD debugger</title> <title>OpenOCD debugger</title>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<link href="menuweb.css" rel="stylesheet" type="text/css"/> <link href="menuweb.css" rel="stylesheet" type="text/css"/>
</head> </head>
<tcl> <tcl>
set console "" set console ""
set upload_filename /ram/upload set upload_filename /ram/upload
</tcl> </tcl>
<body style="margin:0px;"> <body style="margin:0px;">
<div style="width:974px;height:85px;"> <div style="width:974px;height:85px;">
<div style="float:left;position:relative;left:32px;width:478px;"> <div style="float:left;position:relative;left:32px;width:478px;">
@ -92,17 +92,17 @@
</xsl:for-each> </xsl:for-each>
<tr> <tr>
<td style="width:140px;height:35px;background-image:url('menu_cuts/v_1.png')"> <td style="width:140px;height:35px;background-image:url('menu_cuts/v_1.png')">
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="width:140px;background-image:url('menu_cuts/v_2_tile.png')"> <td style="width:140px;background-image:url('menu_cuts/v_2_tile.png')">
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="width:140px;height:140px;background-image:url('menu_cuts/v_3.png')"> <td style="width:140px;height:140px;background-image:url('menu_cuts/v_3.png')">
</td> </td>
</tr> </tr>
</table> </table>
@ -142,96 +142,96 @@
</xsl:for-each> </xsl:for-each>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="6" style="height:30px;width:535px;background-image:url('menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;"> <td colspan="6" style="height:30px;width:535px;background-image:url('menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;">
<div style="width:500px;background-color:#ffffff;height:100%;"> <div style="width:500px;background-color:#ffffff;height:100%;">
&nbsp; &nbsp;
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="6" style="background-color:#ffffff;text-indent:30px;height:40px;"> <td colspan="6" style="background-color:#ffffff;text-indent:30px;height:40px;">
<H1><xsl:value-of select="pageheading"/></H1> <H1><xsl:value-of select="pageheading"/></H1>
</td> </td>
</tr> </tr>
<tr style="height:100%;"> <tr style="height:100%;">
<td colspan="6" style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;"> <td colspan="6" style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;">
<xsl:value-of disable-output-escaping="yes" select="pagetext/markup_code"/> <xsl:value-of disable-output-escaping="yes" select="pagetext/markup_code"/>
</td> </td>
</tr> </tr>
<tcl> <tcl>
<!-- This is the output from any OpenOCD commands --> <!-- This is the output from any OpenOCD commands -->
set toggle_details [formfetch toggle_details] set toggle_details [formfetch toggle_details]
if {[string length $toggle_details]==0} { if {[string length $toggle_details]==0} {
set toggle_details 0 set toggle_details 0
} }
set show_details [load_var show_details] set show_details [load_var show_details]
if {[string length $show_details]==0} { if {[string length $show_details]==0} {
set show_details 0 set show_details 0
} }
if {$toggle_details==1} { if {$toggle_details==1} {
set show_details [expr 1-$show_details] set show_details [expr 1-$show_details]
save_var show_details $show_details save_var show_details $show_details
} }
if {[string length $console]!=0} { if {[string length $console]!=0} {
</tcl> </tcl>
<tr style="height:100%;"> <tr style="height:100%;">
<td colspan="6" style="height:100%;background-color:red;"> <td colspan="6" style="height:100%;background-color:red;">
<table class="textgray" style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%"> <table class="textgray" style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%">
<td style="width:25px;">&nbsp;</td> <td style="width:25px;">&nbsp;</td>
<tcl> <tcl>
if {$show_details==1} { if {$show_details==1} {
append buffer <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text> append buffer <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text>
append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"}
append buffer <xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text> append buffer <xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
} else { } else {
append buffer <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text> append buffer <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text>
append buffer {td style="background-image:url('menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} append buffer {td style="background-image:url('menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"}
append buffer <xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text> append buffer <xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
} }
</tcl> </tcl>
<a class="openocd"> <a class="openocd">
<xsl:attribute name="href"><xsl:value-of select="$pagetogenerate"/>?toggle_details=1</xsl:attribute> <xsl:attribute name="href"><xsl:value-of select="$pagetogenerate"/>?toggle_details=1</xsl:attribute>
<tcl> <tcl>
if {$show_details==1} { if {$show_details==1} {
append buffer "Hide details" append buffer "Hide details"
append buffer <br/> append buffer <br/>
} else { } else {
append buffer {<div style="position:relative;top:7px;text-align:center;">} append buffer {<div style="position:relative;top:7px;text-align:center;">}
append buffer "Show details" append buffer "Show details"
append buffer {</div>} append buffer {</div>}
} }
</tcl> </tcl>
</a> </a>
<tcl> <tcl>
if {$show_details==1} { if {$show_details==1} {
append buffer $console append buffer $console
} }
</tcl> </tcl>
<xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text>/td<xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text> <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text>/td<xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
<tcl> <tcl>
if {$show_details!=1} { if {$show_details!=1} {
append buffer {<td>&nbsp;</td>} append buffer {<td>&nbsp;</td>}
} }
</tcl> </tcl>
<td style="width:25px;">&nbsp;</td> <td style="width:25px;">&nbsp;</td>
</table> </table>
</td> </td>
</tr> </tr>
<tcl> <tcl>
} }
</tcl> </tcl>
<tr> <tr>
<td colspan="6" style="height:30px;background-image:url('menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;"> <td colspan="6" style="height:30px;background-image:url('menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;">
<div style="width:500px;background-color:#ffffff;height:100%;"> <div style="width:500px;background-color:#ffffff;height:100%;">
&nbsp; &nbsp;
</div> </div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
<td style="width:6px;"> <td style="width:6px;">
</td> </td>
@ -240,56 +240,56 @@
<tr> <tr>
<td style="width:103px;height:29px;background-image:url('menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> <td style="width:103px;height:29px;background-image:url('menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;">
<div class="textgray" style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;"> <div class="textgray" style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;">
Documentation Documentation
</div> </div>
</td> </td>
<td width="40px"> <td width="40px">
&nbsp; &nbsp;
</td> </td>
<td> <td>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="3" style="height:10px;width:245px;background-image:url('menu_cuts/right_top_small.png');"></td> <td colspan="3" style="height:10px;width:245px;background-image:url('menu_cuts/right_top_small.png');"></td>
</tr> </tr>
<tr> <tr>
<td colspan="3" style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;"> <td colspan="3" style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;">
<a href="http://openocd.berlios.de/doc/openocd.pdf" target="_blank">OpenOCD Manual</a><br/> <a href="http://openocd.berlios.de/doc/openocd.pdf" target="_blank">OpenOCD Manual</a><br/>
</td> </td>
</tr> </tr>
<tr><td colspan="3" style="background-color:#d8d7d7;height:15px;"></td></tr> <tr><td colspan="3" style="background-color:#d8d7d7;height:15px;"></td></tr>
<tr> <tr>
<td colspan="3"> <td colspan="3">
<table style="padding:0px;border-collapse:collapse;"> <table style="padding:0px;border-collapse:collapse;">
<td style="background-color:#d8d7d7;width:10px;height:1px"></td> <td style="background-color:#d8d7d7;width:10px;height:1px"></td>
<td style="background-color:#999999;width:225px; height:1px;"></td> <td style="background-color:#999999;width:225px; height:1px;"></td>
<td style="background-color:#d8d7d7;width:10px;height:1px"></td> <td style="background-color:#d8d7d7;width:10px;height:1px"></td>
</table> </table>
</td> </td>
</tr> </tr>
<tr><td colspan="3" style="background-color:#d8d7d7;height:15px;"></td></tr> <tr><td colspan="3" style="background-color:#d8d7d7;height:15px;"></td></tr>
<tr style="height:100%;"> <tr style="height:100%;">
<td class="textgray" colspan="3" style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;"> <td class="textgray" colspan="3" style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;">
<xsl:choose> <xsl:choose>
<xsl:when test="(pagetext/right_column)"> <xsl:when test="(pagetext/right_column)">
<xsl:value-of disable-output-escaping="yes" select="pagetext/right_column"/> <xsl:value-of disable-output-escaping="yes" select="pagetext/right_column"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="3" style="height:30px;background-image:url('menu_cuts/right_bottom.png');"> <td colspan="3" style="height:30px;background-image:url('menu_cuts/right_bottom.png');">
&nbsp; &nbsp;
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View File

@ -70,7 +70,7 @@ body
font-size: 12px; font-size: 12px;
line-height: 15px; line-height: 15px;
color : #024d67; color : #024d67;
} }
h1 h1
@ -86,7 +86,7 @@ td
{ {
padding: 0px; padding: 0px;
font-size: 12px; font-size: 12px;
vertical-align:top; vertical-align:top;
} }
@ -95,7 +95,7 @@ td
color: #cccccc; color: #cccccc;
padding: 0px; padding: 0px;
font-size: 12px; font-size: 12px;
vertical-align:top; vertical-align:top;
} }

View File

@ -7,7 +7,7 @@ tcl with embedded html.
sh build.sh sh build.sh
xalan.jar can be gotten from apache.org. xalan.jar can be gotten from apache.org.
2. libmicrohttpd is a bit tricky to build under Cygwin: 2. libmicrohttpd is a bit tricky to build under Cygwin:

View File

@ -1,4 +1,3 @@
Here you'll find a simple example tested with PIC32 Starter kit (source code and .elf file). It will blink repeatedly the LEDs on the board. Here you'll find a simple example tested with PIC32 Starter kit (source code and .elf file). It will blink repeatedly the LEDs on the board.
The program was compiled and written on the target using MPLAB IDE v 8.0 that comes with the kit because openocd is missing currently the ability The program was compiled and written on the target using MPLAB IDE v 8.0 that comes with the kit because openocd is missing currently the ability
to program the flash for this specific target. It is possible in the future this limitation to be removed. to program the flash for this specific target. It is possible in the future this limitation to be removed.

View File

@ -7,7 +7,7 @@
A release test must be done on code committed to git. A release test must be done on code committed to git.
Commit, then test. That way one can know for sure *what* code was actually tested. Commit, then test. That way one can know for sure *what* code was actually tested.
<p> <p>
Note that this testing document does not have anything to do with testing that is done Note that this testing document does not have anything to do with testing that is done
before committing to git. It is a test document for released code. Pre-commit testing before committing to git. It is a test document for released code. Pre-commit testing
is done mostly by the developer who has written the change. Sometimes code is committed 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 to synchronize work, even if it has known problems. Release testing is
@ -16,7 +16,7 @@
and test setup. Also the testing will take place over an extended period of time. and test setup. Also the testing will take place over an extended period of time.
<p> <p>
All of the above makes it imperative that there can be no doubt about *which* code 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. is tested and thus all tests refer to committed code by subversion number.
<h1>Release procedure</h1> <h1>Release procedure</h1>
OpenOCD mainline is work in progress. OpenOCD mainline is work in progress.
Expect it to change daily and to have some quirks. Expect it to change daily and to have some quirks.
@ -35,7 +35,7 @@
<h2>Test cases</h2> <h2>Test cases</h2>
Additionally OpenOCD has test cases that target specific functionality more precisely. Additionally OpenOCD has test cases that target specific functionality more precisely.
<p> <p>
A full release test must include both smoketests and unit testing. A full release test must include both smoketests and unit testing.
<p> <p>
<a href="testcases.html">Test cases</a> <a href="testcases.html">Test cases</a>
</body> </body>

View File

@ -33,7 +33,7 @@ set before [flush_count]
flash fillb 0x8000000 0x55 0x10000 flash fillb 0x8000000 0x55 0x10000
set flash_fill_count [expr [flush_count]-$before] set flash_fill_count [expr [flush_count]-$before]
puts "counts" ; puts "step $step_count" ; puts "mem $mem_count" ; puts "erase $erase_count" ; puts "flash fill $flash_fill_count" puts "counts" ; puts "step $step_count" ; puts "mem $mem_count" ; puts "erase $erase_count" ; puts "flash fill $flash_fill_count"
parport trunk rev 1675 parport trunk rev 1675
====================== ======================

View File

@ -183,7 +183,7 @@
<hr> <hr>
<h1>OpenOCD JTAG device test results</h1> <h1>OpenOCD JTAG device test results</h1>
Each JTAG device must be tested Each JTAG device must be tested
<table border="1"> <table border="1">
<tr> <tr>
<th align="center" width="40">ID</th> <th align="center" width="40">ID</th>

View File

@ -12,7 +12,7 @@ each subversion number.
<tr><td>Test results</td><td>comment</td></tr> <tr><td>Test results</td><td>comment</td></tr>
<tr><td><a href="examples/SAM7S256Test/results/607.html">SAM7 R607</a></td><td>PASS</td></tr> <tr><td><a href="examples/SAM7S256Test/results/607.html">SAM7 R607</a></td><td>PASS</td></tr>
<tr><td><a href="examples/STR710Test/results/607.html">STR710 R607</a></td><td>PASS</td></tr> <tr><td><a href="examples/STR710Test/results/607.html">STR710 R607</a></td><td>PASS</td></tr>
<tr><td><a href="results/template.html">template</a></td><td>Test results template</td></tr> <tr><td><a href="results/template.html">template</a></td><td>Test results template</td></tr>
</table> </table>