fw/openocd
15 years agodelete unused code
oharboe [Thu, 21 May 2009 17:44:04 +0000 (17:44 +0000)]
delete unused code

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

15 years agofix warning. Use %p for pointers
oharboe [Thu, 21 May 2009 17:42:19 +0000 (17:42 +0000)]
fix warning. Use %p for pointers

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 17:20:05 +0000 (17:20 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    -jtag.c, interface_jtag_add_ir_scan() [2/2] (version without goto):
     - change 'found' to bool
     - add comments on loops

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

15 years agoDirk Behme <dirk.behme@googlemail.com> Minor updates for OMAP3 scripts
oharboe [Thu, 21 May 2009 16:15:41 +0000 (16:15 +0000)]
Dirk Behme <dirk.behme@googlemail.com> Minor updates for OMAP3 scripts

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

15 years agoAdditional format warning fixes in ioutil, required by r1873 changes.
zwelch [Thu, 21 May 2009 09:49:19 +0000 (09:49 +0000)]
Additional format warning fixes in ioutil, required by r1873 changes.

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

15 years agoDavid Brownell <david-b@pacbell.net>: This patch adds annotations to
zwelch [Thu, 21 May 2009 09:28:57 +0000 (09:28 +0000)]
David Brownell <david-b@pacbell.net>:  This patch adds annotations to
the key command_*() helper functions, fixng the bugs that turned up.

Several of these bugs were from misuse of PRIi64; that's for 64-bit
integers, NOT for "long long" or "u64" (which work best with %lld).

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

15 years agoAuthor: David Brownell <david-b@pacbell.net>
kc8apf [Thu, 21 May 2009 05:46:29 +0000 (05:46 +0000)]
Author: David Brownell <david-b@pacbell.net>
- Update PATCHES to better describe the policies in place

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

15 years agoAuthor: Thomas Kindler <mail@t-kindler.de>
kc8apf [Thu, 21 May 2009 05:33:36 +0000 (05:33 +0000)]
Author: Thomas Kindler <mail@t-kindler.de>
- Increase DTC status retry count to avoid problems with STM Primer

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

15 years agoAuthor: Øyvind Harboe <oyvind.harboe@zylin.com>
kc8apf [Thu, 21 May 2009 05:12:32 +0000 (05:12 +0000)]
Author: Øyvind Harboe <oyvind.harboe@zylin.com>
- Allow target_read/write_buffer of size 0

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

15 years agoAuthor: Holger Schurig <hs4233@mail.mn-solutions.de>
kc8apf [Thu, 21 May 2009 05:07:06 +0000 (05:07 +0000)]
Author: Holger Schurig <hs4233@mail.mn-solutions.de>
-Prevent freezing of target when doing a 'shutdown'.

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:54:38 +0000 (04:54 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    -jtag.c, interface_jtag_add_ir_scan() [1/2]:
     - remove temporary scan_size and use tap->ir_length instead
     - slight loop restructuring to reduce indentation level

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:53:07 +0000 (04:53 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
   -jtag.c, interface_jtag_add_dr_out():
        - use pointer 'field' instead of scan->fields[field_count]
        - restructure the main loop to clearly separate the two cases: TAP is not bypassed / TAP is bypassed
          (this is to keep the function similar to interface_jtag_add_dr_scan())
        - fix bug where only the first output field has its tap field set
        - add asserts to verify that target_tap points to the one not bypassed TAP

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:50:00 +0000 (04:50 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    -jtag.c, interface_jtag_add_dr_scan():
            - use pointer 'field' instead of scan->fields[field_count]
            - restructure the main loop to clearly separate the two cases: TAP is not bypassed / TAP is bypassed
            - add an assert that each non-bypassed TAP receives at least one field
            - add an assert that checks that no superfluous input fields were passed

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:48:15 +0000 (04:48 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    -jtag.c, interface_jtag_add_ir_scan():
        - use pointer 'field' instead of scan->fields[nth_tap]
        - add assertion to ensure that input data has correct size for TAP's IR

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:45:57 +0000 (04:45 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - jtag.c: consolidate output scan field initialization in scan functions
    - jtag.c: add cmd_queue_scan_field_clone() to handle 1:1 field copies
    - jtag.c: fix bug where only the first output field in a dr scan has its tap field set

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:43:48 +0000 (04:43 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - jtag.c: remove unused variable 'nth_tap' from DR scan functions

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:43:01 +0000 (04:43 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - jtag.c: Use single 'for' statement to iterate over list of TAPs in scan functions

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:41:50 +0000 (04:41 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - jtag.c: consolidate all memory allocations in scan functions in one block, add out_fields pointer to set stage for further changes

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:39:41 +0000 (04:39 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - add 'const' qualifier to function parameters in jtag.c that are not to be modified or freed by the function

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Thu, 21 May 2009 04:37:31 +0000 (04:37 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - add doxygen comments to scan commands in jtag.c
    - move jtag_add_dr_scan next to interface_jtag_add_dr_scan to keep these function pairs together

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

15 years agoAdd 'docs' and 'doxygen' targets to top-level Makefile.
zwelch [Wed, 20 May 2009 20:52:14 +0000 (20:52 +0000)]
Add 'docs' and 'doxygen' targets to top-level Makefile.

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

15 years agoAdd initial OpenOCD server documentation (Duane Ellis and myself).
zwelch [Wed, 20 May 2009 09:01:01 +0000 (09:01 +0000)]
Add initial OpenOCD server documentation (Duane Ellis and myself).

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

15 years agoAdd new TCL Primer under the main Technical Primer page.
zwelch [Wed, 20 May 2009 08:58:09 +0000 (08:58 +0000)]
Add new TCL Primer under the main Technical Primer page.

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

15 years agoMove TCL overview from source tree to doxygen manual.
zwelch [Wed, 20 May 2009 08:48:19 +0000 (08:48 +0000)]
Move TCL overview from source tree to doxygen manual.

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

15 years agoFix doc/Makefile.am dist-hook to include all sections of manual.
zwelch [Wed, 20 May 2009 08:44:37 +0000 (08:44 +0000)]
Fix doc/Makefile.am dist-hook to include all sections of manual.

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

15 years agoMove non-arm target overview from source tree to doxygen manual.
zwelch [Wed, 20 May 2009 08:43:18 +0000 (08:43 +0000)]
Move non-arm target overview from source tree to doxygen manual.

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

15 years agoMove scripting overview from source tree to doxygen manual.
zwelch [Wed, 20 May 2009 08:16:50 +0000 (08:16 +0000)]
Move scripting overview from source tree to doxygen manual.

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

15 years agoSpencer Oliver <spen@spen-soft.co.uk> use 7 tms out of reset
oharboe [Wed, 20 May 2009 06:18:40 +0000 (06:18 +0000)]
Spencer Oliver <spen@spen-soft.co.uk> use 7 tms out of reset

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

15 years agoAuthor: Spencer Oliver <spen@spen-soft.co.uk>
kc8apf [Wed, 20 May 2009 05:07:34 +0000 (05:07 +0000)]
Author: Spencer Oliver <spen@spen-soft.co.uk>
- Bring the mips step/resume interrupt handling inline with the
rest of openocd.

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:55:01 +0000 (04:55 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - simplify code in interface_jtag_add_plain_dr_scan() by adding a local variable 'scan' to hold the scan_command_t

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:54:15 +0000 (04:54 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - move scan_size in interface_jtag_add_dr_out() into the scope of the inner loop and change it to unsigned
    - move loop variable j into for scope

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:53:34 +0000 (04:53 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - simplify code in interface_jtag_add_dr_out() by adding a local variable 'scan' to hold the scan_command_t

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:53:00 +0000 (04:53 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - move scan_size in interface_jtag_add_dr_scan() into the scope of the inner loop and change it to unsigned

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:52:26 +0000 (04:52 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - simplify code in interface_jtag_add_dr_scan() by adding a local variable 'scan' to hold the scan_command_t

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:51:46 +0000 (04:51 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - simplify code in interface_jtag_add_plain_ir_scan() by adding a local variable 'scan' to hold the scan_command_t

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:51:08 +0000 (04:51 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - move scan_size in interface_jtag_add_ir_scan() into the scope of the inner loop and change it to unsigned

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:49:53 +0000 (04:49 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - simplify code in interface_jtag_add_ir_scan() by adding a local variable 'scan' to hold the scan_command_t

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:48:11 +0000 (04:48 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - rename local variable x to num_taps in interface_jtag_add_ir_scan

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

15 years agoAuthor: Michael Bruck <mbruck@digenius.de>
kc8apf [Wed, 20 May 2009 04:47:20 +0000 (04:47 +0000)]
Author: Michael Bruck <mbruck@digenius.de>
    - rename input parameters 'num_fields' and 'fields' to 'in_num_fields' and 'in_fields' in all jtag.c interface functions

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

15 years agoWookey <wookey@wookware.org>: add user documentation for echo command.
zwelch [Tue, 19 May 2009 18:30:01 +0000 (18:30 +0000)]
Wookey <wookey@wookware.org>: add user documentation for echo command.

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

15 years agoAdded jtag_nsrst_delay 200 and jtag_ntrst_delay 200 to the LPC2294 target.
mifi [Tue, 19 May 2009 17:57:44 +0000 (17:57 +0000)]
Added jtag_nsrst_delay 200 and jtag_ntrst_delay 200 to the LPC2294 target.

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

15 years agofix warnings
oharboe [Tue, 19 May 2009 14:36:04 +0000 (14:36 +0000)]
fix warnings

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

15 years agoWookey <wookey@wookware.org> update syntax
oharboe [Tue, 19 May 2009 11:53:05 +0000 (11:53 +0000)]
Wookey <wookey@wookware.org> update syntax

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

15 years agoDavid Brownell <david-b@pacbell.net> NAND: update ids, "nand list" bugfix
oharboe [Tue, 19 May 2009 10:04:41 +0000 (10:04 +0000)]
David Brownell <david-b@pacbell.net>  NAND: update ids, "nand list" bugfix

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

15 years agoadded tms_sequence command to allow switching between old/new tms sequence
oharboe [Tue, 19 May 2009 06:59:20 +0000 (06:59 +0000)]
added tms_sequence command to allow switching between old/new tms sequence

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

15 years agouse tap_get_tms_path_len() instead of fix # of 7. Not tested if this builds, but...
oharboe [Mon, 18 May 2009 20:25:19 +0000 (20:25 +0000)]
use tap_get_tms_path_len() instead of fix # of 7. Not tested if this builds, but at least we're looking at a build error instead of a runtime error.

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

15 years agoUpdate BUGS file, adapting its content for the doxygen manual.
zwelch [Mon, 18 May 2009 20:22:55 +0000 (20:22 +0000)]
Update BUGS file, adapting its content for the doxygen manual.

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

15 years agouse tap_get_tms_path_len() instead of fix # of 7.
oharboe [Mon, 18 May 2009 20:21:53 +0000 (20:21 +0000)]
use tap_get_tms_path_len() instead of fix # of 7.

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

15 years agoremoved solved mem2array problem.
oharboe [Mon, 18 May 2009 19:33:00 +0000 (19:33 +0000)]
removed solved mem2array problem.

Added questions regarding ideas on making tcl-less builds of OpenOCD

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

15 years agoupdated w/jtag_add_end_state() note.
oharboe [Mon, 18 May 2009 19:28:26 +0000 (19:28 +0000)]
updated w/jtag_add_end_state() note.

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

15 years agoUpdate The List with recent progress; remove developer list from TODO.
zwelch [Mon, 18 May 2009 19:06:43 +0000 (19:06 +0000)]
Update The List with recent progress; remove developer list from TODO.

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

15 years agoEnable non-7-cycle state table for FT2232 and JLink
kc8apf [Mon, 18 May 2009 17:43:26 +0000 (17:43 +0000)]
Enable non-7-cycle state table for FT2232 and JLink

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

15 years agoJLink support for non-7-cycle state moves by Dick Hollenbeck <dick@softplc.com>
kc8apf [Mon, 18 May 2009 17:42:36 +0000 (17:42 +0000)]
JLink support for non-7-cycle state moves by Dick Hollenbeck <dick@softplc.com>

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

15 years agoFT2232 support for non-7-cycle state moves by Dick Hollenbeck <dick@softplc.com>
kc8apf [Mon, 18 May 2009 17:41:27 +0000 (17:41 +0000)]
FT2232 support for non-7-cycle state moves by Dick Hollenbeck <dick@softplc.com>

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

15 years agoFix fallout from r1818
kc8apf [Mon, 18 May 2009 17:40:42 +0000 (17:40 +0000)]
Fix fallout from r1818

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

15 years agoChange last_comand_pointer to last_command_pointer by Michael Bruck <mbruck@digenius.de>
kc8apf [Mon, 18 May 2009 17:29:59 +0000 (17:29 +0000)]
Change last_comand_pointer to last_command_pointer by Michael Bruck <mbruck@digenius.de>

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [8/8]
kc8apf [Mon, 18 May 2009 17:29:18 +0000 (17:29 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [8/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [7/8]
kc8apf [Mon, 18 May 2009 17:29:01 +0000 (17:29 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [7/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [6/8]
kc8apf [Mon, 18 May 2009 17:28:42 +0000 (17:28 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [6/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [5/8]
kc8apf [Mon, 18 May 2009 17:28:21 +0000 (17:28 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [5/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [4/8]
kc8apf [Mon, 18 May 2009 17:28:00 +0000 (17:28 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [4/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [3/8]
kc8apf [Mon, 18 May 2009 17:27:46 +0000 (17:27 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [3/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [2/8]
kc8apf [Mon, 18 May 2009 17:27:30 +0000 (17:27 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de> [2/8]

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

15 years agoAdd jtag_queue_command() by Michael Bruck <mbruck@digenius.de>
kc8apf [Mon, 18 May 2009 17:27:00 +0000 (17:27 +0000)]
Add jtag_queue_command() by Michael Bruck <mbruck@digenius.de>

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

15 years agoftdi_set_interface correctness by Strontium <strntydog@gmail.com>
kc8apf [Mon, 18 May 2009 17:23:52 +0000 (17:23 +0000)]
ftdi_set_interface correctness by Strontium <strntydog@gmail.com>

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

15 years agoPATCHES updates from David Brownell <david-b@pacbell.net>
kc8apf [Mon, 18 May 2009 17:20:51 +0000 (17:20 +0000)]
PATCHES updates from David Brownell <david-b@pacbell.net>

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

15 years agoJTAG state table updates (short table still disabled). Provided by Dick Hollenbeck...
kc8apf [Mon, 18 May 2009 17:06:36 +0000 (17:06 +0000)]
JTAG state table updates (short table still disabled).  Provided by Dick Hollenbeck <dick@softplc.com>

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

15 years agoRemove unecessary(and poptentially harmful?) "" around arguments
oharboe [Mon, 18 May 2009 13:55:38 +0000 (13:55 +0000)]
Remove unecessary(and poptentially harmful?) "" around arguments
passed in to "eval" in command.c

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

15 years agoless weird error messages for unknown commands. Check if command exists before trying it.
oharboe [Mon, 18 May 2009 13:07:37 +0000 (13:07 +0000)]
less weird error messages for unknown commands. Check if command exists before trying it.

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

15 years agoDean Glazeski <dnglaze@gmail.com> fixed bug in checking of clocked back data in arm7_...
oharboe [Mon, 18 May 2009 07:10:48 +0000 (07:10 +0000)]
Dean Glazeski <dnglaze@gmail.com> fixed bug in checking of clocked back data in arm7_9_execute_fast_sys_speed. Not reported. There is a chance that this bug hid a deeper problem since it only partially disabled the check(mask & value were equal).

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

15 years ago- add missing svn props from svn 1798 commit
ntfreak [Mon, 18 May 2009 07:04:58 +0000 (07:04 +0000)]
- add missing svn props from svn 1798 commit

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

15 years agoMichael Bruck <mbruck@digenius.de> ARM11 cleanup stale dependencies with generic...
oharboe [Mon, 18 May 2009 07:02:12 +0000 (07:02 +0000)]
Michael Bruck <mbruck@digenius.de> ARM11 cleanup stale dependencies with generic arm code; added comments and whitespace fixes

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

15 years agoRelocate documentation on working area to better align with use of new syntax. Provi...
kc8apf [Mon, 18 May 2009 04:47:06 +0000 (04:47 +0000)]
Relocate documentation on working area to better align with use of new syntax.  Provided by David Brownell <david-b@pacbell.net>

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

15 years agoFix logically inverted comment
kc8apf [Mon, 18 May 2009 04:45:42 +0000 (04:45 +0000)]
Fix logically inverted comment

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

15 years agoConsolidate target selection code into single get_target() that handles both names...
kc8apf [Mon, 18 May 2009 04:44:28 +0000 (04:44 +0000)]
Consolidate target selection code into single get_target() that handles both names and numbers.  Provided by David Brownell <david-b@pacbell.net>

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

15 years agoETM/ETB documentation from David Brownell <david-b@pacbell.net>
kc8apf [Mon, 18 May 2009 04:40:11 +0000 (04:40 +0000)]
ETM/ETB documentation from David Brownell <david-b@pacbell.net>

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

15 years agoWhitespace cleanup from David Brownell <david-b@pacbell.net>
kc8apf [Mon, 18 May 2009 04:37:33 +0000 (04:37 +0000)]
Whitespace cleanup from David Brownell <david-b@pacbell.net>

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

15 years agofix array2mem/mem2array when used as a "method" on a target.
oharboe [Sun, 17 May 2009 13:00:36 +0000 (13:00 +0000)]
fix array2mem/mem2array when used as a "method" on a target.

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

15 years agoMichael Bruck <mbruck@digenius.de> change 'ir_scan' from 'int' to 'bool' to document...
oharboe [Sat, 16 May 2009 20:09:07 +0000 (20:09 +0000)]
Michael Bruck <mbruck@digenius.de> change 'ir_scan' from 'int' to 'bool' to document its semantics

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

15 years agofix naming of at91sam7 driver
oharboe [Sat, 16 May 2009 14:59:10 +0000 (14:59 +0000)]
fix naming of at91sam7 driver

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

15 years agoFreddie Chopin <freddie_chopin@op.pl> move files about to where they belong
oharboe [Sat, 16 May 2009 14:57:02 +0000 (14:57 +0000)]
Freddie Chopin <freddie_chopin@op.pl> move files about to where they belong

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

15 years agoInitialize a more variables in jim.c to allow gcc-4.4 to build.
zwelch [Fri, 15 May 2009 23:35:27 +0000 (23:35 +0000)]
Initialize a more variables in jim.c to allow gcc-4.4 to build.
Fix provided by Benjamin Schmidt <DeMonk@gmx.net>.

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

15 years agoInitialize value of objPtr local variable; prevents warning w/ gcc-4.4.
zwelch [Fri, 15 May 2009 22:10:32 +0000 (22:10 +0000)]
Initialize value of objPtr local variable; prevents warning w/ gcc-4.4.

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

15 years agofix -fno-common/Mac build problems.
oharboe [Fri, 15 May 2009 21:10:35 +0000 (21:10 +0000)]
fix -fno-common/Mac build problems.

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

15 years agoLess wrong handling of JIM_EMBEDDED, follow Jim Tcl doc's and only use JIM_EMBEDDED...
oharboe [Fri, 15 May 2009 20:35:53 +0000 (20:35 +0000)]
Less wrong handling of JIM_EMBEDDED, follow Jim Tcl doc's and only use JIM_EMBEDDED in a single .c file. Still broken w/-fno-common(i.e. Mac OS).

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

15 years agorevert to 1775. 1790 causes SEGFAULT w/Cygwin.
oharboe [Fri, 15 May 2009 09:03:52 +0000 (09:03 +0000)]
revert to 1775. 1790 causes SEGFAULT w/Cygwin.

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

15 years agoUpdate Doxyfile to build The List into the doxygen manual.
zwelch [Fri, 15 May 2009 02:22:27 +0000 (02:22 +0000)]
Update Doxyfile to build The List into the doxygen manual.

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

15 years agoAdd current draft of The List of Pending and Open Tasks.
zwelch [Fri, 15 May 2009 00:49:30 +0000 (00:49 +0000)]
Add current draft of The List of Pending and Open Tasks.

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

15 years agoRemove JIM_EMBEDDED symbol; not appropriate or necessary.
zwelch [Thu, 14 May 2009 22:20:00 +0000 (22:20 +0000)]
Remove JIM_EMBEDDED symbol; not appropriate or necessary.

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

15 years agoSeveral minor fixes for the new doxygen manual.
zwelch [Thu, 14 May 2009 22:16:20 +0000 (22:16 +0000)]
Several minor fixes for the new doxygen manual.

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

15 years agoPaul Thomas <pthomas8589@gmail.com>: new board cfg for Linuxstamp-mx27
zwelch [Thu, 14 May 2009 21:55:56 +0000 (21:55 +0000)]
Paul Thomas <pthomas8589@gmail.com>: new board cfg for Linuxstamp-mx27

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

15 years agouse TAP_INVALID enum instead of -1
oharboe [Thu, 14 May 2009 21:00:30 +0000 (21:00 +0000)]
use TAP_INVALID enum instead of -1

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

15 years agotake #2: dump_image now works for addresses not divisible by 4
oharboe [Thu, 14 May 2009 19:00:35 +0000 (19:00 +0000)]
take #2: dump_image now works for addresses not divisible by 4

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

15 years agodump_image now works for addresses not divisible by 4
oharboe [Thu, 14 May 2009 18:56:41 +0000 (18:56 +0000)]
dump_image now works for addresses not divisible by 4

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

15 years agofix broken ir/drscan -endstate option. The statemachine now actually ends up in said...
oharboe [Thu, 14 May 2009 18:45:19 +0000 (18:45 +0000)]
fix broken ir/drscan -endstate option. The statemachine now actually ends up in said state.

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

15 years agoselftest wip
oharboe [Thu, 14 May 2009 10:52:41 +0000 (10:52 +0000)]
selftest wip

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

15 years agopropagate error in dump_image. If an error occurs during dump_image, a tcl exception...
oharboe [Thu, 14 May 2009 08:44:09 +0000 (08:44 +0000)]
propagate error in dump_image. If an error occurs during dump_image, a tcl exception is thrown.

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

15 years agoUpdate configure script test for net/if.h to work on MacOS.
zwelch [Wed, 13 May 2009 23:38:38 +0000 (23:38 +0000)]
Update configure script test for net/if.h to work on MacOS.

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

15 years agoFix bootstrap typo noticed by Edgar Grimberg <edgar.grimberg@zylin.com>.
zwelch [Wed, 13 May 2009 23:37:29 +0000 (23:37 +0000)]
Fix bootstrap typo noticed by Edgar Grimberg <edgar.grimberg@zylin.com>.

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

15 years agoFix bootstrap script to support MacOS glibtoolize oddity.
zwelch [Wed, 13 May 2009 21:55:16 +0000 (21:55 +0000)]
Fix bootstrap script to support MacOS glibtoolize oddity.

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