1. 03 Jan, 2011 1 commit
  2. 02 Jan, 2011 18 commits
  3. 30 Dec, 2010 1 commit
  4. 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
      === 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
      ../../../../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
    • Ø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>
    • Øyvind Harboe's avatar
    • Ø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>
  5. 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(-)
  6. 23 Dec, 2010 7 commits
  7. 22 Dec, 2010 3 commits
  8. 21 Dec, 2010 1 commit
  9. 20 Dec, 2010 3 commits
  10. 19 Dec, 2010 1 commit