1. 02 Jan, 2011 2 commits
  2. 07 Dec, 2010 1 commit
    • Andrew Leech's avatar
      svf: various improvements · 5cd931ed
      Andrew Leech authored
      * added support for targeting particular tap
      * improved file reading
      * improved command line parsing
      * added progress meter
      * more readable time measurement output
      5cd931ed
  3. 16 Jun, 2010 1 commit
  4. 15 Mar, 2010 1 commit
    • David Brownell's avatar
      rename jtag_khz as adapter_khz · 96f97902
      David Brownell authored
      
      
      Globally rename "jtag_khz" as "adapter_khz", and move it out of the "jtag"
      command group ...  it needs to be used with non-JTAG transports
      
      Includes a migration aid (in jtag/startup.tcl) so that old user scripts
      won't break.  That aid should Sunset in about a year.  (We may want to
      update it to include a nag message too.)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      96f97902
  5. 08 Mar, 2010 2 commits
  6. 27 Jan, 2010 1 commit
  7. 25 Jan, 2010 1 commit
    • simon qian's avatar
      SVF: all content between parentheses is one parameter · 33fc60be
      simon qian authored
      
      
      More SVF fixes:
      
       * Treat all content between parentheses as part of the same
         parameter; don't (wrongly) treat whitespace as a delimiter.
      
       * Use isspace() to catch that whitespace; it's not all single
         spaces, newlines etc are also valid.
      
       * When parsing bitstrings, strip leading whitespace too.
      
      So for example, these are equivalent and should (now) be OK:
      
        "TDI( 1234 )"
        "TDI( 1 2 3 4 )"
        "TDI(00 12 34 )"
        "TDI(
        	00 12
      	34)"
      
      [dbrownell@users.sourceforge.net: comment updates; trivial cleanup]
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      33fc60be
  8. 23 Jan, 2010 1 commit
  9. 09 Jan, 2010 1 commit
  10. 26 Dec, 2009 1 commit
    • David Brownell's avatar
      cygwin 1.7 build fixes · 08a890e4
      David Brownell authored
      
      
      It's less accepting of signed char ... insisting that e.g. tolower()
      not receive one as a parameter.
      
      It's probably good to phase out such usage, given the number of bugs
      that lurk in the vicinity (assumptions that char is unsigned), so fix
      these even though such usage is actually legal.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      08a890e4
  11. 05 Dec, 2009 1 commit
  12. 03 Dec, 2009 2 commits
  13. 25 Nov, 2009 2 commits
  14. 17 Nov, 2009 3 commits
  15. 16 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      move ARRAY_SIZE macro to types.h · dc1685ca
      Zachary T Welch authored
      The ARRAY_SIZE macro was defined in several target files, so move it
      to types.h.
      
      This patch also removes two other identical macros: DIM (from jtag.h)
      and asizeof (from arm11.h).
      dc1685ca
  16. 13 Nov, 2009 6 commits
  17. 10 Nov, 2009 1 commit
  18. 29 Oct, 2009 1 commit
    • 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
  19. 26 Oct, 2009 1 commit
  20. 23 Oct, 2009 1 commit
    • 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
  21. 21 Oct, 2009 1 commit
    • 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
  22. 20 Oct, 2009 2 commits
  23. 25 Aug, 2009 1 commit
  24. 24 Aug, 2009 1 commit
  25. 20 Aug, 2009 1 commit
  26. 23 Jun, 2009 3 commits