1. 27 May, 2009 4 commits
  2. 26 May, 2009 4 commits
    • zwelch's avatar
      Update Doxygen markup in PATCHES, BUGS, and TODO: · f1f0d5e2
      zwelch authored
      - 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
      f1f0d5e2
    • zwelch's avatar
      SimonQian <simonqian@SimonQian.com>, reported by R.Doss: · 3848774d
      zwelch authored
      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
      3848774d
    • zwelch's avatar
      SimonQian <simonqian@SimonQian.com>: · fe465bd3
      zwelch authored
      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
      fe465bd3
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 83902cc9
      zwelch authored
      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
      83902cc9
  3. 25 May, 2009 2 commits
  4. 24 May, 2009 12 commits
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · ad8f1b42
      zwelch authored
      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
      ad8f1b42
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 5ecae346
      zwelch authored
      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
      5ecae346
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 2e55b683
      zwelch authored
      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
      2e55b683
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: minor davinci_nand bugfix · e046954d
      zwelch authored
      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
      e046954d
    • mifi's avatar
      Added the options calc_checksum to the flash driver. · 42c009e2
      mifi authored
      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
      42c009e2
    • zwelch's avatar
      Nicolas Pitre <nico@cam.org>: Update sheevaplug interface script: · 76d3131f
      zwelch authored
      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
      76d3131f
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · eb385b2e
      zwelch authored
      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
      eb385b2e
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · c0fc8f93
      zwelch authored
      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
      c0fc8f93
    • zwelch's avatar
      Fix two problems with openocd.texi: · 67dd29a4
      zwelch authored
      - 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
      67dd29a4
    • zwelch's avatar
      Properly fix doxygen out-of-tree build process: · a6f7ca1a
      zwelch authored
      - 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
      a6f7ca1a
    • zwelch's avatar
      SimonQian <simonqian@SimonQian.com>: · 8717ed04
      zwelch authored
      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
      8717ed04
    • zwelch's avatar
      Freddie Chopin <freddie_chopin@op.pl>: · 7e11f08a
      zwelch authored
      - add reset delay settings for LPC2103, LPC2124, and LPC2129.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1899 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      7e11f08a
  5. 23 May, 2009 12 commits
  6. 22 May, 2009 6 commits