Skip to content
Snippets Groups Projects
  1. Nov 13, 2009
  2. Nov 10, 2009
  3. Nov 09, 2009
  4. Oct 29, 2009
    • Michael Roth's avatar
      SVF: fix checking bit pattern against length · a53c72cd
      Michael Roth authored
      
      The code works like follow (N = bit_len):
      
      	N	-1	%4	2<<	-1	~ (binary)
      	--------------------------------------------------
      	1	0	0	2	1	1111 1110
      	2	1	1	4	3	1111 1100
      	3	2	2	8	7	1111 1000
      	4	3	3	16	15	1111 0000
      	5	4	0	2	1	1111 1110
      	6	5	1	4	3	1111 1100
      	7	6	2	8	7	1111 1000
      	8	7	3	16	15	1111 0000
      	...	...	...	...	...	...
      
      Addresses a bug reported by FangfangLi <ffli@syntest.com.cn>.
      
      [dbrownell@users.sourceforge.net: fix spelling bug too]
      
      Signed-off-by: default avatarMichael Roth <mroth@nessie.de>
      Cc: FangfangLi <ffli@syntest.com.cn>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      a53c72cd
  5. Oct 26, 2009
  6. Oct 23, 2009
    • David Brownell's avatar
      SVF: clean up, mostly for TAP state name handling · 814183a5
      David Brownell authored
      
       - Use the name mappings all the other code uses:
          + name-to-state ... needed to add one special case
          + state-to-name
       - Improve various diagnostics:
          + don't complain about a "valid" state when the issue
            is actually that it must be "stable"
          + say which command was affected
       - Misc:
          + make more private data and code be static
          + use public DIM() not private dimof()
          + shorten the affected lines
      
      Re the mappings, this means we're more generous in inputs we
      accept, since case won't matter.  Also our output diagnostics
      will be a smidgeon more informative, saying "RUN/IDLE" not
      just "IDLE" (emphasizing that there can be side effects).
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      814183a5
  7. Oct 21, 2009
    • David Brownell's avatar
      XSVF: use svf_add_statemove() · 7556a93a
      David Brownell authored
      
      XSVF improvements:
      
       - Layer parts of XSVF directly over SVF, calling svf_add_statemove()
         instead of expecting jtag_add_statemove() to conform to the SVF/XSVF
         requirements (which it doesn't).
      
         This should improve XSTATE handling a lot; it removes most users of
         jtag_add_statemove(), and the comments about how it should really do
         what svf_add_statemove() does.
      
       - Update XSTATE logic to be a closer match to the XSVF spec.  The main
         open issue here is (still) that this implementation doesn't know how
         to build and submit paths from single-state transitions ... but now
         it will report that error case.
      
       - Update the User's Guide to mention the two utility scripts for
         working with XSVF, and to mention the five extension opcodes.
      
      Handling of state transition paths is, overall, still a mess.  I think
      they should all be specified as paths not unlike SVF uses, and compiled
      to the bitstrings later ... so that we can actually make sense of the
      paths.  (And see the extra clocks, detours through RUN, etc.)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      7556a93a
  8. Oct 20, 2009
  9. Aug 25, 2009
  10. Aug 24, 2009
  11. Aug 20, 2009
  12. Jun 23, 2009
  13. Jun 18, 2009
  14. Jun 09, 2009
  15. Jun 01, 2009
  16. May 26, 2009
  17. May 25, 2009
  18. May 24, 2009
  19. May 21, 2009
  20. May 18, 2009
  21. May 11, 2009
  22. May 10, 2009
  23. May 08, 2009
  24. May 06, 2009
  25. May 02, 2009
    • zwelch's avatar
      Update autotools scripts to require automake 1.6. The configure.in script · 66add57a
      zwelch authored
      already required autoconf 2.59 (circa 2006), so there is no reason to
      support versions of automake older than 1.6 (circa 2002).
      
      The first part of this patch upgrades the configure.in script:
      
           1. Use current calling conventions for the AC_INIT and
              AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with
              the version of autoconf already specified by AC_PREREQ.
           2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT.
           3. Automatically enable all of automake's warnings except Makefile
              portability (which OpenOCD violates by using GNU make's $(wildcard)).
              [[ While automake has its own -Werror option, I did not enabled it
              due to existing warnings. ]]
           4. Add the missing AM_PROG_C_O check, required by the build rules for
              openocd.o in src/Makefile.am.
           5. Adjust version number to show progress toward the next release.
           6. Include a bug reporting e-mail address to direct users to this list.
      
      This patch makes the following adjustments to the Makefile.am files:
      
           1. Update AUTOMAKE_OPTIONS to require automake version 1.6
           2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS
           3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly.
           4. Remove vestigial references to $(all_includes)
           5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS)
           6. Remove unused -I and -D directives in helper/, flash/, target/
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      66add57a
  26. Apr 19, 2009
  27. Feb 03, 2009
  28. Jan 23, 2009
Loading