Skip to content
Snippets Groups Projects
  1. Oct 22, 2009
    • David Brownell's avatar
      ETM: rename registers, doc tweaks · 344bed2f
      David Brownell authored
      
      The register names are perversely not documented as zero-indexed,
      so rename them to match that convention.  Also switch to lowercase
      suffixes and infix numbering, matching ETB and EmbeddedICE usage.
      
      Update docs to be a bit more accurate, especially regarding what
      the "trigger" event can cause; and to split the issues into a few
      more paragraphs, for clarity.
      
      Make "configure" helptext point out that "oocd_trace" is prototype
      hardware, not anything "real".
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      344bed2f
  2. Oct 20, 2009
    • Redirect 'Slash' NIL's avatar
      MinGW: always use "-D__USE_MINGW_ANSI_STDIO" · fb61f527
      Redirect 'Slash' NIL authored
      This is unfortunately needed to make stdio work like OpenOCD expects -- matching
      the ANSI-C standard, instead of MS-Windows.
      
      I tested it in both MinGW-W64 on Vista 64 and MinGW-W32 on XP, and I don't
      see any adverse effects to enabling it for all MinGW versions.
      fb61f527
  3. Oct 16, 2009
    • David Brownell's avatar
      xscale: better fix for debug_handler.bin · cb7965da
      David Brownell authored
      
      Generate a C struct with the data, and use that, instead of an
      assembly language file.  The assembly language causes issues on
      Darwin and MS-Windows, which don't necessarily use GNU AS; or
      if they do, don't necessarily use its ELF syntax.
      
      It's also better in two other ways:  fewer global symbols; and
      the init-time size check gets optimized away at compile time.
      (Unless it fails, in which case bigger chunks of the file vanish.)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      cb7965da
  4. 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
  5. Oct 07, 2009
    • dbrownell's avatar
      Change version labels to work better with GIT · b1f7b359
      dbrownell authored
       - The guess-rev.sh script is now a tweaked version of "setlocalversion" as
         seen in Linux, U-Boot, and various other projects.  When it finds source
         control support (git, hg, svn) it uses IDs from there.  Else (specific
         to this project) it reports itself as "-snapshot", e.g. from gitweb.
      
         I verified this new "guess-rev.sh" script runs under Cygwin.
      
       - Also update the generic version strings to be like "0.3.0-dev" (during
         development) instead of the very long "0.3.0-in-development".  These also
         show up in the PDF docs.  For better tracking, we might eventually change
         these strings to include the version IDs too.
      
       - Change the startup banner version strings so they include the guess-rev
         output.  Development and release versions with GIT will be like
      
          Open On-Chip Debugger 0.3.0-dev-00282-g7191a4f-dirty (2009-10-05-20:57) 
          Open On-Chip Debugger 0.3.0 (2009-10-05-20:57) 
      
         instead of the previous SVN-specific (even when using git-svn!)
      
          Open On-Chip Debugger 0.3.0-in-development (2009-10-05-01:39) svn:exported
          Open On-Chip Debugger 0.3.0 (2009-10-05-01:39) Release
      
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2809 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      b1f7b359
  6. Aug 20, 2009
  7. Aug 18, 2009
    • ntfreak's avatar
      Jonas Horberg [jhorberg@sauer-danfoss.com] · a634b5d5
      ntfreak authored
      https://lists.berlios.de/pipermail/openocd-development/2009-August/009939.html
      
      1. It can only be built with the FTD2XX driver. libftdi supports FT2232H/FT4232H 
      since version 0.16 
      
      2. A speed value of 0 is used as a RTCK request indicator. This clashes with the 
      valid clock division value 0 that provide the highest fixed clock frequency. 
      
      3. The ft2232_speed_div function return the maximum selectable frequency (30MHz) 
      when RTCK is activated. It should return 0. 
      
      4. The ft2232_khz function return ERROR_OK when RTCK is requested even for 
      devices lacking RTCK support. It should return ERROR_FAIL so the upper driver layers 
      can detect this and try to fallback to a fixed frequency. 
      
      5. FT2232H/FT4232H have a backward compatibility function that divide the clock 
      by 5 to get the same frequency range as FT2232D. There is no code that disable 
      this functionality. I can not find anything about if this is enabled or disabled by default. 
      I think it is safest to actively disable it. 
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      a634b5d5
  8. Jul 31, 2009
  9. Jul 16, 2009
  10. Jul 14, 2009
  11. Jul 06, 2009
  12. Jul 02, 2009
  13. Jun 30, 2009
  14. Jun 24, 2009
  15. Jun 20, 2009
  16. Jun 17, 2009
  17. Jun 09, 2009
  18. Jun 08, 2009
    • oharboe's avatar
      update zy1000 to latest minidriver work · 3245a0cd
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2132 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      3245a0cd
    • oharboe's avatar
      Zach Welch wrote a fix for configure problems under Cygwin. · 76d9c3d5
      oharboe authored
      ltmain.sh is added to svn ignore
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2131 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      76d9c3d5
    • zwelch's avatar
      Adjust whitespace in configure script: use two spaces for indent. · a221892f
      zwelch authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2106 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      a221892f
    • zwelch's avatar
      Reorder configure script macros: · 5ee0379b
      zwelch authored
      - Check for a compiler before looking for libraries or header files.
      - Initialize automake before calling other AM_ macros.
      - Disable libtool shared libraries by default.
      - Remove checks for unused C++, Fortran, and Java compilers.
      - Remove redundant AC_CANONICAL_HOST; called by AC_PROG_LIBTOOL.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2105 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      5ee0379b
    • zwelch's avatar
      Rework parallel port configure script option handling: · 35f7c4e4
      zwelch authored
      - Move AC_ARG_ENABLE for secondary parallel port options:
        - These macros cause their configure options to appear unconditionally,
          so they should not be placed inside conditional logic.
        - Groups them with primary parallel port driver option.
      - Update these options to show '-' instead of '_'; both still work.
      - Update command help text to show host architecture/OS requirements.
      - Display a warning when these options have been provided and the
        configure script will ignore the setting that the user specified.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2104 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      35f7c4e4
    • zwelch's avatar
      Finish off the dummy minidriver integration: · f84c78a2
      zwelch authored
      - Try to disambiguates minidriver options from "standard" driver options.
        - Make minidummy symbols more explict about being a minidriver.
        - Move minidummy.c into minidummy directory to put it with its header.
      
      In configure.in:
      - Improve configuration option to allow new minidriver implementations:
        - Change option from --enable-minidummy to --enable-minidriver-dummy.
        - Move it to the end of the list of options.
        - Provides a clear pattern for future minidrivers.
      - Update handling of HAVE_JTAG_MINIDRIVER_H:
        - Check for external jtag_minidriver.h only with --enable-ecosboard.
        - Otherwise, define it when --enable-minidriver-dummy is provided.
      - Add check to ensure only one minidriver is enabled.
      - When a minidriver is enabled, warn user that standard drivers are not built.
      - Use proper AC_DEFINE semantics with MINIDRIVER_DUMMY.
      
      In src/jtag/Makefile.am:
      - Restructure handling of minidummy source files.
      - Include minidummy driver header in the distribution.
      
      In src/jtag/jtag.c:
      - Restructure preprocessor logic to include:
        - only one minidriver, or
        - all configured standard drivers.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2102 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      f84c78a2
  19. Jun 07, 2009
  20. Jun 03, 2009
  21. Jun 02, 2009
  22. May 27, 2009
    • zwelch's avatar
      Move TCL script files -- Step 1 of 2: · 140d6c8e
      zwelch authored
      - Move src/target/{interface,target,board,test}/ into src/tcl/
      - Remove existing rules in src/Makefile.am and src/target/Makefile.am.
      - Add Makefile.am handling of *.cfg and *.tcl files in top Makefile.am:
        - Add dist-hook to include such files under src/tcl in the distribution.
        - Add install-data-hook to install contents of '$(top_srcdir)/src/tcl/'.
        - Add uninstall-hook to remove the installed script files.
      - Change paths to (un)install script files in '$(pkgdatadir)/scripts'.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1918 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      140d6c8e
  23. May 13, 2009
  24. May 12, 2009
  25. May 11, 2009
Loading