Skip to content
Snippets Groups Projects
  1. Nov 05, 2009
  2. Oct 26, 2009
    • Øyvind Harboe's avatar
      Idea for adding watchpoint masks. · 8b30f22d
      Øyvind Harboe authored
      8b30f22d
    • David Brownell's avatar
      JTAG: simple autoprobing · 6cb1d10c
      David Brownell authored
      
      This patch adds basic autoprobing support for the JTAG scan chains
      which cooperate.  To use, you can invoke OpenOCD with just:
      
       - interface spec: "-f interface/...cfg"
       - possibly with "-c 'reset_config ...'" for SRST/TRST
       - possibly with "-c 'jtag_khz ...'" for the JTAG clock
      
      Then set up config files matching the reported TAPs.  It doesn't
      declare targets ... just TAPs.  So facilities above the JTAG and
      SVF/XSVF levels won't be available without a real config; this is
      almost purely a way to generate diagnostics.
      
      Autoprobe was successful with most boards I tested, except ones
      incorporating C55x DSPs (which don't cooperate with this scheme
      for IR length autodetection).  Here's what one multi-TAP chip
      reported, with the "Warn:" prefixes removed:
      
       clock speed 500 kHz
       There are no enabled taps.  AUTO PROBING MIGHT NOT WORK!!
       AUTO auto0.tap - use "jtag newtap auto0 tap -expected-id 0x2b900f0f ..."
       AUTO auto1.tap - use "jtag newtap auto1 tap -expected-id 0x07926001 ..."
       AUTO auto2.tap - use "jtag newtap auto2 tap -expected-id 0x0b73b02f ..."
       AUTO auto0.tap - use "... -irlen 4"
       AUTO auto1.tap - use "... -irlen 4"
       AUTO auto2.tap - use "... -irlen 6"
       no gdb ports allocated as no target has been specified
      
      The patch tweaks IR setup a bit, so we can represent TAPs with
      undeclared IR length.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      6cb1d10c
  3. Oct 25, 2009
  4. Oct 24, 2009
  5. 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
  6. Oct 20, 2009
  7. Oct 13, 2009
  8. Oct 12, 2009
    • David Brownell's avatar
      simplify XScale debug handler installation · 5e837387
      David Brownell authored
      
      Load the XScale debug handler from the read-only data section
      instead of from a separate file that can get lost or garbaged.
      This eliminates installation and versioning issues, and also
      speeds up reset handling a bit.
      
      Plus some minor bits of cleanup related to loading that handler:
      comments about just what this handler does, and check fault codes
      while writing it into the mini-icache.
      
      The only behavioral changes should be cleaner failure modes after
      errors during handler loading, and being a bit faster.
      
      NOTE:  presumes GNU assembly syntax, with ".incbin"; and ELF,
      because of the syntax of the ".size" directive.
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      5e837387
  9. Oct 07, 2009
  10. Sep 27, 2009
  11. Sep 15, 2009
  12. Sep 11, 2009
  13. Aug 28, 2009
  14. Aug 26, 2009
  15. Jul 19, 2009
  16. Jul 17, 2009
  17. Jul 16, 2009
  18. Jul 10, 2009
  19. Jul 08, 2009
  20. Jul 07, 2009
  21. Jul 06, 2009
  22. Jul 01, 2009
  23. Jun 03, 2009
  24. May 26, 2009
  25. May 18, 2009
Loading