zwelch [Wed, 27 May 2009 02:01:15 +0000 (02:01 +0000)]
Add warning to generated Doxyfile to edit Doxyfile.in.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1917
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 26 May 2009 23:58:01 +0000 (23:58 +0000)]
Update Doxygen markup in PATCHES, BUGS, and TODO:
- In the File List, these files are listed and link to empty pages.
- This patch adds @file blocks to reference the pages each file contains.
- Remove redundant "OpenOCD" from PATCHES title; it clutters the tree view.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1916
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 26 May 2009 01:27:56 +0000 (01:27 +0000)]
SimonQian <simonqian@SimonQian.com>, reported by R.Doss:
This patch fixes a segfault when TDO was not received in XXR command:
- allocate space for the value and mask anyway
- clear the mask to zero to effectively skip the output comparison step
git-svn-id: svn://svn.berlios.de/openocd/trunk@1915
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 26 May 2009 01:22:23 +0000 (01:22 +0000)]
SimonQian <simonqian@SimonQian.com>:
Add svf_get_mask_u32 to generate a mask according to bitlen.
Fix this bug in other functions except for svf_check_tdo.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1914
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Tue, 26 May 2009 00:23:23 +0000 (00:23 +0000)]
David Brownell <david-b@pacbell.net>:
Update the "Reset Configuration" information in the User's guide:
- Convert to @deffn syntax
- Move tutorial text from command descriptions into new sections
- Describe several different types of JTAG-visible reset
- Expand descriptions of configuration tweaks for SRST and TRST
- Link to the "reset" command, and vice versa
- Bugfix the "reset_config" description (it didn't match the code)
Plus, be more proscriptive: do it in board config files, except for
the oddball cases where that won't work. (Current target.cfg files
seem to have much goofage there; several seem board-specific.)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1913
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Mon, 25 May 2009 15:56:15 +0000 (15:56 +0000)]
Author: Simon Qian <simonqian@SimonQian.com>
- add tap_state_svf_name since tap_state_name doesn't use SVF standard names
git-svn-id: svn://svn.berlios.de/openocd/trunk@1912
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Mon, 25 May 2009 15:51:30 +0000 (15:51 +0000)]
Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es>
- cfi flash_address coding style fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1911
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 21:13:29 +0000 (21:13 +0000)]
David Brownell <david-b@pacbell.net>:
Doc (mostly) update for jtag_khz:
- switch to @deffn syntax
- add entry for "jtag_rclk"
- move deprecated "jtag_speed" into collection of deprecated calls
And for ft2232, don't be the only adapter to *log* an error if RTCK
is requested; it's already reported properly, like any other nonfatal
command parameter. "jtag_rclk" just works as expected, without any
scarey messages.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1910
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 21:08:42 +0000 (21:08 +0000)]
David Brownell <david-b@pacbell.net>:
Make startup for the various server ports be quiet, unless
debugging is active: don't emit needless scarey messages.
Update the relevant documentation and its references:
- For these port commands ... cover the default values;
convert to @deffn syntax; include their use outside of
the configuration stage; and alphabetize.
Similar updates to the rest of that small chapter:
- Highlight that there even *IS* a configuration stage, after
which some command functionality is no longer available.
- For GDB commands ... convert to @deffn syntax; alphabetize;
include a missing command (!); add missing helptext (!) for
one non-missing command; update relevant cross-references
and index entries.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1909
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 20:57:53 +0000 (20:57 +0000)]
David Brownell <david-b@pacbell.net>:
The "Illegal mode for command" diagnostic is deeply useless.
Say "Command '%s' only runs during configuration stage" instead,
letting users know what the real issue is.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1908
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 20:56:13 +0000 (20:56 +0000)]
David Brownell <david-b@pacbell.net>: minor davinci_nand bugfix
Fix a bug that joined us at the last minute, when an efficient
alloca() call got swapped out for a more portable malloc().
Also log one error, to give a clue in case it appears "in the wild".
git-svn-id: svn://svn.berlios.de/openocd/trunk@1907
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
mifi [Sun, 24 May 2009 11:24:14 +0000 (11:24 +0000)]
Added the options calc_checksum to the flash driver.
This was forgotten here. All other LPC targets use
this option.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1906
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 02:08:17 +0000 (02:08 +0000)]
Nicolas Pitre <nico@cam.org>: Update sheevaplug interface script:
When the CPU is in the WFI state, the JTAG interface simply doesn't
respond at all and initial tap examination simply fails. Let's simply
do it again when we come around to assert nSRST.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1905
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 01:57:13 +0000 (01:57 +0000)]
David Brownell <david-b@pacbell.net>:
Update two oddball NAND commands to work with {offset, length}
instead of block numbers, matching the other commands as well
as usage in U-Boot and the Linux-MTD utilities.
Document them accordingly. Update the single in-tree use of
those commands (sheevaplug).
ALSO:
(a) Document the current 2 GByte/chip ceiling for NAND chipsize.
(32 bit offset/length values can't represent 4 GBytes.) Maybe
after the upcoming release, the code can switch to 64-bits.
(b) The "nand check_bad_blocks" should report "bad" blocks. They
are not "invalid" blocks; they're "bad" ones.
(c) Tweak the "nand info" command to handle the "no arguments"
case sanely (show everything, instead of showing garbage) and
not listing the blocksize in hex kbytes (duh).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1904
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 01:38:19 +0000 (01:38 +0000)]
David Brownell <david-b@pacbell.net>:
NAND support for DaVinci-family drivers, with HW ECC support.
Declare the NAND chip on the DM355 EVM board.
Currently tested on DM355 for Linux interop using the standard
large page (2KB) chip in the EVM socket; "hwecc1" and "hwecc4"
work fine. (Using hwecc4 relies on patches that haven't quite
made it through the Linux-MTD bottlenecks yet.)
Not yet tested: 1-bit on small-page (although it's hard to see
how that could fail); 4-bit on small page (picky layout issues);
the "hwecc_infix" mode (primarily for older boot ROMs; testing
there is blocked on having new bootloader code).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1903
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 01:33:54 +0000 (01:33 +0000)]
Fix two problems with openocd.texi:
- Fix minor issues with xrefs not liking parentheses around them.
- Change 'Building' section to 'Building OpenOCD'. It reads better.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1902
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 01:08:16 +0000 (01:08 +0000)]
Properly fix doxygen out-of-tree build process:
- move Doxyfile to Doxyfile.in: type 'make Doxyfile' to recreate it
- create Doxyfile from Doxyfile.in with make rule:
- use sed substitution of $(srcdir) to location directories
- delete all doxygen created files with 'make distclean'
- include all required files (including logger.pl) in distribution
git-svn-id: svn://svn.berlios.de/openocd/trunk@1901
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 00:47:49 +0000 (00:47 +0000)]
SimonQian <simonqian@SimonQian.com>:
Changes svf_check_tdo function (checks tdo output matches desired values):
- call buf_cmp_mask function to do comparison instead of using a loop.
- fixes a bug when data length is equal to sizeof(int).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1900
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sun, 24 May 2009 00:16:04 +0000 (00:16 +0000)]
Freddie Chopin <freddie_chopin@op.pl>:
- add reset delay settings for LPC2103, LPC2124, and LPC2129.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1899
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 22:53:39 +0000 (22:53 +0000)]
Add section identifiers to developer scripting introduction.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1898
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 22:52:47 +0000 (22:52 +0000)]
Update main page of doxygen developer documentation:
- Rewrite copy to give a better introduction and overview.
- Add subpages: The List, Style Guide, Patch Policies, and Bug Reporting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1897
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 22:39:03 +0000 (22:39 +0000)]
Add extended doxygen-based style guide draft; requires more work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1896
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 22:37:19 +0000 (22:37 +0000)]
Update user guide documentation:
- Remove style guide from user guide; moved to doxygen manual.
- Replace with improved introduction for developers and packagers.
- Move introductory paragraph about the project under the About page.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1895
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 22:05:05 +0000 (22:05 +0000)]
Include the PATCHES file in Doxygen developer manual.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1894
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 20:52:18 +0000 (20:52 +0000)]
Submitted by Magnus Lundin <lundin@mlu.mine.nu>:
- Remove FTDI driver tap_set_state call; performed by jtag_add_reset.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1893
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 20:50:06 +0000 (20:50 +0000)]
Submitted by Magnus Lundin <lundin@mlu.mine.nu>:
- Add jtag_execute_queue in jtag_add_reset after interface_jtag_add_reset.
- Use tap_set_state to demark TAP_RESET, instead of cmd_queue_cur_state
- cmd_queue_cur_state needs to be retired.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1892
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 20:29:53 +0000 (20:29 +0000)]
Fix make docs rule to work with out-of-tree builds.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1891
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 23 May 2009 18:26:06 +0000 (18:26 +0000)]
Change the setting for the sam7se512 and sam7x256
flash driver because of the new at91sam7 version.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1890
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 03:42:13 +0000 (03:42 +0000)]
Submitted by Magnus Lundin <lundin@mlu.mine.nu>:
Updates to the J-Link interface driver to support more device versions:
- Add capability detection:
- if capable, detect protocol version; otherwise, assume v2 protocol.
- if capable, detect buffer size; otherwise, assume minimal.
- Disable command result queries for devices using v2 protocol.
- Defined and use JTAG2 command with v2 protocol; JTAG3 is v3 protocol.
- Add TCL command to allow explicit setting of J-Link protocol version.
With approval, I revised the patch to make the following changes:
- add static keywords to new jlink-specific variables
- factor calculation of major_version to be more readable
- remove braces around simple one-line statements in if/else clauses
- remove (rather than #if 0) duplicate reset code; it is in SVN
- use &function to be clearer when passing function pointers
- add symbols for EMU_CMD_GET_CAPS bits; do not hard-code constants!
- almost renamed jlink_handle_jlink_hw_jtag_command (seriously?!?!)
- rewrote that function using a switch statement.
- made version request processing easier to understand and modify
- improve alternate endpoint detection:
- make code easier to read by using temporary variables
- eliminate extra level of indentation and redundant logging
- use ternary conditional to select JTAG2 or JTAG3 command
- reverse version test in jlink_usb_message to reduce indentation
- this had the biggest effect in cleaning up this patch
- use C99's ability to declare new/changed variables with less scope
- add spaces around binary operators in new/changed code
- revert other superfluous whitespace/comment style changes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1889
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 01:25:39 +0000 (01:25 +0000)]
More printf fixes stemming from format string change in r1882.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1888
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Sat, 23 May 2009 00:51:13 +0000 (00:51 +0000)]
Change doxygen configuration to show code comments in documentation.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1887
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Fri, 22 May 2009 17:49:28 +0000 (17:49 +0000)]
Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es>
- Fix multi-byte reads on x16 devices used as x8
git-svn-id: svn://svn.berlios.de/openocd/trunk@1886
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Fri, 22 May 2009 17:48:26 +0000 (17:48 +0000)]
Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es>
- Fix calculation of flash_address for x16 devices used as x8
git-svn-id: svn://svn.berlios.de/openocd/trunk@1885
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Fri, 22 May 2009 17:47:07 +0000 (17:47 +0000)]
Author: Raúl Sánchez Siles <rsanchezs@infoglobal.es>
- Consistently use flash_address
git-svn-id: svn://svn.berlios.de/openocd/trunk@1884
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Fri, 22 May 2009 17:44:04 +0000 (17:44 +0000)]
Author: David Brownell <david-b@pacbell.net>
Remove un-implemented and dubious "nand copy" command.
Doing this efficiently would mean doing the copying on
the target CPU, instead of back and forth through JTAG.
If anyone ever needs this functionality, that's what
they should implement.
Also, update on-line "help" for "nand dump" to display
its two optional flags; and for "nand write" to display
a recently added flag.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1883
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
kc8apf [Fri, 22 May 2009 17:41:54 +0000 (17:41 +0000)]
Author: Rick Altherr <kc8apf@kc8apf.net>
- printf conversion fixes for variably-sized types
git-svn-id: svn://svn.berlios.de/openocd/trunk@1882
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Fri, 22 May 2009 02:32:31 +0000 (02:32 +0000)]
Submitted by David Brownell <david-b@pacbell.net>:
Improve support for the DM355 EVM board, and eventually other boards based
on DaVinci chips:
- Provide generic "davinci.cfg" to hold utilities that can be reused by
different chips in this family. Start with PINMUX, PSC, and PLL setup.
- DM355 chip support updates: provide a dictionary with chip-specific
symbols, load those utilities.
- Create a new dm355evm board file, with a reset-init event handler
which uses those utilities to set up PLLs and clocks, configure the
pins, and improve the JTAG speed limit.
Also a minor tweak: provide a virtual address for the work area, matching
what the very latest kernels do. It's probably unwise to use OpenOCD while
the MMU is active though.
The DRAM isn't yet accessible, but NAND access is mostly ready.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1881
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Fri, 22 May 2009 02:27:30 +0000 (02:27 +0000)]
Submitted by Dean Glazeski <dnglaze@gmail.com>:
Add doxygen comments in arm7_9_common source and header files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1880
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
zwelch [Fri, 22 May 2009 02:25:18 +0000 (02:25 +0000)]
Submitted by David Brownell <david-b@pacbell.net>:
Add a "NAND Commands" section to to the TEXI docs, covering the basic
commands except for those previously discussed as being due for removal
("nand copy") or switching to use byte offsets not block numbers.
This uses the "@deffn..." syntax for defining commands, as somewhat
suggested by the TEXI documentation, and adds a new "Command Index".
We might prefer to merge those indexes for the near term, but I think
the "@deffn" approch is probably worth switching to.
Updates a few other bits to clarify that "flash" doesn't just mean NOR.
And to fix one niggling falsity: the "reset-init" event *is* used, and
in fact it's quite important.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1879
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)