1. 13 Jan, 2011 2 commits
  2. 10 Jan, 2011 1 commit
  3. 09 Jan, 2011 3 commits
  4. 07 Jan, 2011 1 commit
  5. 06 Jan, 2011 4 commits
  6. 05 Jan, 2011 1 commit
  7. 04 Jan, 2011 2 commits
  8. 03 Jan, 2011 2 commits
  9. 02 Jan, 2011 18 commits
  10. 30 Dec, 2010 1 commit
  11. 29 Dec, 2010 4 commits
    • Andrew MacIsaac's avatar
      Compilation Warnings on OS X 10.5 · 50e79d60
      Andrew MacIsaac authored
      I received a number of "-Wshadow" related warnings (treated as errors) while
      trying to build on OS X Leopard.  In addition, there were two miscellaneous
      other warnings in the flash drivers.  Attached are two patches which correct
      these issues and the commit messages to accompany them.
      
      My system has the following configuration (taken from uname -a):
      
      Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
      root:xnu-1228.15.4~1/RELEASE_I386 i386
      
      === Werror_patch.txt Commit Message ===
      compilation: fixes for -Wshadow warnings on OS X
      
      These changes fix -Wshadow compilation warnings on OS X 10.5.8
      
      Compiled with the following configure command:
      
      ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink
      --enable-ft2232_libftdi
      
      === flash_patch.txt Commit Message ===
      compilation: fixes for flash driver warnings on OS X
      
      These changes fix two compilation warnings on OS X 10.5.8:
      
      ../../../../src/flash/nor/at91sam3.c:2767: warning: redundant redeclaration
      of 'at91sam3_flash'
      ../../../../src/flash/nor/at91sam3.c:101: warning: previous declaration of
      'at91sam3_flash' was here
      
      and
      
      ../../../../src/flash/nor/stmsmi.c:205: warning: format not a string literal
      and no format arguments
      
      Compiled with the following configure command:
      
      ../configure --prefix=/usr/local --enable-maintainer-mode --enable-jlink
      --enable-ft2232_libftdi
      ===
      
      Andrew
      50e79d60
    • Øyvind Harboe's avatar
      warning: fix warning where GCC didn't catch a doubly declared global structure · eea91f71
      Øyvind Harboe authored
      
      
      Why hasn't earlier versions of GCC caught this? Bug?
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      eea91f71
    • Øyvind Harboe's avatar
      4f9a9b8e
    • Øyvind Harboe's avatar
      target: do not expose error numbers to users · 8f93c0a3
      Øyvind Harboe authored
      
      
      error numbers are only reported at DEBUG log levels and
      used internally, they are not part of the user interface.
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      8f93c0a3
  12. 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