Skip to content
Snippets Groups Projects
  1. May 30, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · d00a5cfe
      zwelch authored
      Make it so the magic "reset_config" keywords can be provided in any
      order.  This eliminates needless error paths, and makes it easier
      to define things at the right level (adapter, board, target).
      It also includes two other behavioral changes:
      
        (1)	When "handle_reset_config" sees a parameter error, it
        	exits without changing anything.   This is best viewed
      	as a bugfix.  (Old behavior:  restore defaults, even if
      	they weren't previously active.)
      
        (2)	Only the behaviors that were explicitly specified get
        	changed.  (Old behavior:  everything else gets reset to
      	the "default".)  So for example you can now specify SRST
      	drive requirements without saying anything about the
      	three unrelated topics you previously had to specify.
      
      That second one might cause confusion for any configs that end
      up calling "reset_config" twice, so it will deserve to be called
      out in the release notes.  (There were no such configurations in
      the current OpenOCD source tree.)
      
      Update docs accordingly.  Note that at least some versions of
      the texi-to-html tools can't handle "@xref{with spaces}", but
      those work properly in PDF and in the info files.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1944 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d00a5cfe
  2. May 29, 2009
  3. May 28, 2009
    • zwelch's avatar
      Remove redundant call to autoheader in bootstrap script. · 3aa4e9eb
      zwelch authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1940 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      3aa4e9eb
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · ea62c796
      zwelch authored
      Start converting the architecture-specific commands to @deffn format,
      reviewing against the code.
      
        * armv4_5 disassemble ... now documented; although Jazelle code
          is not handled
      
        * It's "armv4_5 core_state" not "core_mode"; although Jazelle state
          is not handled
      
        * arm7/9 "debug" commands ... now with other arm7_9 commands, no
          longer in a separate section
      
        * arm926ejs cp15 ... previous description was broken, it matched
          the code for arm920t instead
      
        * Have separate subsections for ARMv4/ARMv5, ARMv6, and ARMv7; the
          latter are new
          
        * Move core-specific descriptions into sub-subsections under those
          architectures; XScale and ARM11 descriptions are new
      
      The new XScale and ARM11 command descriptions surely need elaboration
      and review.  ARM CP15 operation descriptions in general seem to be
      confused and incomplete.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      ea62c796
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 6149c509
      zwelch authored
      Continue updating the NOR flash coverage to use @deffn syntax, so the
      commands have more consistent presentation and formatting.  This
      reorganizes information and updates its presentation, except where
      the information didn't really match the code.
      
      This patch updates the main commands, and finishes making the section
      structure parallel the NAND presentation.  Of note:
      
       - The "flash fill[whb] addr value length" commands are now documented.
      
       - The "flash bank" command is now presented much earlier
      
       - Explicit mention is made that NOR flash should be read using just
         standard memory access commands, like "mdw" and "dump_image".
      
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1938 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      6149c509
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · f37a8136
      zwelch authored
      Start updating the NOR flash coverage to use @deffn syntax, so the
      commands have more consistent presentation and formatting.  This
      reorganizes information and updates its presentation, except where
      the information didn't really match the code.
      
      This patch updates most of the driver specific support, creating one
      new (and alphabetized!) section just for driver-specific data, where
      previously that data was split over up to three sections.  Of note:
      
       - The at91sam7 docs were a bit out of date with respect to the code.
      
       - The "str9xpec" stuff still deserves some work.  For now, it sits
         in its own subsection; pretty messy.
      
       - Likewise the "mflash" stuff.  That's a parallel infrastructure,
         and is now in a section of its own.
      
       - The "mass_erase" commands for the Cortex M3 chips got turned into
         footnotes.  IMO, they should vanish sometime; they're superfluous.
      
       - There are still a bunch of undocumented NOR drivers.  Examples:
         avr(8), tms470, pic32mx, more.
      
      Plus there are a handful of minor tweaks to the NAND docs (to help make
      the NOR and NAND presentations be parallel); the "Command Index" has
      been renamed as the "Command and Driver Index"; reference TI instead
      of Luminary Micro in several places.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1937 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      f37a8136
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · d9284c06
      zwelch authored
      Fix a bunch of PDF generation bugs in the texi:
      
       * The "overfull" warnings are basically complaints about lines
         that are too long, so they ran off the right margin of the
         PDF documentation and turn into a "black blot".
      
       * The "underfull" warnings are basically complaints about lines
         that look ugly when they get filled, because the tokens are
         so long that the line-break algorithm can't do anything good.
      
      In a few cases the simplest fix seemed to be to use more appropriate
      texi commands.
      
      In other cases the fix was a content bugfix:  "ocd_" not "openocd_";
      and many of those "target variants" actually aren't recognized.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1936 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d9284c06
  4. May 27, 2009
  5. May 26, 2009
    • 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
  6. May 25, 2009
  7. May 24, 2009
Loading