Skip to content
Snippets Groups Projects
  1. Jun 18, 2009
  2. Jun 16, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 011e9b85
      zwelch authored
      Distributing FTDI's "ftd2xx" library with OpenOCD violates the
      OpenOCD license (GNU GPLv2 with no exceptions).
      
      Make that clear where that build option is presented, and don't
      describe the FTDI libraries as an option for any packager.  (It's
      fine for personal use, of course.)
      
      Plus some related clarifications:  libftdi version 0.16 for the
      new FT2232H chips (for RTCK and high speed USB); the Amontec
      drivers are just ftd2xx variants.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2248 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      011e9b85
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 5f9b74d0
      zwelch authored
      Doc update:  say "jtag newtap ... -disable" records the
      state after exiting the RESET state, matching the only
      implementation we're working with so far (TI ICEpick-C).
      
      Matching code updates.  Now we can be sure that the
      "enabled" flag value is correct after JTAG resets.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      5f9b74d0
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · cc948800
      zwelch authored
      Minor updates to the text about reset configuration:
      
       - Mention a new point that it interacts with JTAG routers;
      
       - Talk about a "user" config file not a "system" one;
      
       - Remove text from the "reset_config" description; instead,
         cross-reference the more extensive text earlier.
         
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      cc948800
  3. Jun 13, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 4f459253
      zwelch authored
      OpenOCD doesn't actually *need* to be keeping all TCP ports
      active ... creating security issues in some network configs.
      
      Instead, let config file specify e.g. "tcl_port 0" (or gdb_port,
      telnet_port) to disable that particular remote access method.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2240 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      4f459253
  4. Jun 12, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 7b65cb36
      zwelch authored
      Move the discussion of the "scan_chain" command up to go with
      the presentation of that topic in the TAP declaration chapter.
      
      This makes the presentation of the TAP and target lists be
      parallel, which will be something of an aid to understanding
      that they are different (and how).
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2223 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      7b65cb36
  5. Jun 11, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 72687f22
      zwelch authored
      Rework the "Simple Configuration Files" chapter so it's more
      of a quick-start "how to set up your project" tutorial:
      
       - Say how to hook up the JTAG adapter.  This will help new
         users, and in any case is worth spelling out somewhere.
      
       - Streamline the previous rather haphazard presentation,
         filling in some missing holes along the way:
      
           * Suggest "project directory" structure
           * Introduce new term, "user config" file (openocd.cfg)
           * Talk about more options for openocd.cfg contents
           * ... and about creating new config files
           * Add new topic, project-specific utilities (+examples)
      
       - Remove too-short, yet duplicative, chapter 19
      
      Nudge packagers a bit more strongly to send patches (including
      config files) upstream.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2204 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      72687f22
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · b3edde7b
      zwelch authored
      Update "arm9tdmi vector_catch" command description to highlight both
      use cases (display configuration, or first change that config) and
      to explain a bit more about what this is:  an alternative to using
      hardware breakpoint resources.
      
      Note that I tried this on an arm920t, but it didn't work.  Set bits,
      then examined them and they weren't set.  And it didn't seem to act
      as if vector triggering was noticed, either.
      
      Also some minor unrelated tweaks:  @ignore some unused or don't-use
      event names; fix a few typos; tweak chip-specific reset descriptions.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2203 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      b3edde7b
  6. Jun 10, 2009
  7. Jun 09, 2009
  8. Jun 08, 2009
  9. Jun 07, 2009
  10. Jun 04, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · de7cb1c7
      zwelch authored
      Update the "General Commands" (a.k.a. "random stuff") chapter,
      and associated chunks of other text:
      
       - Switch to @deffn and review everything that's documented
      
       - Improve descriptions of reset events, with reference to
         the setup.tcl code which issues them.
      
       - Move one zy1000-specific command to that driver's doc.
      
       - There is no "script" command; remove its doc.
      
      NOTE:  Some things missing from this bit of work are:
      
       1- Reviewing the code to catch various *missing* functions,
          mostly from "target.c"
      
       2- Alphabetizing and organizing.  This chapter is a real
          grab-bag with no evident focus or structural principle.
      
       3- Hole-filling and bugfixing with respect to messaging/logging.
          Example, what principle could possibly justify the tcl command
          output going into the server output/log instead of just the
          telnet session?
      
       4- Not just for this chapter ... but there should be a section
          with descriptions of all the supported image file formats,
          so every image command can just reference that section.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2039 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      de7cb1c7
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 99fbbdc9
      zwelch authored
      Convert the Interface/Dongle Config chapter's section
      on drivers to use the @deffn syntax, and integrate the
      presentation of the driver-specific commands with the
      relevant driver.  Alphabetize.
      
      Cross-checked against the code ... several adapters were
      not listed, and a few commands weren't.
      
      (Maintainers for the versaloon and zy1000 drivers would be
      good candidates to add the commands missing from those
      sections...)
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2035 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      99fbbdc9
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · b619b746
      zwelch authored
      Convert the str9xpec driver info to use @deffn; alphabetize;
      add the missing part_id command.
      
      Convert the mflash support to use @deffn; alphabetize.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2034 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      b619b746
  11. Jun 03, 2009
  12. Jun 02, 2009
    • ntfreak's avatar
      - change signature for adi_jtag_dp_scan and adi_jtag_dp_scan_u32 to use... · 7dc29156
      ntfreak authored
      - change signature for adi_jtag_dp_scan and adi_jtag_dp_scan_u32 to use swjdp_common_t *swjdp instead of arm_jtag_t *jtag_info
      - change SWJDP_IR/DR_APACC to DAP_IR/DR_APACC to conform with ARM_ADI docs.
      - add swjdp->memaccess_tck field and code for extra tck clocks before accessing memory bus
      - Set default memaccess value to 8 for Cortex-M3.
      - Add dap memaccess command.
      - document all armv7 dap cmds.
      - Original patch submitted by Magnus Lundin [lundin@mlu.mine.nu].
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2005 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      7dc29156
  13. Jun 01, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 4caa72b9
      zwelch authored
      Remove two sections about deprecated/removed commands, documenting
      them briefly in the chapter on deprecated/removed commands.  The
      "working_area" command just duplicated text; "jtag_device" wasn't
      listed in that chapter before.
      
      Also start de-emphasizing those commands.  Don't index them, and
      include a disclaimer that their documentation may start to vanish
      about a year after the code does (e.g. in January 2010).
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1986 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      4caa72b9
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · ddc9fd72
      zwelch authored
      Uplevel the arch commands to be a chapter; they really
      don't fit in the "general commands" category.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1977 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      ddc9fd72
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 30fca8e5
      zwelch authored
      Fix minor goofage in previous doc updates:
      
       * The ETM dummy driver name is "dummy" not "etm_dummy";
         re-alphabetize.
      
       * DCC trace message mode "charmsg" is a format type
         (and what Linux needs)
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1976 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      30fca8e5
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · a066529f
      zwelch authored
      Various updates, mostly small/formatting changes:
      
       * Small content tweaks:
          - Re-title:  "OpenOCD User's Guide".
          - For users, URLS for latest doc and SparkFun forum
          - Mention GIT-SVN
       * Fix some front-matter goofage, matching texinfo docs:
          - "paragraphintent" location matters
          - put release version/date description with the copyright
       * Fix some other stuff matching texinfo docs:
          - no tabs
          - tweak some refs and anchors
       * whitespace-at-end-o-line fixes
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      a066529f
  14. May 31, 2009
  15. May 30, 2009
    • oharboe's avatar
      added some comments on meminfo command · d12a47d5
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1948 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d12a47d5
    • oharboe's avatar
      more reset_config texts · aea132ca
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1947 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      aea132ca
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 91d55c0e
      zwelch authored
      Provide basic documentation on the ARM ETM and ETB trace commands.
      
      Fix minor goofs in registration of the ETM commands; and whitespace
      issues in the proof-of-concept oocd_trace code.  (Plus include a
      ref to Dominic's email saying that it's just proof-of-concept code.)
      
      Note that I'm still not sure whether the ETM support works.  But
      documenting how it's expected to work should help sort out which
      behaviors are bugs, which will help get bugs patched.
      
      ZW: whitespace changes were split out of this patch but will follow.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1945 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      91d55c0e
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · d00a5cfe
      zwelch authored
      Make it so the magic "reset_config" keywords can be provided in any
      order.  This eliminates needless error paths, and makes it easier
      to define things at the right level (adapter, board, target).
      It also includes two other behavioral changes:
      
        (1)	When "handle_reset_config" sees a parameter error, it
        	exits without changing anything.   This is best viewed
      	as a bugfix.  (Old behavior:  restore defaults, even if
      	they weren't previously active.)
      
        (2)	Only the behaviors that were explicitly specified get
        	changed.  (Old behavior:  everything else gets reset to
      	the "default".)  So for example you can now specify SRST
      	drive requirements without saying anything about the
      	three unrelated topics you previously had to specify.
      
      That second one might cause confusion for any configs that end
      up calling "reset_config" twice, so it will deserve to be called
      out in the release notes.  (There were no such configurations in
      the current OpenOCD source tree.)
      
      Update docs accordingly.  Note that at least some versions of
      the texi-to-html tools can't handle "@xref{with spaces}", but
      those work properly in PDF and in the info files.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1944 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d00a5cfe
  16. May 29, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · 80856c1e
      zwelch authored
      Provide basic documentation for some of the other flash drivers.
      
       avr ... looks incomplete, may work with one AVR8 microcontroller
       ecosflash ... can't find docs
       lpc288x ... an NXP part, driver seems lpc2888-specific
       ocl ... some arm7/arm9 thing, can't find docs
       pic32mx ... looks incomplete, for PIC32MX (MIPS 4K) devices
       tms470 ... for TI TMS470 parts
      
      Still seems to be mostly arm7tdmi... several of these have no
      users in the current tree.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1941 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      80856c1e
  17. May 28, 2009
    • zwelch's avatar
      David Brownell <david-b@pacbell.net>: · ea62c796
      zwelch authored
      Start converting the architecture-specific commands to @deffn format,
      reviewing against the code.
      
        * armv4_5 disassemble ... now documented; although Jazelle code
          is not handled
      
        * It's "armv4_5 core_state" not "core_mode"; although Jazelle state
          is not handled
      
        * arm7/9 "debug" commands ... now with other arm7_9 commands, no
          longer in a separate section
      
        * arm926ejs cp15 ... previous description was broken, it matched
          the code for arm920t instead
      
        * Have separate subsections for ARMv4/ARMv5, ARMv6, and ARMv7; the
          latter are new
          
        * Move core-specific descriptions into sub-subsections under those
          architectures; XScale and ARM11 descriptions are new
      
      The new XScale and ARM11 command descriptions surely need elaboration
      and review.  ARM CP15 operation descriptions in general seem to be
      confused and incomplete.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      ea62c796
Loading