openocd.git
10 years agoInclude project doxygen configuration with distribution tarballs.
zwelch [Tue, 12 May 2009 08:56:22 +0000 (08:56 +0000)]
Include project doxygen configuration with distribution tarballs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1762 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and remove redundant uses of replacements.h in the tree.
zwelch [Tue, 12 May 2009 08:35:17 +0000 (08:35 +0000)]
Audit and remove redundant uses of replacements.h in the tree.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1761 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMake replacements.h private by including it from config.h autoheader.
zwelch [Tue, 12 May 2009 08:33:18 +0000 (08:33 +0000)]
Make replacements.h private by including it from config.h autoheader.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1760 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMake system.h private by including it from config.h autoheader.
zwelch [Tue, 12 May 2009 08:24:47 +0000 (08:24 +0000)]
Make system.h private by including it from config.h autoheader.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1759 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and reduce #include directives in jim source files.
zwelch [Tue, 12 May 2009 07:44:57 +0000 (07:44 +0000)]
Audit and reduce #include directives in jim source files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoDefine _GNU_SOURCE in config.h, remove definitions from source files.
zwelch [Tue, 12 May 2009 07:35:00 +0000 (07:35 +0000)]
Define _GNU_SOURCE in config.h, remove definitions from source files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1757 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRemove config.h from types.h; all .c files are required to include it.
zwelch [Tue, 12 May 2009 07:22:07 +0000 (07:22 +0000)]
Remove config.h from types.h; all .c files are required to include it.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1756 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoInclude config.h in pregenerated rlink_speed_table.c source.
zwelch [Tue, 12 May 2009 07:13:12 +0000 (07:13 +0000)]
Include config.h in pregenerated rlink_speed_table.c source.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1755 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoUpdate rlink_make_speed_table.pl script to add config.h to its output.
zwelch [Tue, 12 May 2009 07:12:10 +0000 (07:12 +0000)]
Update rlink_make_speed_table.pl script to add config.h to its output.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1754 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix memory corruption introduce in 1730
oharboe [Tue, 12 May 2009 07:03:50 +0000 (07:03 +0000)]
fix memory corruption introduce in 1730

git-svn-id: svn://svn.berlios.de/openocd/trunk@1753 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoadded jtag_alloc_in_value32 - not used in this commit.
oharboe [Tue, 12 May 2009 06:59:21 +0000 (06:59 +0000)]
added jtag_alloc_in_value32 - not used in this commit.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1752 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix ancient bug & SEGFAULT in irscan
oharboe [Tue, 12 May 2009 06:17:22 +0000 (06:17 +0000)]
fix ancient bug & SEGFAULT in irscan

git-svn-id: svn://svn.berlios.de/openocd/trunk@1751 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoInclude assert.h in system.h to promote tree-wide use of assertions.
zwelch [Tue, 12 May 2009 04:52:15 +0000 (04:52 +0000)]
Include assert.h in system.h to promote tree-wide use of assertions.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRemove duplicate definition of encode in httpd.tcl.
zwelch [Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)]
Remove duplicate definition of encode in httpd.tcl.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agonow builds on 64 and 32 bit systems
oharboe [Mon, 11 May 2009 21:05:51 +0000 (21:05 +0000)]
now builds on 64 and 32 bit systems

git-svn-id: svn://svn.berlios.de/openocd/trunk@1748 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix jtag_add_dr_scan() usage a bit... avoid lots of malloc()'s.
oharboe [Mon, 11 May 2009 12:03:40 +0000 (12:03 +0000)]
fix jtag_add_dr_scan() usage a bit... avoid lots of malloc()'s.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1746 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoUpdate jim helper files to use proper configure script support:
zwelch [Mon, 11 May 2009 11:20:45 +0000 (11:20 +0000)]
Update jim helper files to use proper configure script support:
- configure.in: Add AC_TYPE_LONG_LONG_INT to detect 'long long int' support.
- configure.in: Add AC_C_CONST to provide equivalent support as jim.h.
- jim*.c: include config.h when HAVE_CONFIG_H is defined.
- jim*.{h,c}: use HAVE_LONG_LONG_INT definition from config.h.
- jim.h: Remove hard-coded const and HAVE_LONG_LONG definitions.
- jim.h: -DJIM_NO_CONST has been obsoleted; -Dconst is equivalent.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1744 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix USB performance regression for verify_ircapture
oharboe [Mon, 11 May 2009 10:10:11 +0000 (10:10 +0000)]
fix USB performance regression for verify_ircapture

git-svn-id: svn://svn.berlios.de/openocd/trunk@1743 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoUSB performance regression fix
oharboe [Mon, 11 May 2009 09:43:50 +0000 (09:43 +0000)]
USB performance regression fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1742 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoretire jtag_add_dr_scan_now
oharboe [Mon, 11 May 2009 09:36:55 +0000 (09:36 +0000)]
retire jtag_add_dr_scan_now

git-svn-id: svn://svn.berlios.de/openocd/trunk@1741 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_dr_scan() from the synchronous version - USB performance fix
oharboe [Mon, 11 May 2009 09:18:02 +0000 (09:18 +0000)]
switch to jtag_add_dr_scan() from the synchronous version - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1740 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:14:47 +0000 (09:14 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1739 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:12:32 +0000 (09:12 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1738 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:10:03 +0000 (09:10 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1737 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agochange jtag_add_callback API to be able to support check_value/mask
oharboe [Mon, 11 May 2009 08:39:49 +0000 (08:39 +0000)]
change jtag_add_callback API to be able to support check_value/mask

git-svn-id: svn://svn.berlios.de/openocd/trunk@1735 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFix ft2232 for CygWin, provided by Michael Bruck <mbruck@digenius.de>.
zwelch [Mon, 11 May 2009 08:26:42 +0000 (08:26 +0000)]
Fix ft2232 for CygWin, provided by Michael Bruck <mbruck@digenius.de>.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1734 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:48:26 +0000 (07:48 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1733 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:47:53 +0000 (07:47 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1732 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:47:21 +0000 (07:47 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1731 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:40:42 +0000 (07:40 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1730 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:39:36 +0000 (07:39 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1729 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:38:10 +0000 (07:38 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1728 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:36:16 +0000 (07:36 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1727 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:35:05 +0000 (07:35 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1726 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:33:43 +0000 (07:33 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1725 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:26:59 +0000 (07:26 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1724 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoleave eCos include file issues alone for now.
oharboe [Mon, 11 May 2009 07:26:11 +0000 (07:26 +0000)]
leave eCos include file issues alone for now.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1723 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAdd svn:eol-style property to recently added system.h.
zwelch [Mon, 11 May 2009 07:04:25 +0000 (07:04 +0000)]
Add svn:eol-style property to recently added system.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1722 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoused by upcoming commits
oharboe [Mon, 11 May 2009 06:55:00 +0000 (06:55 +0000)]
used by upcoming commits

git-svn-id: svn://svn.berlios.de/openocd/trunk@1721 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoadd to svn ignore
oharboe [Mon, 11 May 2009 06:54:00 +0000 (06:54 +0000)]
add to svn ignore

git-svn-id: svn://svn.berlios.de/openocd/trunk@1720 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoUpdate Doxyfile configuration for doxygen 1.5.8:
zwelch [Mon, 11 May 2009 06:32:59 +0000 (06:32 +0000)]
Update Doxyfile configuration for doxygen 1.5.8:
- Enable doxygen's C language optimizations.
- Use dot command (from graphviz package) to generate visual graphs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1719 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMark API layering violations in the helper module with @todo notes.
zwelch [Mon, 11 May 2009 05:50:21 +0000 (05:50 +0000)]
Mark API layering violations in the helper module with @todo notes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1718 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRemove redundant config.h from replacements.h, obtained from types.h.
zwelch [Mon, 11 May 2009 05:33:39 +0000 (05:33 +0000)]
Remove redundant config.h from replacements.h, obtained from types.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1717 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in main src/ files.
zwelch [Mon, 11 May 2009 05:00:17 +0000 (05:00 +0000)]
Audit and eliminate redundant #include directives in main src/ files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1716 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in other target files.
zwelch [Mon, 11 May 2009 04:56:37 +0000 (04:56 +0000)]
Audit and eliminate redundant #include directives in other target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1715 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in arm target files.
zwelch [Mon, 11 May 2009 04:46:21 +0000 (04:46 +0000)]
Audit and eliminate redundant #include directives in arm target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1714 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in core target files.
zwelch [Mon, 11 May 2009 04:38:18 +0000 (04:38 +0000)]
Audit and eliminate redundant #include directives in core target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1713 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in src/flash sources.
zwelch [Mon, 11 May 2009 04:30:41 +0000 (04:30 +0000)]
Audit and eliminate redundant #include directives in src/flash sources.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1712 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in src/flash headers.
zwelch [Mon, 11 May 2009 04:28:24 +0000 (04:28 +0000)]
Audit and eliminate redundant #include directives in src/flash headers.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1711 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives in src/{pld,svf,xsvf}.
zwelch [Mon, 11 May 2009 04:25:09 +0000 (04:25 +0000)]
Audit and eliminate redundant #include directives in src/{pld,svf,xsvf}.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1710 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives from src/server.
zwelch [Mon, 11 May 2009 04:22:15 +0000 (04:22 +0000)]
Audit and eliminate redundant #include directives from src/server.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1709 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFix compilation of target_request.h when it is included first.
zwelch [Mon, 11 May 2009 04:21:24 +0000 (04:21 +0000)]
Fix compilation of target_request.h when it is included first.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1708 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant #include directives from src/jtag.
zwelch [Mon, 11 May 2009 04:04:58 +0000 (04:04 +0000)]
Audit and eliminate redundant #include directives from src/jtag.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1707 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAudit and eliminate redundant helper #include directives.
zwelch [Mon, 11 May 2009 03:59:02 +0000 (03:59 +0000)]
Audit and eliminate redundant helper #include directives.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1706 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoSimplify #include directives in ioutil.c, use new header checks.
zwelch [Mon, 11 May 2009 03:48:32 +0000 (03:48 +0000)]
Simplify #include directives in ioutil.c, use new header checks.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1705 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAdd remaining header checks to be used in subsequent patches.
zwelch [Mon, 11 May 2009 03:47:56 +0000 (03:47 +0000)]
Add remaining header checks to be used in subsequent patches.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1704 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAdd --enable-malloc-logging configure option and update log.c to match.
zwelch [Mon, 11 May 2009 03:35:25 +0000 (03:35 +0000)]
Add --enable-malloc-logging configure option and update log.c to match.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1703 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFactor system #includes out of replacements.h into new system.h.
zwelch [Mon, 11 May 2009 02:52:00 +0000 (02:52 +0000)]
Factor system #includes out of replacements.h into new system.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1702 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFinish portability support for AC_HEADER_STDBOOL configure macro.
zwelch [Mon, 11 May 2009 02:29:53 +0000 (02:29 +0000)]
Finish portability support for AC_HEADER_STDBOOL configure macro.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1701 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRemove redundant sys/types.h #include directives (now in types.h).
zwelch [Mon, 11 May 2009 02:27:16 +0000 (02:27 +0000)]
Remove redundant sys/types.h #include directives (now in types.h).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAdd configure check for sys/types.h; include in our types.h.
zwelch [Mon, 11 May 2009 02:24:58 +0000 (02:24 +0000)]
Add configure check for sys/types.h; include in our types.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1699 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoAdd AC_HEADER_ASSERT macro to configure; provides --disable-assert option.
zwelch [Mon, 11 May 2009 00:57:19 +0000 (00:57 +0000)]
Add AC_HEADER_ASSERT macro to configure; provides --disable-assert option.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1698 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoUse AC_HEADER_STDBOOL macro instead of AC_CHEACK_HEADERS(stdbool.h).
zwelch [Mon, 11 May 2009 00:49:51 +0000 (00:49 +0000)]
Use AC_HEADER_STDBOOL macro instead of AC_CHEACK_HEADERS(stdbool.h).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1697 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoOpenOCD now requires autoconf 2.60 to process AC_PROG_CC_C99 macro.
zwelch [Mon, 11 May 2009 00:44:59 +0000 (00:44 +0000)]
OpenOCD now requires autoconf 2.60 to process AC_PROG_CC_C99 macro.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1696 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoExtend autotools build to create shared library libopenocd with libtool:
zwelch [Sun, 10 May 2009 22:03:57 +0000 (22:03 +0000)]
Extend autotools build to create shared library libopenocd with libtool:
- Add libtoolize step too bootstrap script; creates ltmain.sh script.
- Add AC_PROG_LIBTOOL to configure.in to add libtool support to build.
- Change Makefile.am library rules from static (_a) to libtool (_la).
- Install libopenocd.{la,so,a} in $(libdir); update openocd link rules.
- Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove ltmain.sh.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1695 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoReverse revision 1691: all of its functionality has migrated elsewhere.
zwelch [Sun, 10 May 2009 21:33:53 +0000 (21:33 +0000)]
Reverse revision 1691: all of its functionality has migrated elsewhere.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1694 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoExtend configure script to check for environ declaration in stdlib.h.
zwelch [Sun, 10 May 2009 20:10:11 +0000 (20:10 +0000)]
Extend configure script to check for environ declaration in stdlib.h.

Patch contributed by Martin Thomas <mthomas@rhrk.uni-kl.de>.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1693 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoWrote up post processing JTAG API. Not used yet, but reference implementation will...
oharboe [Sun, 10 May 2009 19:48:09 +0000 (19:48 +0000)]
Wrote up post processing JTAG API. Not used yet, but reference implementation will be used in subsequent explanations of new scheme + patches to use it.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1692 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRevive tclapi.c from r1650:
zwelch [Sun, 10 May 2009 19:44:38 +0000 (19:44 +0000)]
Revive tclapi.c from r1650:
* Remove superfluous #include directives.
* Fix warnings and API usage to cure its bit rot.
* Build into libhelper library (for now).
Add tclapi.h to export tclapi_register_commands().
Register tclapi commands in openocd.c:setup_command_handler().

git-svn-id: svn://svn.berlios.de/openocd/trunk@1691 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoDavid Brownell <david-b@pacbell.net> whitespace fixes.
oharboe [Sun, 10 May 2009 19:02:07 +0000 (19:02 +0000)]
David Brownell <david-b@pacbell.net> whitespace fixes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1690 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoDavid Brownell <david-b@pacbell.net> whitespace fixes. Testing out on one file first...
oharboe [Sun, 10 May 2009 19:01:03 +0000 (19:01 +0000)]
David Brownell <david-b@pacbell.net> whitespace fixes. Testing out on one file first...

git-svn-id: svn://svn.berlios.de/openocd/trunk@1689 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoDavid Brownell <david-b@pacbell.net> fix warnings
oharboe [Sun, 10 May 2009 18:01:50 +0000 (18:01 +0000)]
David Brownell <david-b@pacbell.net> fix warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@1688 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMichael Bruck <mbruck@digenius.de> use more const
oharboe [Sun, 10 May 2009 12:55:16 +0000 (12:55 +0000)]
Michael Bruck <mbruck@digenius.de> use more const

git-svn-id: svn://svn.berlios.de/openocd/trunk@1687 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMichael Bruck <mbruck@digenius.de> use more const
oharboe [Sat, 9 May 2009 09:30:00 +0000 (09:30 +0000)]
Michael Bruck <mbruck@digenius.de> use more const

git-svn-id: svn://svn.berlios.de/openocd/trunk@1686 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMichael Bruck <mbruck@digenius.de> ARM11 C99 updates
oharboe [Sat, 9 May 2009 07:36:19 +0000 (07:36 +0000)]
Michael Bruck <mbruck@digenius.de> ARM11 C99 updates

git-svn-id: svn://svn.berlios.de/openocd/trunk@1685 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agowhitespace fixes
oharboe [Fri, 8 May 2009 21:03:28 +0000 (21:03 +0000)]
whitespace fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@1684 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoplugged bug w/irlen > 32 introduce in 1672
oharboe [Fri, 8 May 2009 20:48:28 +0000 (20:48 +0000)]
plugged bug w/irlen > 32 introduce in 1672

git-svn-id: svn://svn.berlios.de/openocd/trunk@1683 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agowhitespace fixes
oharboe [Fri, 8 May 2009 20:44:52 +0000 (20:44 +0000)]
whitespace fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@1682 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoDavid Brownell <david-b@pacbell.net> DaVinci dm6446
oharboe [Fri, 8 May 2009 20:27:19 +0000 (20:27 +0000)]
David Brownell <david-b@pacbell.net> DaVinci dm6446

git-svn-id: svn://svn.berlios.de/openocd/trunk@1680 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agosync up zy1000 interface to bitbang driver's handling of exiting the shift state
oharboe [Fri, 8 May 2009 19:24:40 +0000 (19:24 +0000)]
sync up zy1000 interface to bitbang driver's handling of exiting the shift state

git-svn-id: svn://svn.berlios.de/openocd/trunk@1679 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoMichael Fischer <fischermi@t-online.de> fix compile problems on Mac
oharboe [Fri, 8 May 2009 18:54:59 +0000 (18:54 +0000)]
Michael Fischer <fischermi@t-online.de> fix compile problems on Mac

git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix gaffe in 1672
oharboe [Fri, 8 May 2009 18:12:43 +0000 (18:12 +0000)]
fix gaffe in 1672

git-svn-id: svn://svn.berlios.de/openocd/trunk@1677 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agostm32 profiling wip
oharboe [Fri, 8 May 2009 13:30:45 +0000 (13:30 +0000)]
stm32 profiling wip

git-svn-id: svn://svn.berlios.de/openocd/trunk@1676 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoprofiling numbers
oharboe [Fri, 8 May 2009 12:26:50 +0000 (12:26 +0000)]
profiling numbers

git-svn-id: svn://svn.berlios.de/openocd/trunk@1675 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoadd flush_count jtag queue profiling feature
oharboe [Fri, 8 May 2009 11:46:01 +0000 (11:46 +0000)]
add flush_count jtag queue profiling feature

git-svn-id: svn://svn.berlios.de/openocd/trunk@1674 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix (old?) bug in jtag_add_ir_scan()
oharboe [Fri, 8 May 2009 11:18:41 +0000 (11:18 +0000)]
fix (old?) bug in jtag_add_ir_scan()

git-svn-id: svn://svn.berlios.de/openocd/trunk@1673 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoin_handler in_check_mask and in_check_value now removed from field. Last big patch...
oharboe [Fri, 8 May 2009 09:48:00 +0000 (09:48 +0000)]
in_handler in_check_mask and in_check_value now removed from field. Last big patch in the series of JTAG API cleanup.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1672 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofix one gaffe in previous commit.
oharboe [Fri, 8 May 2009 09:37:25 +0000 (09:37 +0000)]
fix one gaffe in previous commit.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1671 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agouse assert instead of adding code that always runs
oharboe [Fri, 8 May 2009 08:49:24 +0000 (08:49 +0000)]
use assert instead of adding code that always runs

git-svn-id: svn://svn.berlios.de/openocd/trunk@1670 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agopull up verify_capture_ir one level in api stack
oharboe [Fri, 8 May 2009 08:46:28 +0000 (08:46 +0000)]
pull up verify_capture_ir one level in api stack

git-svn-id: svn://svn.berlios.de/openocd/trunk@1669 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoretire jtag_set_check_value
oharboe [Fri, 8 May 2009 07:28:00 +0000 (07:28 +0000)]
retire jtag_set_check_value

git-svn-id: svn://svn.berlios.de/openocd/trunk@1668 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoretire jtag_set_check_value
oharboe [Fri, 8 May 2009 07:22:31 +0000 (07:22 +0000)]
retire jtag_set_check_value

git-svn-id: svn://svn.berlios.de/openocd/trunk@1667 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoretire jtag_set_check_value
oharboe [Fri, 8 May 2009 07:14:23 +0000 (07:14 +0000)]
retire jtag_set_check_value

git-svn-id: svn://svn.berlios.de/openocd/trunk@1666 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoretire jtag_set_check_value
oharboe [Fri, 8 May 2009 07:09:32 +0000 (07:09 +0000)]
retire jtag_set_check_value

git-svn-id: svn://svn.berlios.de/openocd/trunk@1665 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agofirst jtag_check_value_mask usage. tested by using "arm7_9 fast_memory_access enable...
oharboe [Fri, 8 May 2009 06:45:27 +0000 (06:45 +0000)]
first jtag_check_value_mask usage. tested by using "arm7_9 fast_memory_access enable" & "mdw 0 0x10"

git-svn-id: svn://svn.berlios.de/openocd/trunk@1664 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoadded comments w.r.t. potential performance problems
oharboe [Fri, 8 May 2009 06:14:08 +0000 (06:14 +0000)]
added comments w.r.t. potential performance problems

git-svn-id: svn://svn.berlios.de/openocd/trunk@1663 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFix typo from hurrying the last commit. Nothing to see here.
zwelch [Fri, 8 May 2009 05:33:08 +0000 (05:33 +0000)]
Fix typo from hurrying the last commit.  Nothing to see here.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1662 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFix loadFile to return file length once again.
zwelch [Fri, 8 May 2009 05:30:37 +0000 (05:30 +0000)]
Fix loadFile to return file length once again.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1661 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoRe-order and extend header file tests in configure script.
zwelch [Fri, 8 May 2009 04:59:05 +0000 (04:59 +0000)]
Re-order and extend header file tests in configure script.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1660 b42882b7-edfa-0310-969c-e2dbd0fdcd60

10 years agoFix warnings in httpd.c; builds with libmicrohttpd-0.4.1.
zwelch [Fri, 8 May 2009 04:49:27 +0000 (04:49 +0000)]
Fix warnings in httpd.c; builds with libmicrohttpd-0.4.1.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1659 b42882b7-edfa-0310-969c-e2dbd0fdcd60