1. 29 Dec, 2010 1 commit
  2. 25 Dec, 2010 1 commit
    • David Brownell's avatar
      initial SWD transport (SWD infrastructure #2) · 7cd26173
      David Brownell authored
      
      
      This piggy backs on JTAG so it's not yet pretty, but that
      seems unavoidable so far given today's OpenOCD internals.
      
      SWD init and data transfer  are unfinished and untested, but
      that should cause no regressions, and will be addressed by
      the time drivers start using this infrastructure.  Checking
      in whould get the code working better sooner, and turn up any
      structural/architectural issues while they're easier to fix.
      
      The debug adapter drivers will provide simple SWD driver
      structs with methods that kick in as needed (instead of JTAG).
      So far just one adapter driver has been updated (not yet
      ready to use or circulate).
      
      The biggest issues are probably
        - fault handling, where the ARM Debug Interface V5 pipelining
          needs work in both JTAG and SWD modes and
        - missing  rewrite of block I/O code to work on both of our
      Cortex-ready transports (Current code is  hard-wired to JTAG);
      relates also to the pipelining issue.
        - omitted support to activate/deactivate SWO/SWV trace (this is
          technically trivial, but configuring what to trace is NOT.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      ----
      
       doc/openocd.texi        |   17 ++
       src/jtag/core.c         |    3
       src/jtag/interface.h    |    4
       src/jtag/jtag.h         |    2
       src/jtag/swd.h          |  114 +++++++++++++++++++
       src/jtag/tcl.c          |    2
       src/target/adi_v5_swd.c |  281 ++++++++++++++++++++++++++++++++++++++++++++++--
       src/target/arm_adi_v5.c |    8 +
       src/target/arm_adi_v5.h |    3
       9 files changed, 425 insertions(+), 9 deletions(-)
      7cd26173
  3. 23 Dec, 2010 7 commits
  4. 22 Dec, 2010 3 commits
  5. 21 Dec, 2010 1 commit
  6. 20 Dec, 2010 3 commits
  7. 19 Dec, 2010 1 commit
  8. 18 Dec, 2010 3 commits
    • Michael Trensch's avatar
      68396180
    • Øyvind Harboe's avatar
      script: support only Tcl comments · c9544e41
      Øyvind Harboe authored
      
      
      Only Tcl comments are now supported. For classic style
      commands comments were supported at the end of the line.
      
      Move in the direction of letting the script language
      decide syntax, rather than have special rules for some
      commands.
      
      Before this patch goes in, the scripts should be updated
      to use ;# instead of # for end of line comments.
      
      > mdw 0 1 2
      mdw ['phys'] address [count]
        zy1000.cpu mdw address [count]
      Command handler execution failed
      in procedure 'mdw'
      > mdw 0 1 #2
      mdw ['phys'] address [count]
        zy1000.cpu mdw address [count]
      Command handler execution failed
      in procedure 'mdw'
      > mdw 0 1 ;#2
      0x00000000: ffffffff
      > mdw 0 1
      0x00000000: ffffffff
      > mdw 0
      0x00000000: ffffffff
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      c9544e41
    • Antonio Borneo's avatar
      TCL: fix non TCL comments · 30da7c67
      Antonio Borneo authored
      
      
      End of line comments fixed with ';' before '#'.
      Added few additional 'space' to keep indentation in
      multi-line comments.
      Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
      30da7c67
  9. 16 Dec, 2010 2 commits
  10. 15 Dec, 2010 3 commits
  11. 10 Dec, 2010 10 commits
  12. 09 Dec, 2010 1 commit
  13. 08 Dec, 2010 2 commits
  14. 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
  15. 05 Dec, 2010 1 commit