1. 30 Jan, 2012 1 commit
  2. 15 Jan, 2012 2 commits
  3. 12 Jan, 2012 1 commit
  4. 04 Jan, 2012 3 commits
    • Mathias K's avatar
      Change return value on error. · 16b6b5e7
      Mathias K authored
      
      
      On wrong parameters a error is signalized to the calling function.
      
      Change-Id: I484443fdb39938e20382edc9246d5ec546a5c960
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/282
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      16b6b5e7
    • Øyvind Harboe's avatar
      retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR · 4668bd26
      Øyvind Harboe authored
      
      
      Change-Id: I6dee51e1fab1944085391f274a343cdb9014c7a4
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/300
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      4668bd26
    • Mathias K's avatar
      command: print BUG warning when usage is missing · 54d6330b
      Mathias K authored
      
      
      These error messages will prompt patches to be submitted for missing
      .usage or empty fields. All of the below must be resolved before next
      release.
      
      The Jim defined commands are excluded from this checklist because the
      help text can be set later than during command registration.
      
      strlen(.usage) == 0 means that the command expects no arguments.
      
      Updates to this patch in Gerrit to fix problems below are most
      welcome. Anyone can push updated versions of a patch to Gerrit. If
      there are no further updates to this patch within a week, it will be
      pushed to the master branch to prompt more fixes.
      
      These were caught by launching OpenOCD.
      
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      ^C
      oyvind@fierce:~/openocd$ openocd -c "interface dummy" -f board/at91eb40a.cfg 2>&1 | grep -w BUG
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      
      Change-Id: I2c3e529530a15d2295a1950ffc59e8f2fc661012
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Reviewed-on: http://openocd.zylin.com/299
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      54d6330b
  5. 03 Jan, 2012 1 commit
  6. 29 Nov, 2011 1 commit
  7. 23 Nov, 2011 1 commit
  8. 31 Oct, 2011 1 commit
  9. 27 Oct, 2011 1 commit
  10. 23 Oct, 2011 1 commit
  11. 13 Oct, 2011 2 commits
  12. 08 Oct, 2011 1 commit
  13. 30 Aug, 2011 1 commit
  14. 12 Aug, 2011 1 commit
  15. 09 Aug, 2011 1 commit
  16. 28 Jun, 2011 1 commit
    • Øyvind Harboe's avatar
      dsp5680xx: disable for now, it generates warnings · d567df02
      Øyvind Harboe authored
      Use "git revert <commit>" to revert this commit, then build and
      repair and post patch to the mailing list.
      
      Warnings generated with:
      
      nios2-elf-gcc (GCC) 3.4.6 (Altera Nios II 9.1 b222)
      
      openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data':
      openocd/src/target/dsp5680xx.c:252: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data':
      openocd/src/target/dsp5680xx.c:268: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store':
      openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned
      pointer will break strict-aliasing rules
      openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read':
      openocd/src/target/dsp5680xx.c:736: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c:737: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8':
      openocd/src/target/dsp5680xx.c:823: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write':
      openocd/src/target/dsp5680xx.c:938: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c:941: warning: cast increases required
      alignment of target type
      openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr':
      openocd/src/target/dsp5680xx.c:1355: warning: cast increases required
      alignment of target type
      d567df02
  17. 18 May, 2011 1 commit
  18. 28 Apr, 2011 1 commit
  19. 15 Apr, 2011 1 commit
    • Broadcom Corporation (Evan Hunter)'s avatar
      RTOS Thread awareness support wip · b6911966
      Broadcom Corporation (Evan Hunter) authored
      - works on Cortex-M3 with ThreadX and FreeRTOS
      
      Compared to original patch a few nits were fixed:
      
      - remove stricmp usage
      - unsigned compare fix
      - printf formatting fixes
      - fixed a bug with overrunning a memory buffer allocated with malloc.
      b6911966
  20. 01 Apr, 2011 1 commit
  21. 31 Mar, 2011 1 commit
  22. 22 Mar, 2011 1 commit
  23. 17 Mar, 2011 2 commits
  24. 03 Feb, 2011 1 commit
    • Mathias K's avatar
      24bit buffer support · b0bdc4e2
      Mathias K authored
      Hello,
      
      this patch add 24bit support to the target buffer functions and little/big endian functions.
      
      Regards,
      
      Mathias
      b0bdc4e2
  25. 31 Jan, 2011 2 commits
  26. 04 Jan, 2011 1 commit
  27. 29 Dec, 2010 2 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
      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
  28. 01 Dec, 2010 1 commit
  29. 22 Nov, 2010 1 commit
  30. 04 Nov, 2010 1 commit
    • ddraskovic's avatar
      arm964e: Add support for ARM946E target. · 9e3d43cf
      ddraskovic authored
      So far most of the people have been using existing ARM966E in the
      place of ARM946E, because they have practically the same scan chains.
      
      However, ARM946E has caches, which further complicates JATG handling
      via scan-chain. this was preventing single-stepping for ARM946E when
      SW breakpoints are used.
      
      This patch thus introduces :
      1) Correct cache handling on memory write
      2) Possibility to flush whole cache and turn it off during debug, or
      just to flush affected lines (faster and better)
      3) Correct SW breakpoint handling and correct single-stepping
      4) Corrects the bug on CP15 read and write, so CP15 values
      are now correctly R/W
      9e3d43cf
  31. 29 Oct, 2010 1 commit
  32. 12 Oct, 2010 2 commits